diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-03-31 14:15:31 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-03-31 14:15:31 +0000 |
commit | 545f57c6face499a80c75cd1e13499f0216209a1 (patch) | |
tree | a1a7b60a8c39dd7a6a55a682a6223621442aa7cf | |
parent | 02d20e4a1097a1fa64fe9cbf7a6605abe442e735 (diff) | |
download | gdb-545f57c6face499a80c75cd1e13499f0216209a1.zip gdb-545f57c6face499a80c75cd1e13499f0216209a1.tar.gz gdb-545f57c6face499a80c75cd1e13499f0216209a1.tar.bz2 |
bfd/
2011-03-31 Tristan Gingold <gingold@adacore.com>
* 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 <gingold@adacore.com>
* makefile.vms (readelf.exe): New target.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/configure.com | 4 | ||||
-rw-r--r-- | bfd/makefile.vms | 3 | ||||
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <gingold@adacore.com> + * 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 <gingold@adacore.com> + * 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 <gingold@adacore.com> + * makefile.vms (readelf.exe): New target. + +2011-03-31 Tristan Gingold <gingold@adacore.com> + * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> 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 |