DJ Delorie
17a16b0f10
merge from gcc
2011-07-25 17:11:48 +00:00
DJ Delorie
26ac12805d
merge from gcc
2011-07-22 14:37:58 +00:00
DJ Delorie
f2917a30d0
merge from gcc
2011-07-05 15:40:17 +00:00
Joel Brobecker
7d6b320b79
[libiberty/filename_cmp] Darwin has case-insensitive filesystems
...
include/ChangeLog:
* filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define
on Darwin, as well as on the systems that use a DOS-like
filesystem.
libiberty/ChangeLog:
* filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
2011-07-01 18:24:39 +00:00
Jan Kratochvil
02e7efbffb
merge from gcc
...
libiberty/
PR debug/49408
* cp-demangle.c (d_print_comp): Suppress argument list for function
references by the '&' unary operator. Keep also already processed
variant without the argument list. Suppress argument list types for
function call used in an expression.
* testsuite/demangle-expected: Fix excessive argument list types in
`test for typed function in decltype'. New testcase for no argument
list types printed. 3 new testcases for function references by the
'&' unary operator..
2011-07-01 17:30:48 +00:00
DJ Delorie
b24539b3f7
merge from gcc
2011-06-22 19:13:44 +00:00
DJ Delorie
ddee5e46a4
merge from gcc
2011-06-13 23:01:48 +00:00
DJ Delorie
02d1f5acc5
merge from gcc
2011-06-13 16:37:46 +00:00
Corinna Vinschen
fe817eb1a3
* strsignal.c (psignal): Change second parameter to const char *.
...
Fix comment accordingly.
2011-05-17 16:14:52 +00:00
DJ Delorie
4ff224cb8d
merge from gcc
2011-04-20 19:06:46 +00:00
DJ Delorie
a55c6f410e
merge from gcc
2011-04-10 19:15:10 +00:00
Tristan Gingold
083faca904
bfd/
...
2011-03-31 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning.
(_bfd_vms_write_etir): Ditto.
(_bfd_vms_slurp_etir): Avoid to use intptr_t
* configure.com: Generate bfd_stdint.h
binutils/
2011-03-31 Tristan Gingold <gingold@adacore.com>
* makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
libiberty/
2011-03-31 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Add filename_cmp.obj
2011-03-31 11:08:41 +00:00
DJ Delorie
d0f0b69d10
merge from gcc
2011-03-25 16:38:27 +00:00
Michael Snyder
12f23c24fa
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* cplus-dem.c (ada_demangle): Stop memory leak.
Also fix a one line indent problem.
2011-03-04 18:25:32 +00:00
Kai Tietz
007d618909
ChangeLog libiberty/
...
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filename_cmp.c (filename_ncmp): New function.
* functions.texi: Regenerated.
ChangeLog include/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filenames.h (filename_ncmp): New prototype.
ChangeLog bfd/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
(adjust_relative_path): Likewise.
(_bfd_construct_extended_name_table): Likewise.
* corefile.c (generic_core_file_matches_executable_p): Likewise.
* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-spu.c (sort_bfds): Likewise.
(spu_elf_auto_overlay): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* xcofflink.c (xcoff_set_import_path): Likewise.
* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
(xtensa_regfile_lookup_shortname): Likewise.
2011-02-28 18:30:16 +00:00
Ralf Wildenhues
d4d868a280
libiberty: documentation markup and order fixes.
...
libiberty/:
* splay-tree.c: Escape wrapping newlines in texinfo markup
with '@', to fix function declaration output rendering.
* gather-docs: Relax and improve macro name matching to actually
match all current names and to allow input line wrapping.
* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
pexecute.txh, random.c, setenv.c, setproctitle.c,
simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
Wrap long texinfo input lines.
* functions.texi: Regenerate.
2011-02-03 07:23:59 +00:00
DJ Delorie
59e11e1703
merge from gcc
2011-01-03 21:05:58 +00:00
Mike Frysinger
8b9a522f57
bfd/binutils/gas/gprof/ld/libiberty/opcodes: add .gitignore
...
This seems to cover a few random targets as well as --enable-targets=all.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-09 09:03:18 +00:00
DJ Delorie
98f0b5d4e5
merge from gcc
2010-12-08 16:24:43 +00:00
DJ Delorie
531ff9fd96
merge from gcc
2010-11-29 16:34:15 +00:00
DJ Delorie
62b06a9e17
merge from gcc
2010-11-21 04:01:17 +00:00
Ralf Wildenhues
9b980aa1ed
PR other/46202: implement install-strip.
...
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
etc/:
* Makefile.in (install-strip): New target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
2010-11-20 19:37:58 +00:00
DJ Delorie
f9e6589d87
merge from gcc
2010-11-17 02:03:43 +00:00
H.J. Lu
a0692e366a
Properly demangle a global constructor symbol.
...
2010-11-16 H.J. Lu <hongjiu.lu@intel.com>
PR other/42670
PR binutils/11137
* cp-demangle.c (d_make_demangle_mangled_name): New.
(d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
* testsuite/demangle-expected: Updated.
2010-11-16 17:58:26 +00:00
DJ Delorie
28fadfc482
merge from gcc
2010-11-14 21:42:55 +00:00
DJ Delorie
361c311554
merge from gcc
2010-11-13 02:20:31 +00:00
Richard Henderson
9c55e06476
Use spawnve on cygwin.
...
* configure.ac (AC_CHECK_HEADERS): Add process.h.
(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
* configure, config.in: Rebuild.
* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
2010-11-04 23:41:21 +00:00
DJ Delorie
ffa54e5c48
merge from gcc
2010-11-02 15:20:47 +00:00
DJ Delorie
80347f88a2
merge from gcc
2010-10-30 00:01:15 +00:00
DJ Delorie
85f1f7cf9b
merge from gcc
2010-10-26 19:18:21 +00:00
DJ Delorie
94e482001f
merge from gcc
2010-10-07 16:20:37 +00:00
DJ Delorie
9711ae4d9f
merge from gcc
2010-10-06 23:01:30 +00:00
DJ Delorie
6a44904e97
merge from gcc
2010-09-27 21:01:18 +00:00
Tom Tromey
57cf60a5bb
2010-09-10 James Lyon <jameslyon0@googlemail.com>
...
http://sourceware.org/bugzilla/show_bug.cgi?id=11572
* cp-demangle.c (d_find_pack): Add case for
DEMANGLE_COMPONENT_LAMBDA.
* testsuite/demangle-expected: Add regression test.
2010-09-10 22:42:05 +00:00
DJ Delorie
497462ef9e
merge from gcc
2010-09-09 17:39:52 +00:00
DJ Delorie
23701f2e4d
merge from gcc
2010-08-20 23:58:16 +00:00
Nick Clifton
9d8d6261e3
* argv.c (expandargv): Limit the number of times that response
...
files are opened in order to prevent infinite recursion.
2010-08-13 11:36:10 +00:00
DJ Delorie
ae30dc00b4
merge from gcc
2010-07-21 16:08:01 +00:00
Ulrich Weigand
f9e9243aad
include/ChangeLog:
...
2010-07-06 Ken Werner <ken.werner@de.ibm.com>
* floatformat.h (floatformat_ieee_half_big): Add declaration.
(floatformat_ieee_half_little): Likewise.
libiberty/ChangeLog:
2010-07-06 Ken Werner <ken.werner@de.ibm.com>
* floatformat.c (floatformat_ieee_half_big): New variable.
(floatformat_ieee_half_little): Likewise.
gdb/ChangeLog:
2010-07-06 Ken Werner <ken.werner@de.ibm.com>
* gdbtypes.h (floatformats_ieee_half): Add declaration.
* gdbtypes.c (floatformats_ieee_half): New variable.
* doublest.c (floatformat_from_length): Set format to
gdbarch_half_format if length matches.
* gdbarch.sh (half_bit): New architecture method.
(half_format): Likewise.
* gdbarch.h: Regenerate.
* gdbarch.c: Likewise.
2010-07-06 12:56:24 +00:00
DJ Delorie
6b13a44ce0
merge from gcc
2010-06-14 19:23:23 +00:00
DJ Delorie
219a461e6c
merge from gcc
2010-06-10 18:30:24 +00:00
Jakub Jelinek
3baae9d67e
PR other/43838
...
* cp-demangle.c (struct d_print_info): Add flush_count field.
(d_print_init): Initialize it to 0.
(d_print_flush): Increment it.
(d_print_comp): If needed flush before appending ", ". Only
decrement dpi->len if no flushes happened during the recursive
call.
* testsuite/demangle-expected: Add a test for this.
2010-06-10 15:42:01 +00:00
DJ Delorie
a28030212f
merge from gcc
2010-06-03 16:54:11 +00:00
DJ Delorie
0a5b531f15
merge from gcc
2010-05-26 18:16:19 +00:00
DJ Delorie
cf383746fa
merge from gcc
2010-05-06 21:40:04 +00:00
DJ Delorie
2cd2156f48
merge from gcc
2010-04-24 01:03:21 +00:00
DJ Delorie
45ecb02a77
merge from gcc
2010-04-07 21:16:24 +00:00
DJ Delorie
f9b58c5ba6
merge from gcc
2010-03-22 21:39:44 +00:00
DJ Delorie
178bead7ef
merge from gcc
2010-03-15 17:33:40 +00:00
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
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
DJ Delorie
b68965a0fa
merge from gcc
2008-03-25 01:02:13 +00:00
DJ Delorie
daddbc6edd
merge from gcc
2008-03-24 18:06:37 +00:00
DJ Delorie
6b357a9d2d
merge from gcc
2008-03-13 19:13:36 +00:00
DJ Delorie
3f69c6bf14
merge from gcc
2008-03-11 16:11:55 +00:00
Ben Elliston
610f48948e
PR other/12618
...
* testsuite/Makefile.in (mostlyclean): Remove any core file.
2008-02-19 03:22:19 +00:00
David Daney
830ef6349c
include/
...
2008-01-26 David Daney <ddaney@avtrex.com>
* demangle.h (demangle_component_type): Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.
libiberty/
2008-01-26 David Daney <ddaney@avtrex.com>
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.
2008-01-27 06:25:45 +00:00
Ben Elliston
b4b41ceb4a
2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
...
* cplus-dem.c (demangle_function_name): Changed to return value
indicating if a name was correctly demangled.
(iterate_demangle_function): Use demangle_function_name return
value.
2008-01-23 05:12:47 +00:00
DJ Delorie
145f4ab500
merge from gcc
2008-01-19 01:18:42 +00:00
DJ Delorie
38e654e2b5
merge from gcc
2007-11-13 15:12:42 +00:00
DJ Delorie
f4c43811f7
merge from gcc
2007-11-13 01:00:40 +00:00
Joseph Myers
3702a1b884
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
...
compiler warnings.
(floatformat_ibm_long_double): Use
floatformat_ibm_long_double_is_valid.
2007-11-13 00:38:30 +00:00
Joseph Myers
b14d30e141
include:
...
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.
libiberty:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it. Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.
gdb:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdbtypes.c (floatformats_ibm_long_double): New.
* gdbtypes.h (floatformats_ibm_long_double): Declare.
* ia64-tdep.c (floatformat_ia64_ext): Update for addition of
split_half field.
* mips-tdep.c (n32n64_floatformat_always_valid,
floatformat_n32n64_long_double_big, floatformats_n32n64_long):
Remove.
(mips_gdbarch_init): Use floatformats_ibm_long_double instead of
floatformats_n32n64_long.
* ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
double.
* doublest.c (convert_floatformat_to_doublest,
convert_doublest_to_floatformat): Handle split floating-point
formats.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
double arguments.
(ppc64_sysv_abi_push_dummy_call): Likewise.
(do_ppc_sysv_return_value): Handle IBM long double return.
2007-11-08 00:08:48 +00:00
DJ Delorie
3a0ab69515
merge from gcc
2007-09-06 17:22:39 +00:00
DJ Delorie
8969a67f0a
merge from gcc
2007-08-31 20:20:49 +00:00
DJ Delorie
29d89e071e
merge from gcc
2007-08-24 16:08:40 +00:00
DJ Delorie
cefec4092d
merge from gcc
2007-08-17 19:31:01 +00:00
DJ Delorie
9250f7f0d2
merge from gcc
2007-08-03 19:49:44 +00:00
Michael Snyder
168b82983a
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* cp-demangle.c (d_print_comp): Guard against null.
2007-08-01 19:43:08 +00:00
Ben Elliston
642c7534bd
* Makefile.in (CFILES): Remove ternary.c.
...
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.
2007-07-25 06:36:27 +00:00