aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-31 16:09:53 +0000
committerNick Clifton <nickc@redhat.com>2007-10-31 16:09:53 +0000
commit41e9264106c8d962e94b0ac1f7e600cdfe358023 (patch)
tree1ce92e8226ab382b90ee456c035f2dd3e57150d6 /gas
parent08790784703710bad064de53ce2805931204f7e7 (diff)
downloadgdb-41e9264106c8d962e94b0ac1f7e600cdfe358023.zip
gdb-41e9264106c8d962e94b0ac1f7e600cdfe358023.tar.gz
gdb-41e9264106c8d962e94b0ac1f7e600cdfe358023.tar.bz2
* dwarf.c (is_relocatable): Remove definition.
(display_debug_frames): Remove check in is_relocatable. * dwarf.h (is_relocatable): Remove declaration. * objdump.c (is_relocatable): New static definition. * readelf.c (dump_relocations): Make the function void. (is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score. (is_32bit_pcrel_reloc): Add support for x86 and Arm. (is_16bit_abs_reloc): Add support for D10V. (debug_apply_rela_addends): Rename to debug_apply_relocations. Add code to support rel relocations. (load_debug_section): Fix call to debug_apply_relocations. (get_file_header): Remove setting of is_relocatable. * gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/cfi/cfi-common-6.d10
2 files changed, 10 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8e2a12d..67faa16 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-31 Nick Clifton <nickc@redhat.com>
+
+ * gas/cfi/cfi-common-6.d: Allow for possible relocation of the
+ .debug.eh_frame section.
+
2007-10-30 Nick Clifton <nickc@redhat.com>
* gas/all/gas.exp: Do not run diff1.s test for mn10300.
diff --git a/gas/testsuite/gas/cfi/cfi-common-6.d b/gas/testsuite/gas/cfi/cfi-common-6.d
index dcc7b79..3ae356e 100644
--- a/gas/testsuite/gas/cfi/cfi-common-6.d
+++ b/gas/testsuite/gas/cfi/cfi-common-6.d
@@ -14,7 +14,7 @@ The section .eh_frame contains:
DW_CFA_nop
DW_CFA_nop
-0000001c 00000018 00000020 FDE cie=00000000 pc=00000000..00000004
+0000001c 00000018 00000020 FDE cie=00000000 pc=000000(00|24)..000000(04|28)
Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00)
DW_CFA_nop
@@ -31,14 +31,14 @@ The section .eh_frame contains:
DW_CFA_nop
-0000004c 00000018 00000018 FDE cie=00000038 pc=00000004..00000008
+0000004c 00000018 00000018 FDE cie=00000038 pc=000000(04|58)..000000(08|5c)
Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00)
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
-00000068 00000018 0000006c FDE cie=00000000 pc=00000008..0000000c
+00000068 00000018 0000006c FDE cie=00000000 pc=000000(08|78)..000000(0c|7c)
Augmentation data: (00 00 00 00 be ef de ad|ad de ef be 00 00 00 00)
DW_CFA_nop
@@ -57,14 +57,14 @@ The section .eh_frame contains:
DW_CFA_nop
DW_CFA_nop
-000000a0 00000014 00000020 FDE cie=00000084 pc=0000000c..00000010
+000000a0 00000014 00000020 FDE cie=00000084 pc=000000(0c|b4)..000000(10|b8)
Augmentation data: .. .. .. ..
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
-000000b8 00000014 00000038 FDE cie=00000084 pc=00000010..00000014
+000000b8 00000014 00000038 FDE cie=00000084 pc=000000(10|d0)..000000(14|d4)
Augmentation data: .. .. .. ..
DW_CFA_nop