[AArch64][4/4] Define TC_ADDRESS_BYTES for GAS

Jiong Wang jiong.wang@foss.arm.com
Mon Dec 5 17:53:00 GMT 2016


Address bytes should be 4 under ILP32, otherwise ".dc.a" will generate 64bit
relocation.

The default address_per_bytes is define in cpu-aarch64.c, current it's 8 for
both LP64 and ILP32, whether we should change it to 4 as well as word_per_bytes
looks to me is another issue we need to investigate.

gas/
2016-12-05  Jiong Wang<jiong.wang@arm.com>

         * config/tc-aarch64.h (TC_ADDRESS_BYTES): New define.
         (aarch64_address_bytes): New declaration.
         * config/tc-aarch64.c (aarch64_address_bytes): New function.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-diff
Size: 964 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161205/3784bee6/attachment.bin>


More information about the Binutils mailing list