From 35b1837e4658c9700c8b13d2ab72dd57dac3ae43 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 15 Aug 2002 12:22:39 +0000 Subject: [PATCH] * readelf.c: Include elf/i370.h. (dump_relocations): Handle EM_S370. (dynamic_segment_parisc_val): Print \n. (process_dynamic_segment ): Here too. --- binutils/ChangeLog | 7 +++++++ binutils/readelf.c | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0bc76634052..de9c5716db0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2002-08-15 Alan Modra + + * readelf.c: Include elf/i370.h. + (dump_relocations): Handle EM_S370. + (dynamic_segment_parisc_val): Print \n. + (process_dynamic_segment ): Here too. + 2002-08-14 Nick Clifton * nm.c (usage): Change 'gnu-new-abi' to 'gnu-v3'. diff --git a/binutils/readelf.c b/binutils/readelf.c index d1c23daf1cf..839a2c83166 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: -- 2.30.2