diff options
author | Alan Modra <amodra@gmail.com> | 2012-10-08 00:22:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-10-08 00:22:45 +0000 |
commit | c19a88911857f32df0d0646702b1eab66b31d301 (patch) | |
tree | cdda5ac1195ba6ae22f2ace95fafa5996bc188a2 | |
parent | c1d02113e841d384d1ad1c7cee1bae6c12da33f6 (diff) | |
download | gdb-c19a88911857f32df0d0646702b1eab66b31d301.zip gdb-c19a88911857f32df0d0646702b1eab66b31d301.tar.gz gdb-c19a88911857f32df0d0646702b1eab66b31d301.tar.bz2 |
* ld-scripts/sane1.d: Sort output from nm. Allow for other symbols in
output.
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/sane1.d | 63 |
2 files changed, 49 insertions, 19 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 193c6ee..8e82961 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-10-08 Joe Seymour <jseymour@codesourcery.com> + + * ld-scripts/sane1.d: Sort output from nm. Allow for other symbols in + output. + 2012-09-19 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> * ld-aarch64/emit-relocs-309-low.d: Replace symbol with regexp. diff --git a/ld/testsuite/ld-scripts/sane1.d b/ld/testsuite/ld-scripts/sane1.d index 26abaf3..d11a210 100644 --- a/ld/testsuite/ld-scripts/sane1.d +++ b/ld/testsuite/ld-scripts/sane1.d @@ -1,33 +1,58 @@ # source: data.s # ld: -T sane1.t -# nm: -B +# nm: -B -n # notarget: mmix-* pdp11-* rs6000-*-aix* tic30-*-aout # mmix symbol sections are wrong, pdp sign extends 16-bit addresses # rs6000-aix and tic30 don't like empty .text #... -0+8004 D d1 -0+8024 D d2 +0+0004 A s5 +#... +0+0004 A x5 +#... 0+0020 A diff -0+0100 A e1 +#... +0+0020 A sum_neg +#... +0+0028 A sum +#... 0+0080 A e2 -0+8000 A e3 +#... 0+0090 A prod -0+8002 D s1 +#... +0+0100 A e1 +#... +0+19a0 A s6 +#... +0+19a0 A x6 +#... +0+8000 A e3 +#... 0+8001 D s2 -0+8007 D s3 +#... +0+8001 D x2 +#... +0+8002 D s1 +#... 0+8002 A s4 -0+0004 A s5 -0+19a0 A s6 -0+8020 D s_diff -0+8090 D s_prod -0+8028 D s_sum -0+8020 D s_sum_neg -0+0028 A sum -0+0020 A sum_neg +#... 0+8002 D x1 -0+8001 D x2 -0+8007 D x3 +#... 0+8002 A x4 -0+0004 A x5 -0+19a0 A x6 +#... +0+8004 D d1 +#... +0+8007 D s3 +#... +0+8007 D x3 +#... +0+8020 D s_diff +#... +0+8020 D s_sum_neg +#... +0+8024 D d2 +#... +0+8028 D s_sum +#... +0+8090 D s_prod +#... |