aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2008-11-14 09:57:35 +0000
committerTristan Gingold <gingold@adacore.com>2008-11-14 09:57:35 +0000
commitd387240a63cfb5562d2fd7c6273bbc62f4383284 (patch)
treeec40ef51ef879968a3b1d349cf11a4bd485092e0 /libiberty
parent9b7132d30da9aa3d9760cc7c9c45245f69292c19 (diff)
downloadgdb-d387240a63cfb5562d2fd7c6273bbc62f4383284.zip
gdb-d387240a63cfb5562d2fd7c6273bbc62f4383284.tar.gz
gdb-d387240a63cfb5562d2fd7c6273bbc62f4383284.tar.bz2
bfd/
2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update.
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog7
-rw-r--r--libiberty/config.h-vms21
-rw-r--r--libiberty/makefile.vms13
3 files changed, 23 insertions, 18 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index fd9d300..55ecb20 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-14 Tristan Gingold <gingold@adacore.com>
+
+ * makefile.vms (OBJS): Update objects list.
+ (CFLAGS): Update.
+ (libiberty.olb): Remove alloca-conf.h dependency.
+ * config.h-vms: Use new macro sets, use builtin alloca.
+
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (CPPFLAGS): Define.
diff --git a/libiberty/config.h-vms b/libiberty/config.h-vms
index ccac6a2..33e409d 100644
--- a/libiberty/config.h-vms
+++ b/libiberty/config.h-vms
@@ -1,13 +1,8 @@
-#ifndef NEED_strerror
-#define NEED_strerror
-#endif
-#ifndef NEED_basename
-#define NEED_basename
-#endif
-#ifndef NEED_psignal
-#define NEED_psignal
-#endif
-#ifndef NEED_on_exit
-#define NEED_on_exit
-#endif
-
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_LIMITS_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_TIMES 1
+#include <builtins.h>
+#define C_alloca __ALLOCA
diff --git a/libiberty/makefile.vms b/libiberty/makefile.vms
index 6a7dd45..39eac30 100644
--- a/libiberty/makefile.vms
+++ b/libiberty/makefile.vms
@@ -8,18 +8,21 @@
#
OBJS=bcopy.obj,bcmp.obj,getopt.obj,obstack.obj,xexit.obj,xmalloc.obj,hex.obj,\
- getopt1.obj,cplus-dem.obj,strncasecmp.obj,strcasecmp.obj,strdup.obj,\
- concat.obj,getruntime.obj,getpagesize.obj,alloca.obj,xstrerror.obj,\
- xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,objalloc.obj
+ getopt1.obj,cplus-dem.obj,cp-demangle.obj,cp-demint.obj,\
+ asprintf.obj vasprintf.obj,mkstemps.obj,\
+ concat.obj,getruntime.obj,getpagesize.obj,xstrerror.obj,\
+ xmemdup.obj,xstrdup.obj,xatexit.obj,choose-temp.obj,fnmatch.obj,\
+ objalloc.obj,safe-ctype.obj,hashtab.obj,lbasename.obj,argv.obj,\
+ lrealpath.obj,make-temp-file.obj,unlink-if-ordinary.obj
ifeq ($(CC),gcc)
CFLAGS=/include=([],[-.include])
else
# assume dec c
-CFLAGS=/noopt/debug/include=([],[-.include])/define=("const=")/warnings=disable=(missingreturn,implicitfunc)
+CFLAGS=/noopt/debug/include=([],[-.include])/warnings=disable=(missingreturn)/name=(as_is,shortened)/define=(HAVE_CONFIG_H=1)/prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
endif
-libiberty.olb: config.h alloca-conf.h $(OBJS)
+libiberty.olb: config.h $(OBJS)
purge
lib/create libiberty *.obj