diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-04-21 20:22:24 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-04-21 20:22:24 +0000 |
commit | 54aab81f946eeca3eacd7b99aacd0936495c06ad (patch) | |
tree | d87b9a69274e7f1313182c28060651b623053527 /binutils | |
parent | 884aa74c57846de8b0a019446d01d528962734d1 (diff) | |
download | binutils-redhat-54aab81f946eeca3eacd7b99aacd0936495c06ad.tar.gz |
IA-64 ELF support.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 8 | ||||
-rw-r--r-- | binutils/Makefile.am | 1 | ||||
-rw-r--r-- | binutils/Makefile.in | 1 | ||||
-rw-r--r-- | binutils/readelf.c | 5 |
4 files changed, 15 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8621445a0e..030251b671 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> + David Mosberger <davidm@hpl.hp.com> + + * Makefile.am (readelf.o): Add elf/ia64.h. + * Makefile.in: Rebuild. + * readelf.c: Include elf/ia64.h. + (guess_is_rela, dump_relocations): Handle EM_IA_64. + 2000-04-17 Timothy Wall <twall@cygnus.com> * objdump.c (disassemble_data): Set octets per byte *after* diff --git a/binutils/Makefile.am b/binutils/Makefile.am index c8d730201a..97e403e65a 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -481,6 +481,7 @@ readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \ $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \ $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \ + $(INCDIR)/elf/ia64.h \ $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \ $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h bucomm.h config.h \ $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 2221633941..5e6c1a5531 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -1337,6 +1337,7 @@ readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \ $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \ $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \ + $(INCDIR)/elf/ia64.h \ $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \ $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h bucomm.h config.h \ $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h diff --git a/binutils/readelf.c b/binutils/readelf.c index 152ce1e937..504c51bd7f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -70,6 +70,7 @@ #include "elf/i960.h" #include "elf/pj.h" #include "elf/avr.h" +#include "elf/ia64.h" #include "bucomm.h" #include "getopt.h" @@ -562,6 +563,7 @@ guess_is_rela (e_machine) case EM_SH: case EM_ALPHA: case EM_MCORE: + case EM_IA_64: return TRUE; case EM_MMA: @@ -873,6 +875,9 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela) case EM_PJ: rtype = elf_pj_reloc_type (type); break; + case EM_IA_64: + rtype = elf_ia64_reloc_type (type); + break; } if (rtype == NULL) |