aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
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 /binutils/objdump.c
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 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index ee5530b..5a2ea6d 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -171,6 +171,8 @@ static bfd_size_type stab_size;
static char *strtab;
static bfd_size_type stabstr_size;
+
+static bfd_boolean is_relocatable = FALSE;
static void
usage (FILE *stream, int status)