• Jiaxun Yang's avatar
    [builtins][MIPS]: Workaround gas auto-align issue · 72a6e594
    Jiaxun Yang authored
    GAS have a auto-align function which will align all the directive
    data into it's nature boundary. And we're using .octa to present
    data in embedded.S, which will be auto-aligned into 128-bit boundary.
    It can break relatve offset in generated binary.
    So we workaround it by forcing generate .long DataDirective on MIPS.
    
    Also I rewoked WriteByteChunk so it can accept any kind of directive
    now. Further more, implementation of HexLiteral is indentical on
    generic, aix and mac so I merged them into base.
    
    Bug: v8:10420
    Change-Id: I0ff791412360769510735659f909524c5f96d3e0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2153187Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67198}
    72a6e594
AUTHORS 7.64 KB