bfd/
authorTristan Gingold <gingold@adacore.com>
Thu, 31 Mar 2011 14:15:31 +0000 (14:15 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 31 Mar 2011 14:15:31 +0000 (14:15 +0000)
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.

bfd/ChangeLog
bfd/configure.com
bfd/makefile.vms
binutils/ChangeLog
binutils/makefile.vms

index ab6fe9ad21aa2d2bad7aa92724ce8a8f41b62253..cefd8a7397fa2c70cf645b962514c6f5b75cde99 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 6e777a0b13191d987f286ad0d1f91abe0b1139bc..a19dadd52e9aa5e0b748b3cc43efbe50958fe3ff 100644 (file)
@@ -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;
index 8cbb6807d99c0de8e3a18794976c763a7269904e..fd945819737704bd83825b89720f6c69ec6a0687 100644 (file)
@@ -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
index 7646a9f10a6d6ba2b1f594d4b59fe34f2c2e2d52..8b4086c998cbc1616992020d181eb6375e69b4fb 100644 (file)
@@ -1,3 +1,7 @@
+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.
index df779b7e43f7130ac57b7e92f95adb82e72e1480..27bcd0e99e53a01e93cdfb082c8fa28140d1be7e 100644 (file)
@@ -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