public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: sergio@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-sergio-catch-syscall: Merge commit 'gdb/master' into catch-syscall
Date: Fri, 14 Nov 2008 19:04:00 -0000	[thread overview]
Message-ID: <20081114190420.11889.qmail@sourceware.org> (raw)

The branch, archer-sergio-catch-syscall has been updated
       via  e1f6f05e59910a6f78d2acf01987de6662995058 (commit)
       via  3be140d9e984bebdbdbe9f2510f66031e3c5ee77 (commit)
       via  d16fcbc21ef626b9901ca0d3d0b628106625dab0 (commit)
       via  a71153ce043f52ca363a8035676a90db12f30c2e (commit)
       via  0b807f33b56ef78d63f109ff9a4e3e319eb7e1a2 (commit)
       via  5f46815bbecea439e9d6e3fa83eb7702fb88e922 (commit)
       via  74d79707f40389a05871d03cd15317133499499a (commit)
       via  88265ac9d34f5b1ec2f47ca904b90fcae20f9d38 (commit)
       via  6cfee05ee690924f16e7cb8eda2b22dfefb40847 (commit)
       via  c0cc8543ca517ca66ffc2126f320879d32bdecb1 (commit)
       via  bb98fe7a5f9e0b90b1aaff59fd62cd2dec5eed1b (commit)
       via  08aa4efd40eb14274574e129b0ce8d1756fb741d (commit)
       via  600a41079dc401cd1e4d238791aa3d66b38c8c7b (commit)
       via  ea43dff71db75a21354d8720a58a793dbbf5f5d9 (commit)
       via  3bc893e160cf38a01c0d63a0f0be9f90ef534c1c (commit)
       via  57b38614cf581206f5f72d8cf02cbca2eb76f198 (commit)
       via  707a8605fb43a91a83d8bc49e1acc13132ed2e47 (commit)
       via  8c084693ae0dfa3af45aee58c20bfc6655a7d5b6 (commit)
       via  690aae98587899bf1c419d101bec12d4a250a7d5 (commit)
       via  09e7ed66cf8f63905a65618c82e26bc5577998de (commit)
      from  ccaa0ba4b4077936dfa4a4597ae3f989e55110e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e1f6f05e59910a6f78d2acf01987de6662995058
Merge: ccaa0ba4b4077936dfa4a4597ae3f989e55110e7 3be140d9e984bebdbdbe9f2510f66031e3c5ee77
Author: Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Date:   Fri Nov 14 11:03:54 2008 -0800

    Merge commit 'gdb/master' into catch-syscall

commit 3be140d9e984bebdbdbe9f2510f66031e3c5ee77
Author: Bob Wilson <bob.wilson@acm.org>
Date:   Fri Nov 14 17:37:28 2008 +0000

    	* xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
    	(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id)
    	(xtensa_iclass_id, xtensa_opcode_id): New enums.
    	Replace hardcoded constants throughout this file with enum values.

commit d16fcbc21ef626b9901ca0d3d0b628106625dab0
Author: DJ Delorie <dj@delorie.com>
Date:   Fri Nov 14 16:02:56 2008 +0000

    merge from gcc

commit a71153ce043f52ca363a8035676a90db12f30c2e
Author: Daniel Jacobowitz <dan@debian.org>
Date:   Fri Nov 14 15:10:49 2008 +0000

    	Revert:
    
    	2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>
    
    	* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
    	* Makefile.in: Regenerated.
    
    	2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
    
    	* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
    	* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
    	(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
    	(HOST_EXPORTS): Pass CPPFLAGS.
    	(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
    	(LDFLAGS_FOR_TARGET): Initialize from configure script.
    	(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
    	* Makefile.in, configure: Regenerated.
    	* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
    	and CPPFLAGS_FOR_BUILD.

commit 0b807f33b56ef78d63f109ff9a4e3e319eb7e1a2
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Nov 14 14:44:08 2008 +0000

            bfd/
            * elf.c (assign_file_positions_for_load_sections): Use header_size
            to avoid moving the load address of file headers.
            (assign_file_positions_for_load_sections): Set header_size for
            segments containing the file header.
    
            include/elf/
            * internal.h (struct elf_segment_map): Add header_size field.

commit 5f46815bbecea439e9d6e3fa83eb7702fb88e922
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Nov 14 09:57:33 2008 +0000

    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.

commit 74d79707f40389a05871d03cd15317133499499a
Author: Doug Evans <dje@google.com>
Date:   Fri Nov 14 06:55:40 2008 +0000

    (set_lang_c): Delete.
    (runto_main): If it fails, call fail instead of gdb_suppress_tests.

commit 88265ac9d34f5b1ec2f47ca904b90fcae20f9d38
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Nov 14 00:00:09 2008 +0000

    daily update

commit 6cfee05ee690924f16e7cb8eda2b22dfefb40847
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Nov 14 00:00:03 2008 +0000

    *** empty log message ***

commit c0cc8543ca517ca66ffc2126f320879d32bdecb1
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Nov 13 23:09:47 2008 +0000

            * configure.in: Deactivate large-file support on native 32bit
            sparc-solaris unless the user explicitly requested it.
            * configure: Regenerate.

commit bb98fe7a5f9e0b90b1aaff59fd62cd2dec5eed1b
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Nov 13 22:26:15 2008 +0000

            * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.

commit 08aa4efd40eb14274574e129b0ce8d1756fb741d
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Thu Nov 13 15:07:53 2008 +0000

    gdb/ChangeLog:
    
    	* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
    	AT_EXECFN.  Re-sort AT_SECURE.
    
    include/elf/ChangeLog:
    
    	* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.

commit 600a41079dc401cd1e4d238791aa3d66b38c8c7b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Nov 13 15:02:12 2008 +0000

    	* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.

commit ea43dff71db75a21354d8720a58a793dbbf5f5d9
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Nov 13 05:05:07 2008 +0000

            * ia64-tdep.c: Remove commented out #define.

commit 3bc893e160cf38a01c0d63a0f0be9f90ef534c1c
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Thu Nov 13 03:01:14 2008 +0000

    	PR ld/7028
    	* elf.c (assign_file_positions_for_load_sections): Allocate phrds
    	with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
    	the possibly-preset header-size, not the computed one.

commit 57b38614cf581206f5f72d8cf02cbca2eb76f198
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Nov 13 01:26:43 2008 +0000

    	* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
    	instead of the "gdbsim_ops" global.

commit 707a8605fb43a91a83d8bc49e1acc13132ed2e47
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Nov 13 00:00:05 2008 +0000

    daily update

commit 8c084693ae0dfa3af45aee58c20bfc6655a7d5b6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Nov 13 00:00:03 2008 +0000

    *** empty log message ***

commit 690aae98587899bf1c419d101bec12d4a250a7d5
Author: Joel Sherrill <joel@oarcorp.com>
Date:   Wed Nov 12 22:05:17 2008 +0000

    2008-11-12  Joel Sherrill <joel.sherrill@oarcorp.com>
    
    	* aclocal.m4:  Fix underquoting of function names.

commit 09e7ed66cf8f63905a65618c82e26bc5577998de
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Nov 12 22:04:03 2008 +0000

    	PR 7023
    	* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                           |   30 +
 Makefile.def                        |    2 -
 Makefile.in                         |   13 +-
 Makefile.tpl                        |   11 +-
 bfd/ChangeLog                       |   45 +-
 bfd/bfdio.c                         |   26 +
 bfd/configure                       |   43 +-
 bfd/configure.com                   |   93 ++
 bfd/configure.in                    |   15 +
 bfd/elf.c                           |   39 +-
 bfd/hosts/alphavms.h                |   10 +
 bfd/makefile.vms                    |   19 +-
 bfd/version.h                       |    2 +-
 bfd/vms-hdr.c                       |    4 +-
 bfd/xtensa-modules.c                | 2714 ++++++++++++++++++++++-------------
 configure                           |   13 +-
 configure.ac                        |    8 -
 gdb/ChangeLog                       |   23 +
 gdb/auxv.c                          |    4 +-
 gdb/ia64-tdep.c                     |    3 -
 gdb/monitor.c                       |    3 +-
 gdb/printcmd.c                      |    2 +-
 gdb/remote-sim.c                    |    2 +-
 gdb/testsuite/gdb.base/callexit.exp |   38 +-
 gdb/version.in                      |    2 +-
 include/ChangeLog                   |   10 +
 include/elf/ChangeLog               |    8 +
 include/elf/common.h                |    3 +
 include/elf/internal.h              |    2 +
 include/fopen-vms.h                 |   12 +-
 opcodes/ChangeLog                   |    6 +
 opcodes/makefile.vms                |    8 +-
 sim/common/ChangeLog                |    4 +
 sim/common/aclocal.m4               |   42 +-
 34 files changed, 2079 insertions(+), 1180 deletions(-)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index ef8a40a..dcf365a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+2008-11-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	PR bootstrap/38014
+	PR bootstrap/37923
+
+	Revert:
+
+	2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
+	* Makefile.in: Regenerated.
+
+	2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	PR gdb/921
+	PR gdb/1646
+	PR gdb/2175
+	PR gdb/2176
+
+	* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
+	* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
+	(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
+	(HOST_EXPORTS): Pass CPPFLAGS.
+	(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
+	(LDFLAGS_FOR_TARGET): Initialize from configure script.
+	(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
+	* Makefile.in, configure: Regenerated.
+	* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
+	and CPPFLAGS_FOR_BUILD.
+
 2008-10-29  Stefan Schulze Frielinghaus  <xxschulz@de.ibm.com>
 
 	* configure.ac [spu-*-*]: Do not set skipdirs.
diff --git a/Makefile.def b/Makefile.def
index 5abc54f..832fc42 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -208,7 +208,6 @@ flags_to_pass = { flag= target_alias ; };
 flags_to_pass = { flag= BISON ; };
 flags_to_pass = { flag= CC_FOR_BUILD ; };
 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
-flags_to_pass = { flag= CPPFLAGS_FOR_BUILD ; };
 flags_to_pass = { flag= CXX_FOR_BUILD ; };
 flags_to_pass = { flag= EXPECT ; };
 flags_to_pass = { flag= FLEX ; };
@@ -233,7 +232,6 @@ flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
 flags_to_pass = { flag= BOOT_CFLAGS ; };
 flags_to_pass = { flag= BOOT_LDFLAGS ; };
 flags_to_pass = { flag= CFLAGS ; };
-flags_to_pass = { flag= CPPFLAGS ; };
 flags_to_pass = { flag= CXXFLAGS ; };
 flags_to_pass = { flag= LDFLAGS ; };
 flags_to_pass = { flag= LIBCFLAGS ; };
diff --git a/Makefile.in b/Makefile.in
index e94018b..0305d28 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,7 +137,6 @@ BUILD_EXPORTS = \
 	CC="$(CC_FOR_BUILD)"; export CC; \
 	CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
 	CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-	CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
 	CXX="$(CXX_FOR_BUILD)"; export CXX; \
 	CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
@@ -151,10 +150,9 @@ BUILD_EXPORTS = \
 	WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
 
 # These variables must be set on the make command line for directories
-# built for the build system to override those in BASE_FLAGS_TO_PASS.
+# built for the build system to override those in BASE_FLAGS_TO_PASSS.
 EXTRA_BUILD_FLAGS = \
 	CFLAGS="$(CFLAGS_FOR_BUILD)" \
-	CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
 	LDFLAGS="$(LDFLAGS_FOR_BUILD)"
 
 # This is the list of directories to built for the host system.
@@ -174,7 +172,6 @@ HOST_EXPORTS = \
 	ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
 	CFLAGS="$(CFLAGS)"; export CFLAGS; \
 	CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-	CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
 	CXX="$(CXX)"; export CXX; \
 	CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
 	AR="$(AR)"; export AR; \
@@ -278,7 +275,6 @@ AR_FOR_BUILD = @AR_FOR_BUILD@
 AS_FOR_BUILD = @AS_FOR_BUILD@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
 CXX_FOR_BUILD = @CXX_FOR_BUILD@
 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
@@ -340,7 +336,6 @@ GNATBIND = @GNATBIND@
 GNATMAKE = @GNATMAKE@
 
 CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = @CXXFLAGS@
@@ -404,14 +399,13 @@ COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
 
 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
-CPPFLAGS_FOR_TARGET = @CPPFLAGS_FOR_TARGET@
 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
+LDFLAGS_FOR_TARGET = 
 
 # ------------------------------------
 # Miscellaneous targets and flag lists
@@ -511,7 +505,6 @@ BASE_FLAGS_TO_PASS = \
 	"BISON=$(BISON)" \
 	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
 	"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
-	"CPPFLAGS_FOR_BUILD=$(CPPFLAGS_FOR_BUILD)" \
 	"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
 	"EXPECT=$(EXPECT)" \
 	"FLEX=$(FLEX)" \
@@ -534,7 +527,6 @@ BASE_FLAGS_TO_PASS = \
 	"BOOT_CFLAGS=$(BOOT_CFLAGS)" \
 	"BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
 	"CFLAGS=$(CFLAGS)" \
-	"CPPFLAGS=$(CPPFLAGS)" \
 	"CXXFLAGS=$(CXXFLAGS)" \
 	"LDFLAGS=$(LDFLAGS)" \
 	"LIBCFLAGS=$(LIBCFLAGS)" \
@@ -625,7 +617,6 @@ EXTRA_TARGET_FLAGS = \
 	'AS=$(COMPILER_AS_FOR_TARGET)' \
 	'CC=$$(CC_FOR_TARGET)' \
 	'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
-	'CPPFLAGS=$$(CPPFLAGS_FOR_TARGET)' \
 	'CXX=$$(CXX_FOR_TARGET)' \
 	'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
 	'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
diff --git a/Makefile.tpl b/Makefile.tpl
index 51f5979..051703e 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -140,7 +140,6 @@ BUILD_EXPORTS = \
 	CC="$(CC_FOR_BUILD)"; export CC; \
 	CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
 	CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-	CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
 	CXX="$(CXX_FOR_BUILD)"; export CXX; \
 	CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
@@ -154,10 +153,9 @@ BUILD_EXPORTS = \
 	WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
 
 # These variables must be set on the make command line for directories
-# built for the build system to override those in BASE_FLAGS_TO_PASS.
+# built for the build system to override those in BASE_FLAGS_TO_PASSS.
 EXTRA_BUILD_FLAGS = \
 	CFLAGS="$(CFLAGS_FOR_BUILD)" \
-	CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
 	LDFLAGS="$(LDFLAGS_FOR_BUILD)"
 
 # This is the list of directories to built for the host system.
@@ -177,7 +175,6 @@ HOST_EXPORTS = \
 	ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
 	CFLAGS="$(CFLAGS)"; export CFLAGS; \
 	CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-	CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \
 	CXX="$(CXX)"; export CXX; \
 	CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
 	AR="$(AR)"; export AR; \
@@ -281,7 +278,6 @@ AR_FOR_BUILD = @AR_FOR_BUILD@
 AS_FOR_BUILD = @AS_FOR_BUILD@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
-CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
 CXX_FOR_BUILD = @CXX_FOR_BUILD@
 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
@@ -343,7 +339,6 @@ GNATBIND = @GNATBIND@
 GNATMAKE = @GNATMAKE@
 
 CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = @CXXFLAGS@
@@ -407,14 +402,13 @@ COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
 
 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
-CPPFLAGS_FOR_TARGET = @CPPFLAGS_FOR_TARGET@
 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
+LDFLAGS_FOR_TARGET = 
 
 # ------------------------------------
 # Miscellaneous targets and flag lists
@@ -521,7 +515,6 @@ EXTRA_TARGET_FLAGS = \
 	'AS=$(COMPILER_AS_FOR_TARGET)' \
 	'CC=$$(CC_FOR_TARGET)' \
 	'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
-	'CPPFLAGS=$$(CPPFLAGS_FOR_TARGET)' \
 	'CXX=$$(CXX_FOR_TARGET)' \
 	'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
 	'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0452dbb..b44e3ef 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,6 +1,47 @@
-2008-11-12  Tristan Gingold  <gingold@adacore.com>
+2008-11-14  Bob Wilson  <bob.wilson@acm.org>
 
-	* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
+	* xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
+	(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id)
+	(xtensa_iclass_id, xtensa_opcode_id): New enums.
+	Replace hardcoded constants throughout this file with enum values.
+
+2008-11-14  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* elf.c (assign_file_positions_for_load_sections): Use header_size
+	to avoid moving the load address of file headers.
+	(assign_file_positions_for_load_sections): Set header_size for
+	segments containing the file header.
+
+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.
+
+2008-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.in: Deactivate large-file support on native 32bit
+	sparc-solaris unless the user explicitly requested it.
+	* configure: Regenerate.
+
+2008-11-13  Hans-Peter Nilsson  <hp@axis.com>
+
+	PR ld/7028
+	* elf.c (assign_file_positions_for_load_sections): Allocate phrds
+	with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
+	the possibly-preset header-size, not the computed one.
+
+2008-11-13  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 7023
+	* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.
 
 2008-11-11  Alan Modra  <amodra@bigpond.net.au>
 
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index cb06453..7cba51f 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -86,11 +86,37 @@ close_on_exec (FILE *file)
 FILE *
 real_fopen (const char *filename, const char *modes)
 {
+#ifdef VMS
+  char vms_modes[4];
+  char *vms_attr;
+
+  /* On VMS, fopen allows file attributes as optionnal arguments.
+     We need to use them but we'd better to use the common prototype.
+     In fopen-vms.h, they are separated from the mode with a comma.
+     Split here.  */
+  vms_attr = strchr (modes, ',');
+  if (vms_attr == NULL)
+    {
+      /* No attributes.  */
+      return close_on_exec (fopen (filename, modes));
+    }
+  else
+    {
+      /* Attribute found - rebuild modes.  */
+      size_t modes_len = vms_attr - modes;
+
+      BFD_ASSERT (modes_len < sizeof (vms_modes));
+      memcpy (vms_modes, modes, modes_len);
+      vms_modes[modes_len] = 0;
+      return close_on_exec (fopen (filename, vms_modes, vms_attr + 1));
+    }
+#else /* !VMS */
 #if defined (HAVE_FOPEN64)
   return close_on_exec (fopen64 (filename, modes));
 #else
   return close_on_exec (fopen (filename, modes));
 #endif
+#endif /* !VMS */
 }
 
 /*
diff --git a/bfd/configure b/bfd/configure
index 5cd7e77..9827e6c 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -4934,6 +4934,21 @@ _ACEOF
 _ACEOF
 
 
+
+case "${target}" in
+  sparc-*-solaris*)
+    # On native 32bit sparc-solaris, large-file and procfs support are
+    # mutually exclusive; and without procfs support, the elf module
+    # cannot provide certain routines such as elfcore_write_prpsinfo
+    # or elfcore_write_prstatus.  So unless the user explicitly requested
+    # large-file support through the --enable-largefile switch, disable
+    # large-file support in favor of procfs support.
+    if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
+      enable_largefile="no"
+    fi
+    ;;
+esac
+
 # Check whether --enable-largefile or --disable-largefile was given.
 if test "${enable_largefile+set}" = set; then
   enableval="$enable_largefile"
@@ -5705,13 +5720,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:5708: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:5723: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:5711: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:5726: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:5714: output\"" >&5)
+  (eval echo "\"\$as_me:5729: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -6868,7 +6883,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 6871 "configure"' > conftest.$ac_ext
+  echo '#line 6886 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -8144,11 +8159,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8147: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8162: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8151: \$? = $ac_status" >&5
+   echo "$as_me:8166: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8483,11 +8498,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8486: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8501: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8490: \$? = $ac_status" >&5
+   echo "$as_me:8505: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8588,11 +8603,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8591: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8606: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8595: \$? = $ac_status" >&5
+   echo "$as_me:8610: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -8643,11 +8658,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8646: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8661: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8650: \$? = $ac_status" >&5
+   echo "$as_me:8665: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -11440,7 +11455,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11443 "configure"
+#line 11458 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11536,7 +11551,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11539 "configure"
+#line 11554 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/bfd/configure.com b/bfd/configure.com
index 929977c..de44dfc 100644
--- a/bfd/configure.com
+++ b/bfd/configure.com
@@ -49,12 +49,30 @@ $DECK
       ERASE(match_pos);
       COPY_TEXT('64');
    ENDIF;
+   match_pos := SEARCH_QUIETLY('@bfd_default_target_size@', FORWARD, EXACT, rang);
+   IF match_pos <> 0 THEN;
+      POSITION(BEGINNING_OF(match_pos));
+      ERASE(match_pos);
+      COPY_TEXT('64');
+   ENDIF;
    match_pos := SEARCH_QUIETLY('@BFD_HOST_64BIT_LONG@', FORWARD, EXACT, rang);
    IF match_pos <> 0 THEN;
       POSITION(BEGINNING_OF(match_pos));
       ERASE(match_pos);
       COPY_TEXT('0');
    ENDIF;
+   match_pos := SEARCH_QUIETLY('@BFD_HOST_LONG_LONG@', FORWARD, EXACT, rang);
+   IF match_pos <> 0 THEN;
+      POSITION(BEGINNING_OF(match_pos));
+      ERASE(match_pos);
+      COPY_TEXT('0');
+   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');
+   ENDIF;
    match_pos := SEARCH_QUIETLY('@BFD_HOST_64_BIT_DEFINED@', FORWARD, EXACT, rang);
    IF match_pos <> 0 THEN;
       POSITION(BEGINNING_OF(match_pos));
@@ -75,6 +93,24 @@ $DECK
       ERASE(match_pos);
       COPY_TEXT('uint64');
    ENDIF;
+   match_pos := SEARCH_QUIETLY('@BFD_HOSTPTR_T@', FORWARD, EXACT, rang);
+   IF match_pos <> 0 THEN;
+      POSITION(BEGINNING_OF(match_pos));
+      ERASE(match_pos);
+      COPY_TEXT('uint64');
+   ENDIF;
+   match_pos := SEARCH_QUIETLY('@bfd_file_ptr@', FORWARD, EXACT, rang);
+   IF match_pos <> 0 THEN;
+      POSITION(BEGINNING_OF(match_pos));
+      ERASE(match_pos);
+      COPY_TEXT('bfd_signed_vma');
+   ENDIF;
+   match_pos := SEARCH_QUIETLY('unsigned @bfd_file_ptr@ ufile_ptr', FORWARD, EXACT, rang);
+   IF match_pos <> 0 THEN;
+      POSITION(BEGINNING_OF(match_pos));
+      ERASE(match_pos);
+      COPY_TEXT('bfd_vma ufile_ptr');
+   ENDIF;
    WRITE_FILE(file, GET_INFO(COMMAND_LINE, "output_file"));
    QUIT
 $  EOD


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2008-11-14 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 19:04 sergio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-17 17:57 sergio
2008-11-12 17:40 sergio
2008-11-11 18:33 sergio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081114190420.11889.qmail@sourceware.org \
    --to=sergio@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).