Commit Graph

556 Commits

Author SHA1 Message Date
DJ Delorie
fbe5da0e6f merge from gcc 2010-02-04 17:08:54 +00:00
DJ Delorie
cbc4312826 merge from gcc 2010-02-03 23:28:01 +00:00
DJ Delorie
9ac9c2b6b0 merge from gcc 2010-01-21 02:05:11 +00:00
DJ Delorie
6d390a9ef0 merge from gcc 2010-01-11 19:12:47 +00:00
H.J. Lu
ffe7cfdf31 Return dgs.alc on success
2010-01-09  Ian Lance Taylor  <iant@google.com>

	PR other/42230
	* cp-demangle.c (d_demangle): Return dgs.alc on success.
2010-01-10 01:19:02 +00:00
DJ Delorie
43e85a8f54 merge from gcc 2010-01-05 21:10:30 +00:00
Doug Evans
16b8170d50 * pex-unix.c (pex_unix_exec_child): Save/restore environ. 2009-12-08 07:15:36 +00:00
DJ Delorie
19afebdad3 merge from gcc 2009-11-25 23:35:00 +00:00
Ben Elliston
e96158fc77 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.
* configure: Regenerate.
2009-11-25 22:41:09 +00:00
Ben Elliston
cf89a94aae * functions.texi: Rebuild. 2009-11-25 04:54:32 +00:00
Ben Elliston
23d0336260 * README: Mention changes to Makefile.in and functions.texi.
* gather-docs: Mention 'make stamp-functions' in the header.
2009-11-25 04:35:01 +00:00
Ben Elliston
c90188f694 * pex-unix.c (pex_child_error): Improve warning avoidance by
checking the results of write(3) and exiting with -2 if any write
	returns a negative value.
2009-11-23 04:42:14 +00:00
DJ Delorie
ca938790c1 merge from gcc 2009-11-22 16:58:53 +00:00
Ben Elliston
17f99e29c5 * pex-unix.c (pex_child_error): Define writeerr macro to avoid
unused result warnings from write(3) calls.  Undefine writeerr
	after all uses.
2009-11-19 21:17:04 +00:00
DJ Delorie
79e3146812 merge from gcc 2009-10-09 04:49:52 +00:00
DJ Delorie
664aa91f58 merge from gcc 2009-10-02 18:23:01 +00:00
DJ Delorie
572771db36 merge from gcc 2009-09-23 17:59:27 +00:00
Kai Tietz
074d710de7 2009-09-22 Ozkan Sezer <sezeroz@gmail.com>
* choose-temp.c: Include unistd.h for mingw targets.
2009-09-22 16:33:56 +00:00
DJ Delorie
a17fcd1940 merge from gcc 2009-09-16 17:57:24 +00:00
DJ Delorie
bc426d7a8b merge from gcc 2009-09-15 15:21:58 +00:00
DJ Delorie
a05e8785c7 merge from gcc 2009-09-11 16:05:46 +00:00
Nick Clifton
1e9cc1c27b * po/bfd.pot: Updated by the Translation project.
* po/binutils.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gprof.pot: Updated by the Translation project.
        * po/sv.po: Updated Swedish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

        Updated soruces in ld/* to compile cleanly with -Wc++-compat:
        * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
        * ldcref.c: Add casts.
        * ldctor.c: Add casts.
        * ldexp.c
        * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
        * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
        * ldlang.h (enum statement_enum): Move to top level.
        * ldmain.c: Add casts.
        * ldwrite.c: Add casts.
        * lexsup.c: Add casts. (enum control_enum): Move to top level.
        * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

        * as.c (main): Call dwarf2_init.
        * config/obj-elf.c (struct group_list): New field.
        (build_group_lists): Use hash lookup.
        (free_section_idx): New function.
        (elf_frob_file): Adjust.
        * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
        (get_line_subseg): Adjust.
        (dwarf2_init): New function.
        * dwarf2dbg.h (dwarf2_init): New declaration.
2009-09-11 15:27:38 +00:00
H.J. Lu
b4a451f5e1 2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065
	* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
	with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
	* config.in: Regenerated.
	* configure: Regenerated.
2009-09-04 14:33:39 +00:00
H.J. Lu
fca6a796b7 2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065
	* configure.ac: Also check for intptr_t.
	* config.h.in: Regenerated.
	* configure: Regenerated.
	* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
	instead of of long.
2009-09-03 16:46:55 +00:00
Tristan Gingold
fce11aaae3 (Also add missing entry for configure.com)
2009-09-02  Tristan Gingold  <gingold@adacore.com>

	* vmsbuild.com: Removed as unused and superceeded by makefile.vms.
	* makefile.vms: Ported to Itanium VMS.  Remove useless targets and
	dependencies.  Remove unused FORMAT variable.
	* configure.com: New file to create build.com DCL script for
	Itanium VMS or Alpha VMS.
2009-09-02 15:23:35 +00:00
DJ Delorie
77495bbfbf merge from gcc 2009-09-01 14:27:38 +00:00
Tristan Gingold
e06ae0d430 2009-09-01 Tristan Gingold <gingold@adacore.com>
* makefile.vms: Ported to Itanium VMS.  Remove useless targets and
	dependencies.  Remove unused FORMAT variable.
	* configure.com: New file to create build.com DCL script for
	Itanium VMS or Alpha VMS.
2009-09-01 13:16:53 +00:00
Ralf Wildenhues
d444d2baea Sync from GCC: Update AC_PREREQ entries to 2.64.
/:
	* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
	* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
	* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
	* configure.ac (AC_PREREQ): Bump to 2.64.
2009-08-24 19:12:57 +00:00
H.J. Lu
7a0801a904 2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10536
	 * Makefile.in (install-html-recursive): Removed.
2009-08-23 19:03:58 +00:00
DJ Delorie
7508667609 merge from gcc 2009-08-22 14:31:16 +00:00
DJ Delorie
626aaf8909 merge from gcc 2009-08-13 17:04:01 +00:00
DJ Delorie
b0832eea40 merge from gcc 2009-07-29 20:01:28 +00:00
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