Commit Graph

524 Commits

Author SHA1 Message Date
DJ Delorie
9fef968a22 merge from gcc 2009-07-27 19:01:17 +00:00
DJ Delorie
bdc0e08dbc merge from gcc 2009-07-25 11:28:20 +00:00
DJ Delorie
6e88169156 merge from gcc 2009-07-25 00:01:58 +00:00
DJ Delorie
d503175434 merge from gcc 2009-07-17 20:20:45 +00:00
DJ Delorie
483d7cf40a merge from gcc 2009-06-21 17:13:08 +00:00
Nick Clifton
5d7aee1055 PR 10197
* testsuite/test-demangle.c: Rename getline to get_line to avoid
        conflicts with system function of the same name.
2009-06-16 12:44:35 +00:00
DJ Delorie
8893fa2020 merge from gcc 2009-05-30 05:18:46 +00:00
DJ Delorie
3a9f84103f merge from gcc 2009-05-29 21:01:50 +00:00
Kai Tietz
b69c3c5586 2009-05-29 Kai Tietz <kai.tietz@onevision.com>
* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
2009-05-29 20:19:14 +00:00
DJ Delorie
0dc69033a0 merge from gcc 2009-05-29 03:01:15 +00:00
Tristan Gingold
56ae5eb977 2009-05-25 Tristan Gingold <gingold@adacore.com>
* makefile.vms: New file to compile gas on VMS.

	* configure.com: New file to do configuration on VMS with DCL.
2009-05-25 13:27:56 +00:00
DJ Delorie
4e55d6c3ee merge from gcc 2009-05-19 03:02:30 +00:00
Julian Brown
ed20019d73 libiberty/
* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
	standard handles (stdin, stdout, stderr) in parent.
2009-05-17 13:12:28 +00:00
DJ Delorie
3ea7450594 merge from gcc 2009-04-29 16:15:54 +00:00
Julian Brown
59cdf84270 libiberty/
* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
	(pex_win32_exec_child): Ensure each process has only one handle open
	on pipe endpoints. Close standard input after creating child
	for symmetry with standard output/standard error.
2009-04-29 11:52:41 +00:00
DJ Delorie
e1ad6b9af7 merge from gcc 2009-04-26 02:25:10 +00:00
DJ Delorie
68724c3d39 merge from gcc 2009-04-14 18:05:58 +00:00
Kai Tietz
587c6b96ef Merged from gcc head revision 146001.
2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>

        PR target/39397
        * pex-common.h (struct pex_obj): Store pid values as pid_t,
        not as long (members *children and (*wait))
        * pex-common.c (pex_run_in_environment): Likewise.
        * pex-win32.c (pex_win32_wait): Return pid_t and properly check
        returned pid value.
        * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
        * pex-msdos.c (pex_msdos_wait): Likewise.
2009-04-13 10:48:27 +00:00
DJ Delorie
3c72fdec4e merge from gcc 2009-04-08 16:42:57 +00:00
DJ Delorie
10e1b6bb90 merge from gcc 2009-03-27 23:07:30 +00:00
DJ Delorie
e2e1864d3b merge from gcc 2009-03-23 22:05:12 +00:00
DJ Delorie
c743cf5d81 merge from gcc 2009-03-18 00:07:49 +00:00
DJ Delorie
3ca747ab0c merge from gcc 2009-02-23 00:16:38 +00:00
Dave Korn
1b5bf94466 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
as it no longer shares libiberty object files.
	* configure:  Regenerated.
2009-01-18 23:12:15 +00:00
DJ Delorie
60cf58f5cf merge from gcc 2009-01-07 18:52:57 +00:00
DJ Delorie
4e59450ef0 merge from gcc 2008-12-18 15:56:12 +00:00
DJ Delorie
d2825c1a4c merge from gcc 2008-12-10 23:28:19 +00:00
DJ Delorie
e2ce1e4a41 merge from gcc 2008-11-21 15:04:35 +00:00
Tristan Gingold
3c9ab205d3 (Chunk I forgot to commit on 2008-11-14).
2008-11-13  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-11-21 10:21:00 +00:00
DJ Delorie
caa846806e merge from gcc 2008-11-14 16:02:56 +00:00
Tristan Gingold
d387240a63 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.
2008-11-14 09:57:35 +00:00
Daniel Jacobowitz
bb52de30f4 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.

	libiberty/
	* Makefile.in (CPPFLAGS): Define.
	(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
2008-10-22 13:35:30 +00:00
DJ Delorie
eff85da5fb merge from gcc 2008-10-16 02:47:08 +00:00
DJ Delorie
06d61999fb merge from gcc 2008-10-08 17:55:27 +00:00
David Edelsohn
de8a05ff34 * xstrdup.c: Include <sys/types.h> after "config.h". 2008-10-08 16:53:29 +00:00
H.J. Lu
899de17032 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* configure.ac: Call AC_SYS_LARGEFILE.
	* config.in: Regenerated.
	* configure: Likewise.
2008-10-07 16:44:52 +00:00
DJ Delorie
1c08f2c880 merge from gcc 2008-10-07 01:28:01 +00:00
Jan Kratochvil
d053aef827 bfd/
Fix loading large elf64 binaries on 32bit hosts.
	* configure.in: Call AC_SYS_LARGEFILE.
	* config.in: Regenerate.
	* configure: Regenerate.

binutils/
	Fix loading large elf64 binaries on 32bit hosts.
	* configure.in: Call AC_SYS_LARGEFILE.
	* config.in: Regenerate.
	* configure: Regenerate.

gas/
	* configure.in: Call AC_SYS_LARGEFILE.
	* config.in: Regenerate.
	* configure: Regenerate.

gprof/
	* configure.in: Call AC_SYS_LARGEFILE.
	* gconfig.in: Regenerate.
	* configure: Regenerate.

ld/
	* configure.in: Call AC_SYS_LARGEFILE.
	* config.in: Regenerate.
	* configure: Regenerate.

libiberty/
	* configure.in: Call AC_SYS_LARGEFILE.
	* config.in: Regenerate.
	* configure: Regenerate.
2008-09-11 19:02:04 +00:00
DJ Delorie
ba8cb4bac5 merge from gcc 2008-09-09 18:21:49 +00:00
DJ Delorie
bd8aab1c29 merge from gcc 2008-08-07 20:00:53 +00:00
DJ Delorie
8975bb3072 merge from gcc 2008-07-31 22:01:30 +00:00
DJ Delorie
f562800dc4 merge from gcc 2008-07-31 19:06:35 +00:00
DJ Delorie
b7d9aef1b3 merge from gcc 2008-07-24 13:51:49 +00:00
Eric Blake
2c19758174 2008-06-19 Eric Blake <ebb9@byu.net>
Adjust strsignal to POSIX 200x prototype.
	* strsignal.c (strsignal): Remove const.
2008-06-19 15:17:56 +00:00
DJ Delorie
c8536f380f merge from gcc 2008-06-18 03:36:03 +00:00
DJ Delorie
83ef53a94d merge from gcc 2008-06-15 18:33:29 +00:00
DJ Delorie
017c113877 merge from gcc 2008-04-21 22:30:17 +00:00
DJ Delorie
5ae542419d merge from gcc 2008-04-18 15:14:13 +00:00
DJ Delorie
dddc49b73b merge from gcc 2008-03-31 18:11:50 +00:00
Paolo Bonzini
c779bab85b 2008-03-27 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove.
	* Makefile.in: Regenerate.

config:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* extensions.m4: New.

2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* mh-armpic: Remove.
	* mh-i370pic: Remove.
	* mh-m68kpic: Remove.
	* mh-ppcpic: Remove.
	* mh-sparcpic: Remove.
	* mh-ia64pic: Remove.
	* mh-papic: Remove.
	* mh-s390pic: Remove.
	* mh-x86pic: Remove.

libiberty:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac (frags): Don't set, use frag instead.
	(PICFLAG): Set here and substitute.
	* Makefile.in (PICFLAG): Substitute from autoconf.
	* configure: Regenerate.
2008-03-27 14:16:55 +00:00