diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-16 00:09:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-16 00:09:20 +0000 |
commit | d84de024e6de8ea8f5afaa654bd07b75210f3011 (patch) | |
tree | 04b03ff061b6aba67d1488f8d49fbdb53a8c07ee /gas | |
parent | 2a80c17810bb89d9ecd25861fc359a30bd72f84f (diff) | |
download | gdb-d84de024e6de8ea8f5afaa654bd07b75210f3011.zip gdb-d84de024e6de8ea8f5afaa654bd07b75210f3011.tar.gz gdb-d84de024e6de8ea8f5afaa654bd07b75210f3011.tar.bz2 |
binutils/
* readelf.c (debug_apply_rela_addends): New function, extracted from..
(display_debug_info): ..here.
(display_debug_frames): Call debug_apply_rela_addends. Don't do
DW_EH_PE_pcrel adjustment for ET_REL.
gas/testsuite/
* gas/cfi/cfi-alpha-1.d: Adjust for readelf fix.
* gas/cfi/cfi-alpha-3.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-m68k.d: Likewise.
* gas/cfi/cfi-ppc-1.d: Likewise.
* gas/cfi/cfi-s390-1.d: Likewise.
* gas/cfi/cfi-s390x-1.d: Likewise.
* gas/cfi/cfi-sh-1.d: Likewise.
* gas/cfi/cfi-sparc-1.d: Likewise.
* gas/cfi/cfi-sparc64-1.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-alpha-1.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-alpha-3.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-i386.d | 24 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-m68k.d | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-ppc-1.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-s390-1.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-s390x-1.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-sh-1.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-sparc-1.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-sparc64-1.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/cfi/cfi-x86_64.d | 24 |
12 files changed, 75 insertions, 61 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index a5c3ddb..2bc1b72 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2004-08-16 Alan Modra <amodra@bigpond.net.au> + + * gas/cfi/cfi-alpha-1.d: Adjust for readelf fix. + * gas/cfi/cfi-alpha-3.d: Likewise. + * gas/cfi/cfi-i386.d: Likewise. + * gas/cfi/cfi-m68k.d: Likewise. + * gas/cfi/cfi-ppc-1.d: Likewise. + * gas/cfi/cfi-s390-1.d: Likewise. + * gas/cfi/cfi-s390x-1.d: Likewise. + * gas/cfi/cfi-sh-1.d: Likewise. + * gas/cfi/cfi-sparc-1.d: Likewise. + * gas/cfi/cfi-sparc64-1.d: Likewise. + * gas/cfi/cfi-x86_64.d: Likewise. + 2004-08-13 Jan Beulich <jbeulich@novell.com> * gas/all/altmacro.[sd]: New test. diff --git a/gas/testsuite/gas/cfi/cfi-alpha-1.d b/gas/testsuite/gas/cfi/cfi-alpha-1.d index 9568d3b..4b3a340 100644 --- a/gas/testsuite/gas/cfi/cfi-alpha-1.d +++ b/gas/testsuite/gas/cfi/cfi-alpha-1.d @@ -13,8 +13,8 @@ The section .eh_frame contains: DW_CFA_def_cfa_reg: r30 DW_CFA_nop -00000014 00000020 00000018 FDE cie=00000000 pc=0000001c..00000050 - DW_CFA_advance_loc: 24 to 00000034 +00000014 00000020 00000018 FDE cie=00000000 pc=00000000..00000034 + DW_CFA_advance_loc: 24 to 00000018 DW_CFA_def_cfa: r15 ofs 32 DW_CFA_offset: r26 at cfa-32 DW_CFA_offset: r9 at cfa-24 diff --git a/gas/testsuite/gas/cfi/cfi-alpha-3.d b/gas/testsuite/gas/cfi/cfi-alpha-3.d index f3ad084..f7bb8f0 100644 --- a/gas/testsuite/gas/cfi/cfi-alpha-3.d +++ b/gas/testsuite/gas/cfi/cfi-alpha-3.d @@ -13,20 +13,20 @@ The section .eh_frame contains: DW_CFA_def_cfa_reg: r30 DW_CFA_nop -00000014 00000028 00000018 FDE cie=00000000 pc=0000001c..0000005c - DW_CFA_advance_loc: 4 to 00000020 +00000014 00000028 00000018 FDE cie=00000000 pc=00000000..00000040 + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_def_cfa_offset: 32 - DW_CFA_advance_loc: 4 to 00000024 + DW_CFA_advance_loc: 4 to 00000008 DW_CFA_offset: r26 at cfa-32 - DW_CFA_advance_loc: 4 to 00000028 + DW_CFA_advance_loc: 4 to 0000000c DW_CFA_offset: r9 at cfa-24 - DW_CFA_advance_loc: 4 to 0000002c + DW_CFA_advance_loc: 4 to 00000010 DW_CFA_offset: r15 at cfa-16 - DW_CFA_advance_loc: 4 to 00000030 + DW_CFA_advance_loc: 4 to 00000014 DW_CFA_offset: r34 at cfa-8 - DW_CFA_advance_loc: 4 to 00000034 + DW_CFA_advance_loc: 4 to 00000018 DW_CFA_def_cfa_reg: r15 - DW_CFA_advance_loc: 36 to 00000058 + DW_CFA_advance_loc: 36 to 0000003c DW_CFA_def_cfa: r30 ofs 0 DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-i386.d b/gas/testsuite/gas/cfi/cfi-i386.d index 471f5e1..ff74780 100644 --- a/gas/testsuite/gas/cfi/cfi-i386.d +++ b/gas/testsuite/gas/cfi/cfi-i386.d @@ -15,33 +15,33 @@ The section .eh_frame contains: DW_CFA_nop DW_CFA_nop -00000018 00000014 0000001c FDE cie=00000000 pc=00000020..00000032 - DW_CFA_advance_loc: 6 to 00000026 +00000018 00000014 0000001c FDE cie=00000000 pc=00000000..00000012 + DW_CFA_advance_loc: 6 to 00000006 DW_CFA_def_cfa_offset: 4664 - DW_CFA_advance_loc: 11 to 00000031 + DW_CFA_advance_loc: 11 to 00000011 DW_CFA_def_cfa_offset: 4 -00000030 00000018 00000034 FDE cie=00000000 pc=0000004a..00000057 - DW_CFA_advance_loc: 1 to 0000004b +00000030 00000018 00000034 FDE cie=00000000 pc=00000012..0000001f + DW_CFA_advance_loc: 1 to 00000013 DW_CFA_def_cfa_offset: 8 DW_CFA_offset: r5 at cfa-8 - DW_CFA_advance_loc: 2 to 0000004d + DW_CFA_advance_loc: 2 to 00000015 DW_CFA_def_cfa_reg: r5 - DW_CFA_advance_loc: 9 to 00000056 + DW_CFA_advance_loc: 9 to 0000001e DW_CFA_def_cfa_reg: r4 -0000004c 00000014 00000050 FDE cie=00000000 pc=00000073..00000083 - DW_CFA_advance_loc: 2 to 00000075 +0000004c 00000014 00000050 FDE cie=00000000 pc=0000001f..0000002f + DW_CFA_advance_loc: 2 to 00000021 DW_CFA_def_cfa_reg: r3 - DW_CFA_advance_loc: 13 to 00000082 + DW_CFA_advance_loc: 13 to 0000002e DW_CFA_def_cfa: r4 ofs 4 -00000064 00000010 00000068 FDE cie=00000000 pc=0000009b..000000a1 +00000064 00000010 00000068 FDE cie=00000000 pc=0000002f..00000035 DW_CFA_nop DW_CFA_nop DW_CFA_nop -00000078 00000010 0000007c FDE cie=00000000 pc=000000b5..000000c4 +00000078 00000010 0000007c FDE cie=00000000 pc=00000035..00000044 DW_CFA_nop DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-m68k.d b/gas/testsuite/gas/cfi/cfi-m68k.d index ff239f3..7aeb542 100644 --- a/gas/testsuite/gas/cfi/cfi-m68k.d +++ b/gas/testsuite/gas/cfi/cfi-m68k.d @@ -15,22 +15,22 @@ The section .eh_frame contains: DW_CFA_nop DW_CFA_nop -00000018 00000014 0000001c FDE cie=00000000 pc=00000020..0000002c - DW_CFA_advance_loc: 4 to 00000024 +00000018 00000014 0000001c FDE cie=00000000 pc=00000000..0000000c + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_def_cfa_offset: 4664 - DW_CFA_advance_loc: 6 to 0000002a + DW_CFA_advance_loc: 6 to 0000000a DW_CFA_def_cfa_offset: 4 -00000030 00000018 00000034 FDE cie=00000000 pc=00000038..00000044 - DW_CFA_advance_loc: 4 to 0000003c +00000030 00000018 00000034 FDE cie=00000000 pc=0000000c..00000018 + DW_CFA_advance_loc: 4 to 00000010 DW_CFA_def_cfa_offset: 8 DW_CFA_offset: r14 at cfa-8 DW_CFA_def_cfa_reg: r14 - DW_CFA_advance_loc: 6 to 00000042 + DW_CFA_advance_loc: 6 to 00000016 DW_CFA_def_cfa_reg: r15 DW_CFA_nop -0000004c 00000010 00000050 FDE cie=00000000 pc=00000054..00000058 +0000004c 00000010 00000050 FDE cie=00000000 pc=00000018..0000001c DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-ppc-1.d b/gas/testsuite/gas/cfi/cfi-ppc-1.d index 28cb64c..cb1f55e 100644 --- a/gas/testsuite/gas/cfi/cfi-ppc-1.d +++ b/gas/testsuite/gas/cfi/cfi-ppc-1.d @@ -14,16 +14,16 @@ The section .eh_frame contains: DW_CFA_def_cfa: r1 ofs 0 -00000014 00000020 00000018 FDE cie=00000000 pc=0000001c..0000008c - DW_CFA_advance_loc: 4 to 00000020 +00000014 00000020 00000018 FDE cie=00000000 pc=00000000..00000070 + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_def_cfa_offset: 48 - DW_CFA_advance_loc: 16 to 00000030 + DW_CFA_advance_loc: 16 to 00000014 DW_CFA_offset: r27 at cfa-20 DW_CFA_offset: r26 at cfa-24 DW_CFA_offset_extended_sf: r65 at cfa\+4 - DW_CFA_advance_loc: 8 to 00000038 + DW_CFA_advance_loc: 8 to 0000001c DW_CFA_offset: r28 at cfa-16 - DW_CFA_advance_loc: 8 to 00000040 + DW_CFA_advance_loc: 8 to 00000024 DW_CFA_offset: r29 at cfa-12 DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-s390-1.d b/gas/testsuite/gas/cfi/cfi-s390-1.d index aa8dfe1..5cf3694 100644 --- a/gas/testsuite/gas/cfi/cfi-s390-1.d +++ b/gas/testsuite/gas/cfi/cfi-s390-1.d @@ -14,8 +14,8 @@ The section .eh_frame contains: DW_CFA_def_cfa: r15 ofs 96 -00000014 00000024 00000018 FDE cie=00000000 pc=0000001c..0000006a - DW_CFA_advance_loc: 4 to 00000020 +00000014 00000024 00000018 FDE cie=00000000 pc=00000000..0000004e + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_offset: r15 at cfa-36 DW_CFA_offset: r14 at cfa-40 DW_CFA_offset: r13 at cfa-44 @@ -24,7 +24,7 @@ The section .eh_frame contains: DW_CFA_offset: r10 at cfa-56 DW_CFA_offset: r9 at cfa-60 DW_CFA_offset: r8 at cfa-64 - DW_CFA_advance_loc: 22 to 00000036 + DW_CFA_advance_loc: 22 to 0000001a DW_CFA_def_cfa_offset: 192 DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-s390x-1.d b/gas/testsuite/gas/cfi/cfi-s390x-1.d index ad67add..c515f38 100644 --- a/gas/testsuite/gas/cfi/cfi-s390x-1.d +++ b/gas/testsuite/gas/cfi/cfi-s390x-1.d @@ -17,8 +17,8 @@ The section .eh_frame contains: DW_CFA_nop DW_CFA_nop -00000018 00000024 0000001c FDE cie=00000000 pc=00000020..00000090 - DW_CFA_advance_loc: 6 to 00000026 +00000018 00000024 0000001c FDE cie=00000000 pc=00000000..00000070 + DW_CFA_advance_loc: 6 to 00000006 DW_CFA_offset: r15 at cfa-40 DW_CFA_offset: r14 at cfa-48 DW_CFA_offset: r13 at cfa-56 @@ -27,7 +27,7 @@ The section .eh_frame contains: DW_CFA_offset: r10 at cfa-80 DW_CFA_offset: r9 at cfa-88 DW_CFA_offset: r8 at cfa-96 - DW_CFA_advance_loc: 8 to 0000002e + DW_CFA_advance_loc: 8 to 0000000e DW_CFA_def_cfa_offset: 320 DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-sh-1.d b/gas/testsuite/gas/cfi/cfi-sh-1.d index fac7484..bfbfcfa 100644 --- a/gas/testsuite/gas/cfi/cfi-sh-1.d +++ b/gas/testsuite/gas/cfi/cfi-sh-1.d @@ -12,16 +12,16 @@ The section .eh_frame contains: DW_CFA_def_cfa: r15 ofs 0 -00000014 00000020 00000018 FDE cie=00000000 pc=0000001c..00000048 - DW_CFA_advance_loc: 2 to 0000001e +00000014 00000020 00000018 FDE cie=00000000 pc=00000000..0000002c + DW_CFA_advance_loc: 2 to 00000002 DW_CFA_def_cfa_offset: 4 - DW_CFA_advance_loc: 2 to 00000020 + DW_CFA_advance_loc: 2 to 00000004 DW_CFA_def_cfa_offset: 8 DW_CFA_offset: r15 at cfa-4 DW_CFA_offset: r17 at cfa-8 - DW_CFA_advance_loc: 6 to 00000026 + DW_CFA_advance_loc: 6 to 0000000a DW_CFA_def_cfa_reg: r14 - DW_CFA_advance_loc: 2 to 00000028 + DW_CFA_advance_loc: 2 to 0000000c DW_CFA_def_cfa_offset: 40 DW_CFA_nop DW_CFA_nop diff --git a/gas/testsuite/gas/cfi/cfi-sparc-1.d b/gas/testsuite/gas/cfi/cfi-sparc-1.d index ac927ac..c9d855a 100644 --- a/gas/testsuite/gas/cfi/cfi-sparc-1.d +++ b/gas/testsuite/gas/cfi/cfi-sparc-1.d @@ -14,8 +14,8 @@ The section .eh_frame contains: DW_CFA_def_cfa: r14 ofs 0 -00000014 00000014 00000018 FDE cie=00000000 pc=0000001c..00000040 - DW_CFA_advance_loc: 4 to 00000020 +00000014 00000014 00000018 FDE cie=00000000 pc=00000000..00000024 + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_def_cfa_reg: r30 DW_CFA_GNU_window_save DW_CFA_register: r15 in r31 diff --git a/gas/testsuite/gas/cfi/cfi-sparc64-1.d b/gas/testsuite/gas/cfi/cfi-sparc64-1.d index 10d3ea9..6206e39 100644 --- a/gas/testsuite/gas/cfi/cfi-sparc64-1.d +++ b/gas/testsuite/gas/cfi/cfi-sparc64-1.d @@ -17,8 +17,8 @@ The section .eh_frame contains: DW_CFA_nop DW_CFA_nop -00000018 00000014 0000001c FDE cie=00000000 pc=00000020..00000050 - DW_CFA_advance_loc: 4 to 00000024 +00000018 00000014 0000001c FDE cie=00000000 pc=00000000..00000030 + DW_CFA_advance_loc: 4 to 00000004 DW_CFA_def_cfa_reg: r30 DW_CFA_GNU_window_save DW_CFA_register: r15 in r31 diff --git a/gas/testsuite/gas/cfi/cfi-x86_64.d b/gas/testsuite/gas/cfi/cfi-x86_64.d index 98cd57f..f346435 100644 --- a/gas/testsuite/gas/cfi/cfi-x86_64.d +++ b/gas/testsuite/gas/cfi/cfi-x86_64.d @@ -15,37 +15,37 @@ The section .eh_frame contains: DW_CFA_nop DW_CFA_nop -00000018 00000014 0000001c FDE cie=00000000 pc=00000020..00000034 - DW_CFA_advance_loc: 7 to 00000027 +00000018 00000014 0000001c FDE cie=00000000 pc=00000000..00000014 + DW_CFA_advance_loc: 7 to 00000007 DW_CFA_def_cfa_offset: 4668 - DW_CFA_advance_loc: 12 to 00000033 + DW_CFA_advance_loc: 12 to 00000013 DW_CFA_def_cfa_offset: 8 -00000030 0000001c 00000034 FDE cie=00000000 pc=00000038..00000046 - DW_CFA_advance_loc: 1 to 00000039 +00000030 0000001c 00000034 FDE cie=00000000 pc=00000014..00000022 + DW_CFA_advance_loc: 1 to 00000015 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r6 at cfa-16 - DW_CFA_advance_loc: 3 to 0000003c + DW_CFA_advance_loc: 3 to 00000018 DW_CFA_def_cfa_reg: r6 - DW_CFA_advance_loc: 9 to 00000045 + DW_CFA_advance_loc: 9 to 00000021 DW_CFA_def_cfa: r7 ofs 8 DW_CFA_nop DW_CFA_nop DW_CFA_nop -00000050 00000014 00000054 FDE cie=00000000 pc=00000058..0000006b - DW_CFA_advance_loc: 3 to 0000005b +00000050 00000014 00000054 FDE cie=00000000 pc=00000022..00000035 + DW_CFA_advance_loc: 3 to 00000025 DW_CFA_def_cfa_reg: r12 - DW_CFA_advance_loc: 15 to 0000006a + DW_CFA_advance_loc: 15 to 00000034 DW_CFA_def_cfa_reg: r7 DW_CFA_nop -00000068 00000010 0000006c FDE cie=00000000 pc=00000070..00000076 +00000068 00000010 0000006c FDE cie=00000000 pc=00000035..0000003b DW_CFA_nop DW_CFA_nop DW_CFA_nop -0000007c 00000010 00000080 FDE cie=00000000 pc=00000084..00000096 +0000007c 00000010 00000080 FDE cie=00000000 pc=0000003b..0000004d DW_CFA_nop DW_CFA_nop DW_CFA_nop |