[GAS][ARM]Positively emit symbols for alignment. --> [PATCH][LD][ARM] Fix two test case failures.

Renlin Li renlin.li@arm.com
Wed Apr 29 09:21:00 GMT 2015


Hi Hans-Peter,

Thank you for your report! I have attached the patch to fix the test cases.

Previously, the padding bytes are treated as instruction, because data 
mapping symbols are missing. With the new patch, data mapping symbols 
are emitted, the bytes thereafter are correctly interpreted as data.

Okay to commit?

Regards,
Renlin Li

ld/testsuite/ChangeLog:

2015-04-29  Renlin Li  <renlin.li@arm.com>

     * ld-arm/ifunc-10.dd: Adjust expected output.
     * ld-arm/ifunc-2.dd: Likewise.

On 28/04/15 22:07, Hans-Peter Nilsson wrote:
> Maybe you refer to some other target (which one?) than
> arm-unknown-eabi, because for arm-unknown-eabi, this patch
> caused failures in the ld testsuite:
>
> Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/arm-elf.exp ...
> FAIL: IFUNC test 2
> FAIL: IFUNC test 10
>
> I'm guessing you just need to adjust the
> expected-result-templates for the "mapping symbols".
>
> brgds, H-P
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.diff
Type: text/x-patch
Size: 1017 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150429/89f0ec55/attachment.bin>


More information about the Binutils mailing list