From 545f57c6face499a80c75cd1e13499f0216209a1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 31 Mar 2011 14:15:31 +0000 Subject: [PATCH] bfd/ 2011-03-31 Tristan Gingold * makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec. * configure.com: Set BFD_HOST_64BIT_LONG_LONG and BFD_HOST_LONG_LONG to 1. binutils/ 2011-03-31 Tristan Gingold * makefile.vms (readelf.exe): New target. --- bfd/ChangeLog | 6 ++++++ bfd/configure.com | 4 ++-- bfd/makefile.vms | 3 ++- binutils/ChangeLog | 4 ++++ binutils/makefile.vms | 7 ++++++- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ab6fe9a..cefd8a7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2011-03-31 Tristan Gingold + * makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec. + * configure.com: Set BFD_HOST_64BIT_LONG_LONG and + BFD_HOST_LONG_LONG to 1. + +2011-03-31 Tristan Gingold + * vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning. (_bfd_vms_write_etir): Ditto. (_bfd_vms_slurp_etir): Avoid to use intptr_t diff --git a/bfd/configure.com b/bfd/configure.com index 6e777a0..a19dadd 100644 --- a/bfd/configure.com +++ b/bfd/configure.com @@ -70,13 +70,13 @@ $DECK IF match_pos <> 0 THEN; POSITION(BEGINNING_OF(match_pos)); ERASE(match_pos); - COPY_TEXT('0'); + COPY_TEXT('1'); ENDIF; match_pos := SEARCH_QUIETLY('@BFD_HOST_64BIT_LONG_LONG@', FORWARD, EXACT, rang); IF match_pos <> 0 THEN; POSITION(BEGINNING_OF(match_pos)); ERASE(match_pos); - COPY_TEXT('0'); + COPY_TEXT('1'); ENDIF; match_pos := SEARCH_QUIETLY('@BFD_HOST_64_BIT_DEFINED@', FORWARD, EXACT, rang); IF match_pos <> 0 THEN; diff --git a/bfd/makefile.vms b/bfd/makefile.vms index 8cbb680..fd94581 100644 --- a/bfd/makefile.vms +++ b/bfd/makefile.vms @@ -12,7 +12,8 @@ HOSTFILE=alphavms.h OBJS:=cpu-ia64.obj,elf64-ia64.obj,\ vms-misc.obj,vms-lib.obj,elf-strtab.obj,corefile.obj,stabs.obj,\ merge.obj,elf-eh-frame.obj,elflink.obj,elf-attrs.obj,dwarf1.obj,elf64.obj -DEFS=SELECT_VECS="&bfd_elf64_ia64_vms_vec",SELECT_ARCHITECTURES="&bfd_ia64_arch" +DEFS=SELECT_VECS="&bfd_elf64_ia64_vms_vec",\ + SELECT_ARCHITECTURES="&bfd_ia64_arch","HAVE_bfd_elf64_ia64_vms_vec"=1 endif ifeq ($(ARCH),ALPHA) HOSTFILE=alphavms.h diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7646a9f..8b4086c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2011-03-31 Tristan Gingold + * makefile.vms (readelf.exe): New target. + +2011-03-31 Tristan Gingold + * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. 2011-03-31 Bernd Schmidt diff --git a/binutils/makefile.vms b/binutils/makefile.vms index df779b7..27bcd0e 100644 --- a/binutils/makefile.vms +++ b/binutils/makefile.vms @@ -45,6 +45,8 @@ ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP) +READELFOBJS = readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_DEPS) + all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe size.exe: $(SIZEOBJS) @@ -60,7 +62,10 @@ addr2line.exe: $(ADDR2LINEOBJS) link/exe=$@ addr2line.obj,$(ADDL_LIBS) objdump.exe: $(OBJDUMPOBJS) - link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(LIBBFD),$(OPCODES) + link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(OPCODES) + +readelf.exe: $(READELFOBJS) + link/exe=$@ readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_LIBS) config.h: $$ @configure -- 2.7.4