This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Commit: AArch64: Fix failure of binutils/readelf.ss test
- From: Jiong Wang <jiong dot wang at arm dot com>
- To: Nick Clifton <nickc at redhat dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 02 Apr 2015 15:33:41 +0100
- Subject: Re: Commit: AArch64: Fix failure of binutils/readelf.ss test
- Authentication-results: sourceware.org; auth=none
- References: <874moy7ggo dot fsf at redhat dot com>
On 02/04/15 15:27, Nick Clifton wrote:
Hi Guys,
I am applying the patch below to fix a failure of the binutils
readelf.ss test for the AArch64 target. The location of the $d
mapping symbol has changed with recent patches to the aarch64
assembler.
Nick,
I Noticed that also. but I think Renlin's patch you just approved
have fixed this.
https://sourceware.org/ml/binutils/2015-04/msg00054.html
Cheers
Nick
binutils/testsuite/ChangeLog
2015-04-02 Nick Clifton <nickc@redhat.com>
* binutils-all/readelf.ss-64: Move possible location of the $d
mapping symbol.
diff --git a/binutils/testsuite/binutils-all/readelf.ss-64 b/binutils/testsuite/binutils-all/readelf.ss-64
index 4372591..b67bfda 100644
--- a/binutils/testsuite/binutils-all/readelf.ss-64
+++ b/binutils/testsuite/binutils-all/readelf.ss-64
@@ -9,6 +9,8 @@ Symbol table '.symtab' contains .* entries:
# aarch64-elf targets add the $d mapping symbol here...
#...
+.: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +3 static_data_symbol
+# ... or here ...
+#...
.* +.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 text_symbol
+.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol
+.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +3 data_symbol