aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-15 12:22:39 +0000
committerAlan Modra <amodra@gmail.com>2002-08-15 12:22:39 +0000
commit35b1837e4658c9700c8b13d2ab72dd57dac3ae43 (patch)
tree6489e949039d40f80de28c4d87cd53dacb501d42
parentc5cd6d622673cde22d4e304fba85703c4dc23c3c (diff)
downloadgdb-35b1837e4658c9700c8b13d2ab72dd57dac3ae43.zip
gdb-35b1837e4658c9700c8b13d2ab72dd57dac3ae43.tar.gz
gdb-35b1837e4658c9700c8b13d2ab72dd57dac3ae43.tar.bz2
* readelf.c: Include elf/i370.h.
(dump_relocations): Handle EM_S370. (dynamic_segment_parisc_val): Print \n. (process_dynamic_segment <DT_BIND_NOW>): Here too.
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/readelf.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0bc7663..de9c571 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-15 Alan Modra <amodra@bigpond.net.au>
+
+ * readelf.c: Include elf/i370.h.
+ (dump_relocations): Handle EM_S370.
+ (dynamic_segment_parisc_val): Print \n.
+ (process_dynamic_segment <DT_BIND_NOW>): Here too.
+
2002-08-14 Nick Clifton <nickc@redhat.com>
* nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d1c23da..839a2c8 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -62,6 +62,7 @@
#include "elf/h8.h"
#include "elf/hppa.h"
#include "elf/i386.h"
+#include "elf/i370.h"
#include "elf/i860.h"
#include "elf/i960.h"
#include "elf/ia64.h"
@@ -1118,6 +1119,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
rtype = elf_x86_64_reloc_type (type);
break;
+ case EM_S370:
+ rtype = i370_reloc_type (type);
+ break;
+
case EM_S390_OLD:
case EM_S390:
rtype = elf_s390_reloc_type (type);
@@ -4294,6 +4299,7 @@ dynamic_segment_parisc_val (entry)
print_vma (entry->d_un.d_ptr, PREFIX_HEX);
break;
}
+ putchar ('\n');
}
static int
@@ -4906,6 +4912,8 @@ process_dynamic_segment (file)
case DT_BIND_NOW:
/* The value of this entry is ignored. */
+ if (do_dynamic)
+ putchar ('\n');
break;
case DT_GNU_PRELINKED: