[PATCH][Binutils][AArch64] Fix objdump tests

Tamar Christina Tamar.Christina@arm.com
Thu Sep 19 09:39:00 GMT 2019


CC'in Phil, not sure if I can commit these to the branch as obvious.

> -----Original Message-----
> From: binutils-owner@sourceware.org <binutils-owner@sourceware.org>
> On Behalf Of Tamar Christina
> Sent: Tuesday, September 17, 2019 18:42
> To: binutils@sourceware.org
> Cc: nd <nd@arm.com>; Richard Earnshaw <Richard.Earnshaw@arm.com>;
> Marcus Shawcroft <Marcus.Shawcroft@arm.com>
> Subject: [PATCH][Binutils][AArch64] Fix objdump tests
> 
> Hi All,
> 
> The newly added objdump -S tests check for source line mapping of a static
> variable.  But the test doesn't dump any data sections so this should never
> pass.
> 
> This changes the test to dump all sections so the source mapping can be
> found.
> 
> build on native hardware and regtested on
>   aarch64-none-elf, aarch64-none-elf (32 bit host),
>   aarch64-none-linux-gnu, aarch64-none-linux-gnu (32 bit host)
> 
> Cross-compiled and regtested on
>   aarch64-none-linux-gnu, aarch64_be-none-linux-gnu
> 
> and no issues.
> 
> Committed to master under the obvious rule.
> 
> Is this OK for backport to binutils-2.33?
> 
> Thanks,
> Tamar
> 
> binutils/ChangeLog:
> 
> 2019-09-17  Tamar Christina  <tamar.christina@arm.com>
> 
> 	* testsuite/binutils-all/objdump.exp: Update testcase.
> 
> --


More information about the Binutils mailing list