aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/ifunc-3.dd
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2011-06-02 15:32:10 +0000
committerNathan Sidwell <nathan@codesourcery.com>2011-06-02 15:32:10 +0000
commit26d97720ed597caf769e6f16e6e7c1f8e385f9c7 (patch)
treea0fa857d90a09736000ec903f888b1d3512e499d /ld/testsuite/ld-arm/ifunc-3.dd
parent65fdb766be229fb9c080ae93cb8277516c640908 (diff)
downloadgdb-26d97720ed597caf769e6f16e6e7c1f8e385f9c7.zip
gdb-26d97720ed597caf769e6f16e6e7c1f8e385f9c7.tar.gz
gdb-26d97720ed597caf769e6f16e6e7c1f8e385f9c7.tar.bz2
gas/
* config/tc-arm.c (parse_address_main): Handle -0 offsets. (encode_arm_addr_mode_2): Set default sign of zero here ... (encode_arm_addr_mode_3): ... and here. (encode_arm_cp_address): ... and here. (md_apply_fix): Use default sign of zero here. gas/testsuite/ * gas/arm/inst.d: Adjust for signed zero offsets. * gas/arm/ldst-offset0.d: New test. * gas/arm/ldst-offset0.s: New test. * gas/arm/offset-1.d: New test. * gas/arm/offset-1.s: New test. ld/testsuite/ Adjust tests for zero offset formatting. * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust. * ld-arm/farcall-arm-arm-pic-veneer.d: Adjust. * ld-arm/farcall-arm-thumb.d: Adjust. * ld-arm/farcall-group-size2.d: Adjust. * ld-arm/farcall-group.d: Adjust. * ld-arm/farcall-mix.d: Adjust. * ld-arm/farcall-mix2.d: Adjust. * ld-arm/farcall-mixed-lib-v4t.d: Adjust. * ld-arm/farcall-mixed-lib.d: Adjust. * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Adjust. * ld-arm/farcall-thumb-arm-pic-veneer.d: Adjust. * ld-arm/farcall-thumb-thumb.d: Adjust. * ld-arm/ifunc-10.dd: Adjust. * ld-arm/ifunc-3.dd: Adjust. * ld-arm/ifunc-4.dd: Adjust. * ld-arm/ifunc-5.dd: Adjust. * ld-arm/ifunc-6.dd: Adjust. * ld-arm/ifunc-7.dd: Adjust. * ld-arm/ifunc-8.dd: Adjust. * ld-arm/jump-reloc-veneers-long.d: Adjust. * ld-arm/tls-longplt-lib.d: Adjust. * ld-arm/tls-thumb1.d: Adjust. opcodes/ * arm-dis.c (print_insn_coprocessor): Explicitly print #-0 as address offset. (print_arm_address): Likewise. Elide positive #0 appropriately. (print_insn_arm): Likewise.
Diffstat (limited to 'ld/testsuite/ld-arm/ifunc-3.dd')
-rw-r--r--ld/testsuite/ld-arm/ifunc-3.dd20
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/testsuite/ld-arm/ifunc-3.dd b/ld/testsuite/ld-arm/ifunc-3.dd
index 1a4f52c..824d516 100644
--- a/ld/testsuite/ld-arm/ifunc-3.dd
+++ b/ld/testsuite/ld-arm/ifunc-3.dd
@@ -58,8 +58,8 @@ Disassembly of section \.text:
0000a010 <arm>:
a010: eb0017fa bl 10000 <foo>
- a014: e59f4000 ldr r4, \[pc, #0\] ; a01c <arm\+0xc>
- a018: e59f4000 ldr r4, \[pc, #0\] ; a020 <arm\+0x10>
+ a014: e59f4000 ldr r4, \[pc\] ; a01c <arm\+0xc>
+ a018: e59f4000 ldr r4, \[pc\] ; a020 <arm\+0x10>
#------------------------------------------------------------------------------
#------ .got offset for foo
#------------------------------------------------------------------------------
@@ -72,8 +72,8 @@ Disassembly of section \.text:
#------ f1's .iplt entry
#------------------------------------------------------------------------------
a024: ebfffbfd bl 9020 <f1-0xfe0>
- a028: e59f4000 ldr r4, \[pc, #0\] ; a030 <arm\+0x20>
- a02c: e59f4000 ldr r4, \[pc, #0\] ; a034 <arm\+0x24>
+ a028: e59f4000 ldr r4, \[pc\] ; a030 <arm\+0x20>
+ a02c: e59f4000 ldr r4, \[pc\] ; a034 <arm\+0x24>
#------------------------------------------------------------------------------
#------ GP-relative offset of f1's .igot.plt entry
#------------------------------------------------------------------------------
@@ -86,8 +86,8 @@ Disassembly of section \.text:
#------ f2's .plt entry
#------------------------------------------------------------------------------
a038: ebfffbf5 bl 9014 <f1-0xfec>
- a03c: e59f4000 ldr r4, \[pc, #0\] ; a044 <arm\+0x34>
- a040: e59f4000 ldr r4, \[pc, #0\] ; a048 <arm\+0x38>
+ a03c: e59f4000 ldr r4, \[pc\] ; a044 <arm\+0x34>
+ a040: e59f4000 ldr r4, \[pc\] ; a048 <arm\+0x38>
#------------------------------------------------------------------------------
#------ .got offset for f2
#------------------------------------------------------------------------------
@@ -100,8 +100,8 @@ Disassembly of section \.text:
#------ f3's .iplt entry
#------------------------------------------------------------------------------
a04c: ebfffbf6 bl 902c <f1-0xfd4>
- a050: e59f4000 ldr r4, \[pc, #0\] ; a058 <arm\+0x48>
- a054: e59f4000 ldr r4, \[pc, #0\] ; a05c <arm\+0x4c>
+ a050: e59f4000 ldr r4, \[pc\] ; a058 <arm\+0x48>
+ a054: e59f4000 ldr r4, \[pc\] ; a05c <arm\+0x4c>
#------------------------------------------------------------------------------
#------ GP-relative offset of f3's .igot.plt entry
#------------------------------------------------------------------------------
@@ -114,8 +114,8 @@ Disassembly of section \.text:
#------ f4's .iplt entry
#------------------------------------------------------------------------------
a060: ebfffbf4 bl 9038 <f1-0xfc8>
- a064: e59f4000 ldr r4, \[pc, #0\] ; a06c <arm\+0x5c>
- a068: e59f4000 ldr r4, \[pc, #0\] ; a070 <arm\+0x60>
+ a064: e59f4000 ldr r4, \[pc\] ; a06c <arm\+0x5c>
+ a068: e59f4000 ldr r4, \[pc\] ; a070 <arm\+0x60>
#------------------------------------------------------------------------------
#------ .got offset for f4
#------------------------------------------------------------------------------