OSDN Git Service

* readelf.c: Include elf/i370.h.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 15 Aug 2002 12:22:39 +0000 (12:22 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 15 Aug 2002 12:22:39 +0000 (12:22 +0000)
(dump_relocations): Handle EM_S370.
(dynamic_segment_parisc_val): Print \n.
(process_dynamic_segment <DT_BIND_NOW>): Here too.

binutils/ChangeLog
binutils/readelf.c

index 0bc7663..de9c571 100644 (file)
@@ -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'.
index d1c23da..839a2c8 100644 (file)
@@ -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: