diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-03-19 14:43:09 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2010-03-19 14:43:09 +0000 |
commit | 0f020cefaaafef23c09c563bb2f39794117a9748 (patch) | |
tree | f3488d22934956e74e7773f0ac90033d4b4a6aed /gas/testsuite | |
parent | 860deac3a2e14413139a4b06baca3caa8449e64b (diff) | |
download | gdb-0f020cefaaafef23c09c563bb2f39794117a9748.zip gdb-0f020cefaaafef23c09c563bb2f39794117a9748.tar.gz gdb-0f020cefaaafef23c09c563bb2f39794117a9748.tar.bz2 |
* config/tc-arm.c (make_mapping_symbol): Hanle the case
that two mapping symbols have the same value.
testsuite/
* gas/arm/mapmisc.s: Add the test case for two mapping
symbols having the same value.
* gas/arm/mapmisc.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/mapmisc.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/mapmisc.s | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 86d14dc..bf25c72 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-03-19 Jie Zhang <jie@codesourcery.com> + + * gas/arm/mapmisc.s: Add the test case for two mapping + symbols having the same value. + * gas/arm/mapmisc.d: Likewise. + 2010-03-18 Wei Guozhi <carrot@google.com> PR gas/11323 diff --git a/gas/testsuite/gas/arm/mapmisc.d b/gas/testsuite/gas/arm/mapmisc.d index 5117021..c130b65 100644 --- a/gas/testsuite/gas/arm/mapmisc.d +++ b/gas/testsuite/gas/arm/mapmisc.d @@ -46,6 +46,7 @@ SYMBOL TABLE: 0+9c l .text 00000000 \$a 0+a0 l .text 00000000 \$d 0+a4 l .text 00000000 \$a +0+a8 l .text 00000000 \$a 0+00 l d .ARM.attributes 00000000 .ARM.attributes @@ -93,3 +94,4 @@ Disassembly of section .text: 9c: e1a00000 nop ; \(mov r0, r0\) a0: 7778797a .word 0x7778797a a4: e1a00000 nop ; \(mov r0, r0\) + a8: e1a00000 nop ; \(mov r0, r0\) diff --git a/gas/testsuite/gas/arm/mapmisc.s b/gas/testsuite/gas/arm/mapmisc.s index 25d9a73..4749e8d 100644 --- a/gas/testsuite/gas/arm/mapmisc.s +++ b/gas/testsuite/gas/arm/mapmisc.s @@ -34,3 +34,5 @@ foo: nop .incbin "mapmisc.dat" nop + .fill 0, 0, 0 + nop |