diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2011-06-02 15:32:10 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2011-06-02 15:32:10 +0000 |
commit | 26d97720ed597caf769e6f16e6e7c1f8e385f9c7 (patch) | |
tree | a0fa857d90a09736000ec903f888b1d3512e499d /ld/testsuite/ld-arm/ifunc-4.dd | |
parent | 65fdb766be229fb9c080ae93cb8277516c640908 (diff) | |
download | gdb-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-4.dd')
-rw-r--r-- | ld/testsuite/ld-arm/ifunc-4.dd | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/ld/testsuite/ld-arm/ifunc-4.dd b/ld/testsuite/ld-arm/ifunc-4.dd index f000835..afac397 100644 --- a/ld/testsuite/ld-arm/ifunc-4.dd +++ b/ld/testsuite/ld-arm/ifunc-4.dd @@ -324,8 +324,8 @@ Disassembly of section \.text: a050: eb0017ea bl 10000 <foo> a054: ea0017e9 b 10000 <foo> a058: 0a0017e8 beq 10000 <foo> - a05c: e59f4000 ldr r4, \[pc, #0\] ; a064 <arm\+0x14> - a060: e59f4000 ldr r4, \[pc, #0\] ; a068 <arm\+0x18> + a05c: e59f4000 ldr r4, \[pc\] ; a064 <arm\+0x14> + a060: e59f4000 ldr r4, \[pc\] ; a068 <arm\+0x18> #------------------------------------------------------------------------------ #------ .got offset for foo #------------------------------------------------------------------------------ @@ -346,8 +346,8 @@ Disassembly of section \.text: #------ aaf1's .iplt entry #------------------------------------------------------------------------------ a074: 0afffbfc beq 906c <aaf1-0xf94> - a078: e59f4000 ldr r4, \[pc, #0\] ; a080 <arm\+0x30> - a07c: e59f4000 ldr r4, \[pc, #0\] ; a084 <arm\+0x34> + a078: e59f4000 ldr r4, \[pc\] ; a080 <arm\+0x30> + a07c: e59f4000 ldr r4, \[pc\] ; a084 <arm\+0x34> #------------------------------------------------------------------------------ #------ GP-relative offset of aaf1's .igot.plt entry #------------------------------------------------------------------------------ @@ -368,8 +368,8 @@ Disassembly of section \.text: #------ taf1's .iplt entry #------------------------------------------------------------------------------ a090: 0afffc00 beq 9098 <aaf1-0xf68> - a094: e59f4000 ldr r4, \[pc, #0\] ; a09c <arm\+0x4c> - a098: e59f4000 ldr r4, \[pc, #0\] ; a0a0 <arm\+0x50> + a094: e59f4000 ldr r4, \[pc\] ; a09c <arm\+0x4c> + a098: e59f4000 ldr r4, \[pc\] ; a0a0 <arm\+0x50> #------------------------------------------------------------------------------ #------ GP-relative offset of taf1's .igot.plt entry #------------------------------------------------------------------------------ @@ -390,8 +390,8 @@ Disassembly of section \.text: #------ abf1's .iplt entry #------------------------------------------------------------------------------ a0ac: 0afffbf6 beq 908c <aaf1-0xf74> - a0b0: e59f4000 ldr r4, \[pc, #0\] ; a0b8 <arm\+0x68> - a0b4: e59f4000 ldr r4, \[pc, #0\] ; a0bc <arm\+0x6c> + a0b0: e59f4000 ldr r4, \[pc\] ; a0b8 <arm\+0x68> + a0b4: e59f4000 ldr r4, \[pc\] ; a0bc <arm\+0x6c> #------------------------------------------------------------------------------ #------ GP-relative offset of abf1's .igot.plt entry #------------------------------------------------------------------------------ @@ -412,8 +412,8 @@ Disassembly of section \.text: #------ tbf1's .iplt entry #------------------------------------------------------------------------------ a0c8: 0afffbfa beq 90b8 <aaf1-0xf48> - a0cc: e59f4000 ldr r4, \[pc, #0\] ; a0d4 <arm\+0x84> - a0d0: e59f4000 ldr r4, \[pc, #0\] ; a0d8 <arm\+0x88> + a0cc: e59f4000 ldr r4, \[pc\] ; a0d4 <arm\+0x84> + a0d0: e59f4000 ldr r4, \[pc\] ; a0d8 <arm\+0x88> #------------------------------------------------------------------------------ #------ GP-relative offset of tbf1's .igot.plt entry #------------------------------------------------------------------------------ @@ -434,8 +434,8 @@ Disassembly of section \.text: #------ aaf2's .plt entry #------------------------------------------------------------------------------ a0e4: 0afffbd9 beq 9050 <aaf1-0xfb0> - a0e8: e59f4000 ldr r4, \[pc, #0\] ; a0f0 <arm\+0xa0> - a0ec: e59f4000 ldr r4, \[pc, #0\] ; a0f4 <arm\+0xa4> + a0e8: e59f4000 ldr r4, \[pc\] ; a0f0 <arm\+0xa0> + a0ec: e59f4000 ldr r4, \[pc\] ; a0f4 <arm\+0xa4> #------------------------------------------------------------------------------ #------ .got offset for aaf2 #------------------------------------------------------------------------------ @@ -456,8 +456,8 @@ Disassembly of section \.text: #------ taf2's .plt entry #------------------------------------------------------------------------------ a100: 0afffbcf beq 9044 <aaf1-0xfbc> - a104: e59f4000 ldr r4, \[pc, #0\] ; a10c <arm\+0xbc> - a108: e59f4000 ldr r4, \[pc, #0\] ; a110 <arm\+0xc0> + a104: e59f4000 ldr r4, \[pc\] ; a10c <arm\+0xbc> + a108: e59f4000 ldr r4, \[pc\] ; a110 <arm\+0xc0> #------------------------------------------------------------------------------ #------ .got offset for taf2 #------------------------------------------------------------------------------ @@ -478,8 +478,8 @@ Disassembly of section \.text: #------ abf2's .plt entry #------------------------------------------------------------------------------ a11c: 0afffbcf beq 9060 <aaf1-0xfa0> - a120: e59f4000 ldr r4, \[pc, #0\] ; a128 <arm\+0xd8> - a124: e59f4000 ldr r4, \[pc, #0\] ; a12c <arm\+0xdc> + a120: e59f4000 ldr r4, \[pc\] ; a128 <arm\+0xd8> + a124: e59f4000 ldr r4, \[pc\] ; a12c <arm\+0xdc> #------------------------------------------------------------------------------ #------ .got offset for abf2 #------------------------------------------------------------------------------ @@ -500,8 +500,8 @@ Disassembly of section \.text: #------ tbf2's .plt entry #------------------------------------------------------------------------------ a138: 0afffbbe beq 9038 <aaf1-0xfc8> - a13c: e59f4000 ldr r4, \[pc, #0\] ; a144 <arm\+0xf4> - a140: e59f4000 ldr r4, \[pc, #0\] ; a148 <arm\+0xf8> + a13c: e59f4000 ldr r4, \[pc\] ; a144 <arm\+0xf4> + a140: e59f4000 ldr r4, \[pc\] ; a148 <arm\+0xf8> #------------------------------------------------------------------------------ #------ .got offset for tbf2 #------------------------------------------------------------------------------ @@ -522,8 +522,8 @@ Disassembly of section \.text: #------ aaf3's .iplt entry #------------------------------------------------------------------------------ a154: 0afffbfc beq 914c <aaf1-0xeb4> - a158: e59f4000 ldr r4, \[pc, #0\] ; a160 <arm\+0x110> - a15c: e59f4000 ldr r4, \[pc, #0\] ; a164 <arm\+0x114> + a158: e59f4000 ldr r4, \[pc\] ; a160 <arm\+0x110> + a15c: e59f4000 ldr r4, \[pc\] ; a164 <arm\+0x114> #------------------------------------------------------------------------------ #------ GP-relative offset of aaf3's .igot.plt entry #------------------------------------------------------------------------------ @@ -544,8 +544,8 @@ Disassembly of section \.text: #------ taf3's .iplt entry #------------------------------------------------------------------------------ a170: 0afffbe6 beq 9110 <aaf1-0xef0> - a174: e59f4000 ldr r4, \[pc, #0\] ; a17c <arm\+0x12c> - a178: e59f4000 ldr r4, \[pc, #0\] ; a180 <arm\+0x130> + a174: e59f4000 ldr r4, \[pc\] ; a17c <arm\+0x12c> + a178: e59f4000 ldr r4, \[pc\] ; a180 <arm\+0x130> #------------------------------------------------------------------------------ #------ GP-relative offset of taf3's .igot.plt entry #------------------------------------------------------------------------------ @@ -566,8 +566,8 @@ Disassembly of section \.text: #------ abf3's .iplt entry #------------------------------------------------------------------------------ a18c: 0afffbd4 beq 90e4 <aaf1-0xf1c> - a190: e59f4000 ldr r4, \[pc, #0\] ; a198 <arm\+0x148> - a194: e59f4000 ldr r4, \[pc, #0\] ; a19c <arm\+0x14c> + a190: e59f4000 ldr r4, \[pc\] ; a198 <arm\+0x148> + a194: e59f4000 ldr r4, \[pc\] ; a19c <arm\+0x14c> #------------------------------------------------------------------------------ #------ GP-relative offset of abf3's .igot.plt entry #------------------------------------------------------------------------------ @@ -588,8 +588,8 @@ Disassembly of section \.text: #------ tbf3's .iplt entry #------------------------------------------------------------------------------ a1a8: 0afffbd5 beq 9104 <aaf1-0xefc> - a1ac: e59f4000 ldr r4, \[pc, #0\] ; a1b4 <arm\+0x164> - a1b0: e59f4000 ldr r4, \[pc, #0\] ; a1b8 <arm\+0x168> + a1ac: e59f4000 ldr r4, \[pc\] ; a1b4 <arm\+0x164> + a1b0: e59f4000 ldr r4, \[pc\] ; a1b8 <arm\+0x168> #------------------------------------------------------------------------------ #------ GP-relative offset of tbf3's .igot.plt entry #------------------------------------------------------------------------------ @@ -610,8 +610,8 @@ Disassembly of section \.text: #------ aaf4's .iplt entry #------------------------------------------------------------------------------ a1c4: 0afffbbe beq 90c4 <aaf1-0xf3c> - a1c8: e59f4000 ldr r4, \[pc, #0\] ; a1d0 <arm\+0x180> - a1cc: e59f4000 ldr r4, \[pc, #0\] ; a1d4 <arm\+0x184> + a1c8: e59f4000 ldr r4, \[pc\] ; a1d0 <arm\+0x180> + a1cc: e59f4000 ldr r4, \[pc\] ; a1d4 <arm\+0x184> #------------------------------------------------------------------------------ #------ .got offset for aaf4 #------------------------------------------------------------------------------ @@ -632,8 +632,8 @@ Disassembly of section \.text: #------ taf4's .iplt entry #------------------------------------------------------------------------------ a1e0: 0afffbe0 beq 9168 <aaf1-0xe98> - a1e4: e59f4000 ldr r4, \[pc, #0\] ; a1ec <arm\+0x19c> - a1e8: e59f4000 ldr r4, \[pc, #0\] ; a1f0 <arm\+0x1a0> + a1e4: e59f4000 ldr r4, \[pc\] ; a1ec <arm\+0x19c> + a1e8: e59f4000 ldr r4, \[pc\] ; a1f0 <arm\+0x1a0> #------------------------------------------------------------------------------ #------ .got offset for taf4 #------------------------------------------------------------------------------ @@ -654,8 +654,8 @@ Disassembly of section \.text: #------ abf4's .iplt entry #------------------------------------------------------------------------------ a1fc: 0afffbc7 beq 9120 <aaf1-0xee0> - a200: e59f4000 ldr r4, \[pc, #0\] ; a208 <arm\+0x1b8> - a204: e59f4000 ldr r4, \[pc, #0\] ; a20c <arm\+0x1bc> + a200: e59f4000 ldr r4, \[pc\] ; a208 <arm\+0x1b8> + a204: e59f4000 ldr r4, \[pc\] ; a20c <arm\+0x1bc> #------------------------------------------------------------------------------ #------ .got offset for abf4 #------------------------------------------------------------------------------ @@ -676,8 +676,8 @@ Disassembly of section \.text: #------ tbf4's .iplt entry #------------------------------------------------------------------------------ a218: 0afffbc4 beq 9130 <aaf1-0xed0> - a21c: e59f4000 ldr r4, \[pc, #0\] ; a224 <arm\+0x1d4> - a220: e59f4000 ldr r4, \[pc, #0\] ; a228 <arm\+0x1d8> + a21c: e59f4000 ldr r4, \[pc\] ; a224 <arm\+0x1d4> + a220: e59f4000 ldr r4, \[pc\] ; a228 <arm\+0x1d8> #------------------------------------------------------------------------------ #------ .got offset for tbf4 #------------------------------------------------------------------------------ |