OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years ago * symtab.c (basic_lookup_transparent_type): Call pre-expand
kseitz [Fri, 23 Jul 2010 17:42:11 +0000 (17:42 +0000)]
* symtab.c (basic_lookup_transparent_type): Call pre-expand
hook for STATIC_BLOCK types, too.

14 years agoAdd support for v850E2 and v850E2V3
nickc [Fri, 23 Jul 2010 14:52:41 +0000 (14:52 +0000)]
Add support for v850E2 and v850E2V3

14 years ago * dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
kseitz [Fri, 23 Jul 2010 14:43:33 +0000 (14:43 +0000)]
* dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
and vector definition.

14 years agogdb/
jkratoch [Fri, 23 Jul 2010 12:18:58 +0000 (12:18 +0000)]
gdb/
* linux-nat.c (cancel_breakpoint): Remove unused forward declaration.

14 years ago * fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
corinna [Fri, 23 Jul 2010 10:08:33 +0000 (10:08 +0000)]
* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
special handling.

14 years ago PR gas/11834
amodra [Fri, 23 Jul 2010 06:44:24 +0000 (06:44 +0000)]
PR gas/11834
* macro.c (macro_expand): Recover gracefully from named args that
don't match params.

14 years ago2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Fri, 23 Jul 2010 02:16:28 +0000 (02:16 +0000)]
2010-07-22  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
        _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
        _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
        _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
        _findnexti64): Correct definition.

14 years agodaily update
amodra [Fri, 23 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 23 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/
jkratoch [Thu, 22 Jul 2010 16:24:34 +0000 (16:24 +0000)]
gdb/
* dwarf2read.c: Include completer.h.
(save_gdb_index_command): Use matching usage command name.
(_initialize_dwarf2_read): New variable c, initialize it by add_cmd.
Set filename_completer for it.

14 years ago * dwarf2read.c (create_debug_types_hash_table): Set objfile on
tromey [Thu, 22 Jul 2010 15:53:47 +0000 (15:53 +0000)]
* dwarf2read.c (create_debug_types_hash_table): Set objfile on
type signature's per-CU data.

14 years ago * archive.c (_bfd_archive_bsd44_construct_extended_name_table):
amodra [Thu, 22 Jul 2010 14:48:54 +0000 (14:48 +0000)]
* archive.c (_bfd_archive_bsd44_construct_extended_name_table):
Correct format specifier.

14 years ago * ecoff.c: Don't include aout/ranlib.h.
amodra [Thu, 22 Jul 2010 14:29:15 +0000 (14:29 +0000)]
* ecoff.c: Don't include aout/ranlib.h.
(_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs.
(_bfd_ecoff_write_armap): Output ar_date and ar_size using
_bfd_ar_spacepad.

14 years ago * aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
amodra [Thu, 22 Jul 2010 14:07:09 +0000 (14:07 +0000)]
* aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
relocs.

14 years ago * NEWS: Mention target reported shared libraries support by
palves [Thu, 22 Jul 2010 10:52:01 +0000 (10:52 +0000)]
* NEWS: Mention target reported shared libraries support by
default.

14 years ago2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 22 Jul 2010 10:47:30 +0000 (10:47 +0000)]
2010-07-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Revert change
        from 2010-07-17 since it breaks several applications.

14 years ago2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
tschwinge [Thu, 22 Jul 2010 07:39:19 +0000 (07:39 +0000)]
2010-07-22  Thomas Schwinge  <thomas@codesourcery.com>

Switch MIPS to 32-bit DWARF format.
* config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
* config/tc-mips.c (mips_dwarf2_format): Likewise.

14 years ago * readelf.c: Add Moxie support.
amodra [Thu, 22 Jul 2010 04:54:10 +0000 (04:54 +0000)]
* readelf.c: Add Moxie support.

14 years ago * gas/arm/mapdir.s: Don't specify attr/type for .fini_array.
amodra [Thu, 22 Jul 2010 04:48:17 +0000 (04:48 +0000)]
* gas/arm/mapdir.s: Don't specify attr/type for .fini_array.
* gas/elf/dwarf2-3.s: Don't specify attr for .init_array.
* gas/elf/dwarf2-3.d: Don't run on h8300.

14 years ago2010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Thu, 22 Jul 2010 03:10:28 +0000 (03:10 +0000)]
2010-07-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef.

14 years agodaily update
amodra [Thu, 22 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Thu, 22 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * merge.h (Output_merge_string::Merged_string): Remove object, shndx,
ccoutant [Wed, 21 Jul 2010 21:03:54 +0000 (21:03 +0000)]
* merge.h (Output_merge_string::Merged_string): Remove object, shndx,
string, and length fields.
(Output_merge_string::Merged_strings_list): New type.
(Output_merge_string::Merged_strings_lists): New typedef.
(Output_merge_string): Replace merged_strings_ with
merged_strings_lists_.
* merge.cc (Output_merge_string::do_add_input_section): Allocate new
Merged_strings_list per input object and section.  Don't store pointer
to the string.  Don't store length with each merged string entry.
(Output_merge_string::finalize_merged_data): Loop over list of merged
strings lists.  Recompute length of each merged string.

14 years agogdb/
palves [Wed, 21 Jul 2010 18:08:26 +0000 (18:08 +0000)]
gdb/
2010-07-21  Pedro Alves  <pedro@codesourcery.com>

PR symtab/11827

Revert:
2010-05-21  Pierre Muller  <muller@ics.u-strasbg.fr>
* dwarf2read.c (process_die): Also allow DW_TAG_const_type
and DW_TAG_volatile_type.
(new_symbol): Likewise.

gdb/testsuite/
2010-07-21  Pedro Alves  <pedro@codesourcery.com>

PR symtab/11827

* gdb.base/printcmds.c (enum some_volatile_enum): New enum.
(some_volatile_enum): New variable.
* gdb.base/printcmds.exp (test_print_enums): New.
<top level>: Call it.

14 years agomerge from gcc
dj [Wed, 21 Jul 2010 16:08:00 +0000 (16:08 +0000)]
merge from gcc

14 years agoCorrected pre-overload-resolution function evaluation.
swagiaal [Wed, 21 Jul 2010 14:59:04 +0000 (14:59 +0000)]
Corrected pre-overload-resolution function evaluation.

2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>

* eval.c (evaluate_subexp_standard): Disabled evaluation of C++
function symbols before overload resolution.

2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/fpointer.cc: New test.
* gdb.cp/fpointer.exp: New test.

14 years ago * breakpoint.c (bptype_string): New, abstracted out from
palves [Wed, 21 Jul 2010 11:25:51 +0000 (11:25 +0000)]
* breakpoint.c (bptype_string): New, abstracted out from
print_one_breakpoint_location.
(print_one_breakpoint_location): Adjust.
(breakpoint_1): Adjust the type column width dynamically.

14 years ago * dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
corinna [Wed, 21 Jul 2010 10:30:53 +0000 (10:30 +0000)]
* dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
(transform_chars): New function, copied from Cygwin.
(simple_nt_stat): New function to check file existance using native
NT function.  Explain why.
(directory_exists): Call simple_nt_stat.
(file_exists): Ditto.

14 years ago*** empty log message ***
gdbadmin [Wed, 21 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 21 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agogdb/
jkratoch [Tue, 20 Jul 2010 22:19:06 +0000 (22:19 +0000)]
gdb/
* symfile.c (find_separate_debug_file_by_debuglink): Remove
a gdb_assert call, new comment.

gdb/testsuite/
* gdb.base/solib-nodir.exp: New file.
* lib/gdb.exp (runto): New case for a GDB internal error.

14 years agogdb/testsuite/
jkratoch [Tue, 20 Jul 2010 22:06:59 +0000 (22:06 +0000)]
gdb/testsuite/
* gdb.base/charset-malloc.c: New file.
* gdb.base/charset.c (malloc_stub): New prototype.
(main): Call it instead of malloc itself.
* gdb.base/charset.exp: Use only prepare_for_testing.
(binfile): Remove the variable.

14 years agoAdd missing ChangeLog entry.
hjl [Tue, 20 Jul 2010 21:31:13 +0000 (21:31 +0000)]
Add missing ChangeLog entry.

14 years agold: improve linker script section
vapier [Tue, 20 Jul 2010 19:25:42 +0000 (19:25 +0000)]
ld: improve linker script section

The example version script in the manual currently suggests:
extern "C++" { "int f(int, double)"; }

But a C++ function like that doesn't encode the return type into the
mangled  name, so when the linker demangles things, it ends up with
"f(int, double)"  and so it never matches.

The example also lacks a trailing semicolon after the brace, so the
linker always complains about a syntax error in the file.

While the language section documents the possibilities, it isn't clear
as to which is the default language.  So explicitly state that the C
language is the default.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years ago* gdb/gdbserver/server.c (handle_query): strcpy() the returned string from
sezero [Tue, 20 Jul 2010 18:20:27 +0000 (18:20 +0000)]
* gdb/gdbserver/server.c (handle_query): strcpy() the returned string from
paddress() instead of sprintf().

14 years ago2010-07-20 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Tue, 20 Jul 2010 18:17:51 +0000 (18:17 +0000)]
2010-07-20  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/commctrl.h (LVIF_GROUPID): Fix definition.

2010-07-20  Michael James  <james.me@gmail.com>

        * include/commctrl.h (LVIF_COLUMNS): Fix definition.

14 years ago* gdb/gdbserver/utils.c (paddress): Return phex_nz().
sezero [Tue, 20 Jul 2010 18:10:52 +0000 (18:10 +0000)]
* gdb/gdbserver/utils.c (paddress): Return phex_nz().

14 years agoinclude/elf/
amodra [Tue, 20 Jul 2010 14:08:30 +0000 (14:08 +0000)]
include/elf/
* internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
(ELF_SECTION_SIZE): ..here.
(ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
(ELF_SECTION_IN_SEGMENT_STRICT): New macro.
bfd/
* elf.c (assign_file_positions_for_load_sections): Check that
zero size sections are allocated in segments too.
(assign_file_positions_for_non_load_sections): Warn if zero
size alloc sections are found here.
(copy_elf_program_header): Don't drop zero size sections from
segment map.
(copy_private_bfd_data): Check for changes in zero size sections.
binutils/
* readelf.c (process_program_headers): Don't ignore all zero size
sections.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

14 years agogdb/
jkratoch [Tue, 20 Jul 2010 12:54:57 +0000 (12:54 +0000)]
gdb/
* linux-nat.c (linux_handle_extended_wait): Handle case when
event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP.

14 years agogdb/
jkratoch [Tue, 20 Jul 2010 12:33:29 +0000 (12:33 +0000)]
gdb/
Code cleanup.
* linux-nat.c (linux_nat_wait_1): Reset STATUS after calling
linux_nat_wait_1.  Use always LP->STATUS afterwards.

14 years ago * ld-powerpc/vxworks-relax.s: Add branches to match expected output.
amodra [Tue, 20 Jul 2010 07:22:35 +0000 (07:22 +0000)]
* ld-powerpc/vxworks-relax.s: Add branches to match expected output.
* ld-powerpc/vxworks-relax-2.s: Likewise.
* ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.

14 years ago2010-07-20 Hui Zhu <teawater@gmail.com>
teawater [Tue, 20 Jul 2010 05:58:52 +0000 (05:58 +0000)]
2010-07-20  Hui Zhu  <teawater@gmail.com>

* inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to.
(inf_ptrace_attach): Ditto.

14 years ago * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
amodra [Tue, 20 Jul 2010 05:07:22 +0000 (05:07 +0000)]
* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.

14 years ago * libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
davek [Tue, 20 Jul 2010 01:33:05 +0000 (01:33 +0000)]
* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
(SAFE_RIGHT_SHIFT): Likewise.
* libm/common/s_llround.c (llround): Annotate shift operations with
possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
undefined behaviour.
* libm/common/s_lround.c (lround): Likewise.

14 years ago2010-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 20 Jul 2010 00:18:31 +0000 (00:18 +0000)]
2010-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (HEAP_MAKE_TAG_FLAGS, VALID_INHERIT_FLAGS): Correct
        definition.
        * include/rpcndr.h (NdrUnMarshConfStringHdr, NdrUnMarshCCtxtHdl,
        NdrMarshSCtxtHdl): Ditto.
        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Remove macro
        definition in favour of typedef definition.

        Thank you to Yuta Tomino for reporting the issues.

14 years ago*** empty log message ***
gdbadmin [Tue, 20 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Tue, 20 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoDocument mkostemp and mkostemps.
ericb [Mon, 19 Jul 2010 18:25:41 +0000 (18:25 +0000)]
Document mkostemp and mkostemps.

* textbinary.sgml (textbin-devel): Document temp file behavior.
(textbin-issue): Use sed rather than cat as an example of a
default-mode application.
* new-features.sgml (ov-new1.7.6): Document mkostemp[s].

14 years agoAdd mkostemp and mkostemps.
ericb [Mon, 19 Jul 2010 18:22:40 +0000 (18:22 +0000)]
Add mkostemp and mkostemps.

* mktemp.cc (_gettemp): Add flags argument.  All callers updated.
(mkostemp, mkostemps): New functions.
* cygwin.din (mkostemp, mkostemps): Export.
* posix.sgml: Document them.
* include/cygwin/version.h: Bump version.

14 years agoAdd mkostemp and mkostemps.
ericb [Mon, 19 Jul 2010 18:21:11 +0000 (18:21 +0000)]
Add mkostemp and mkostemps.

* libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
changed.
(mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
for ELIX level 4.
* libc/include/stdlib.h (mktemp): Avoid namespace issues.
(mkostemp, mkostemps): Declare.

14 years agogdb/doc/
jkratoch [Mon, 19 Jul 2010 18:11:31 +0000 (18:11 +0000)]
gdb/doc/
* gdb.texinfo (Active Targets): Fix wrong comma placement.

14 years agogdb/
jkratoch [Mon, 19 Jul 2010 17:51:22 +0000 (17:51 +0000)]
gdb/
Make core files the process_stratum.
* corefile.c (core_target): New variable.
(core_file_command): Remove variable t, use core_target.
* corelow.c (core_ops): Make it static.
(init_core_ops): Change to process_stratum.  Initialize CORE_TARGET.
* defs.h (make_cleanup_unpush_target): New prototype.
* gdbarch.h: Regenerate.
* gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment.
* gdbcore.h (core_target): New declaration.
* inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New
variables ops_already_pushed and back_to.  Use push_target,
make_cleanup_unpush_target and discard_cleanups calls.
* record.c (record_open): Replace core_stratum by a core_bfd check.
* target.c (target_is_pushed): New function.
(find_core_target): Remove.
* target.h (enum strata) <core_stratum>: Remove.
(target_is_pushed): New declaration.
(find_core_target): Remove declaration.
* tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment.
* utils.c (do_unpush_target, make_cleanup_unpush_target): New functions.

gdb/doc/
Make core files the process_stratum.
* gdb.texinfo (Active Targets): Remove core_stratum.  Include
record_stratum example.

gdb/testsuite/
Make core files the process_stratum.
* gdb.base/corefile.exp (run: load core again)
(run: sanity check we see the core file, run: with core)
(run: core file is cleared, attach: load core again)
(attach: sanity check we see the core file, attach: with core)
(attach: core file is cleared): New tests.
* gdb.base/coremaker.c (main): New parameters.  Implement "sleep" argv.

14 years ago * m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
corinna [Mon, 19 Jul 2010 16:57:18 +0000 (16:57 +0000)]
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
__mcf_family_51 since gcc 4.5.1.

14 years agobinutils/testsuite/:
schwab [Mon, 19 Jul 2010 15:11:02 +0000 (15:11 +0000)]
binutils/testsuite/:
* binutils-all/readelf.s: Ignore "Key to Flags" contents.
* binutils-all/readelf.s-64: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.

gas/testsuite/:
* gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents.
* gas/ia64/alias-ilp32.d: Likewise.
* gas/ia64/alias.d: Likewise.
* gas/ia64/group-1.d: Likewise.
* gas/ia64/group-2.d: Likewise.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/secname.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.
* gas/ia64/unwind.d: Likewise.
* gas/mmix/byte-1.d: Likewise.
* gas/mmix/loc-1.d: Likewise.
* gas/mmix/loc-2.d: Likewise.
* gas/mmix/loc-3.d: Likewise.
* gas/mmix/loc-4.d: Likewise.
* gas/mmix/loc-5.d: Likewise.

ld/testsuite/:
* ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.

14 years ago* readelf.c (process_section_headers): Update key to flags.
schwab [Mon, 19 Jul 2010 12:46:01 +0000 (12:46 +0000)]
* readelf.c (process_section_headers): Update key to flags.

14 years ago2010-07-19 Hui Zhu <teawater@gmail.com>
teawater [Mon, 19 Jul 2010 07:55:41 +0000 (07:55 +0000)]
2010-07-19  Hui Zhu  <teawater@gmail.com>

* breakpoint.c (single_step_breakpoints_inserted): New
function.
* breakpoint.h (single_step_breakpoints_inserted): Extern.
* infrun.c (maybe_software_singlestep): Add check code.
* record.c (record_resume): Add code for software single step.
(record_wait): Ditto.

14 years agodaily update
amodra [Mon, 19 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 19 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/
jkratoch [Sun, 18 Jul 2010 21:21:52 +0000 (21:21 +0000)]
gdb/
* linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
a more inner block.  Remove its unused declaration initializer.

14 years ago* autoload.cc (noload): Use "pushl" rather than "push".
cgf [Sun, 18 Jul 2010 20:14:51 +0000 (20:14 +0000)]
* autoload.cc (noload): Use "pushl" rather than "push".

14 years ago* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
cgf [Sun, 18 Jul 2010 20:13:25 +0000 (20:13 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
an interrupt.
(setup_handler): Remove unneeded DEBUGGING handling.  Ensure that stack is
locked when we are about to do push/pop to it.  Fix debugging output.

14 years ago* gendef: Throughout, remove lock from xchgl since it is implied.
cgf [Sun, 18 Jul 2010 20:10:20 +0000 (20:10 +0000)]
* gendef: Throughout, remove lock from xchgl since it is implied.
(__ZN7_cygtls3popEv): Avoid potential (but probably nonexistent) race when
clearing element after pop.

14 years ago2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
bonzini [Sun, 18 Jul 2010 08:12:39 +0000 (08:12 +0000)]
2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/44862
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
Provide -B option to allow for link spec %s substitutions for
libstdc++.a on darwin.
* Makefile.in: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Sun, 18 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 18 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * objcopy.c (copy_usage): Tweak previous typofix.
davek [Sat, 17 Jul 2010 19:33:11 +0000 (19:33 +0000)]
* objcopy.c (copy_usage): Tweak previous typofix.

14 years agoFix a typo in "objcopy --help".
hjl [Sat, 17 Jul 2010 14:41:28 +0000 (14:41 +0000)]
Fix a typo in "objcopy --help".

2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (copy_usage): Fix a typo.

14 years ago * ldlang.c (lang_check_section_addresses): Catch overlap for
amodra [Sat, 17 Jul 2010 03:12:02 +0000 (03:12 +0000)]
* ldlang.c (lang_check_section_addresses): Catch overlap for
sections that wrap around the address space.

14 years ago * elf.c (_bfd_elf_map_sections_to_segments): Force new segment
amodra [Sat, 17 Jul 2010 03:10:49 +0000 (03:10 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Force new segment
for sections with overlapping LMAs.
(assign_file_positions_for_load_sections): Catch overlap for
sections that wrap around the address space.  Replace a
warning that duplicates ld's --check-sections error with a
warning that lma has been adjusted for overlapping sections.

14 years agodaily update
amodra [Sat, 17 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 17 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * NEWS: Mention support for the new ptrace interface and hardware
bauermann [Fri, 16 Jul 2010 23:19:37 +0000 (23:19 +0000)]
* NEWS: Mention support for the new ptrace interface and hardware
accelerated watchpoint conditions on powerpc-linux.

14 years ago* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
sezero [Fri, 16 Jul 2010 20:04:41 +0000 (20:04 +0000)]
* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
and host_address_to_string() and %s for pointers.
(debug_to_remove_breakpoint): Likewise.
(debug_to_region_ok_for_hw_watchpoint): Likewise.
(debug_to_can_accel_watchpoint_condition): Likewise.
(debug_to_stopped_data_address): Likewise.
(debug_to_watchpoint_addr_within_range): Likewise.
(debug_to_insert_hw_breakpoint): Likewise.
(debug_to_remove_hw_breakpoint): Likewise.
(debug_to_insert_watchpoint): Likewise.
(debug_to_remove_watchpoint): Likewise.

14 years agoUse allocated cplus_specific for cplus symbols.
swagiaal [Fri, 16 Jul 2010 19:23:56 +0000 (19:23 +0000)]
Use allocated cplus_specific for cplus symbols.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h (symbol_set_demangled_name): Now takes an optional objfile*
argument.
(cplus_specific): New struct.
* symtab.c (symbol_set_demangled_name): Updated.
Use cplus_specific for cplus symbols.
(symbol_get_demangled_name): Retrive the name from the cplus_specific
struct for cplus symbols.
(symbol_init_language_specific): Set cplus_specific for cplus symbols.
(symbol_set_names): Pass objfile to symbol_set_demangled_name.
* symtab.c (symbol_init_cplus_specific): New function.

14 years agoRun dw2-compress-2 only for 32bit.
hjl [Fri, 16 Jul 2010 19:12:47 +0000 (19:12 +0000)]
Run dw2-compress-2 only for 32bit.

2010-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run dw2-compress-2 only for 32bit.

14 years agoUse setter and getter for demangled_name.
swagiaal [Fri, 16 Jul 2010 19:00:55 +0000 (19:00 +0000)]
Use setter and getter for demangled_name.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
* symtab.c (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
(symbol_init_language_specific): Use demangled_name setter and getter.
(symbol_set_names): Ditto.
(symbol_natural_name): Ditto.
(symbol_demangled_name): Ditto.
* dwarf2read.c (new_symbol): Ditto.

14 years agoRename cplus_specific mangled_lang.
swagiaal [Fri, 16 Jul 2010 18:39:09 +0000 (18:39 +0000)]
Rename cplus_specific mangled_lang.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h: Renamed cplus_specific to mangled_lang.
* symtab.c (symbol_init_language_specific): Updated.
(symbol_set_names): Updated.
(symbol_natural_name): Updated.
(symbol_demangled_name): Updated.
* ada-lang.c (ada_decode_symbol): Updated.
* dwarf2read.c (new_symbol): Updated.

14 years ago * corefile.c (core_sym_class): Fix handling of subprogram names
nickc [Fri, 16 Jul 2010 14:52:14 +0000 (14:52 +0000)]
    * corefile.c (core_sym_class): Fix handling of subprogram names
        and add support for cloned function names.

14 years ago * config/tc-rx.c (md_estimate_size_before_relax): Fix format
amodra [Fri, 16 Jul 2010 06:32:45 +0000 (06:32 +0000)]
* config/tc-rx.c (md_estimate_size_before_relax): Fix format
specifier warnings for 32-bit host when --enable-64-bit-bfd.
(rx_relax_frag, md_convert_frag): Likewise.

14 years ago*** empty log message ***
gdbadmin [Fri, 16 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Fri, 16 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * gas/NEWS: Add note about --compress-debug-sections.
ccoutant [Thu, 15 Jul 2010 17:45:17 +0000 (17:45 +0000)]
* gas/NEWS: Add note about --compress-debug-sections.
* gas/as.c (show_usage): Add --compress-debug-sections and
--nocompress-debug-sections.

14 years ago * plugin.cc (Plugin_finish::run): Don't call cleanup handlers from here.
ccoutant [Thu, 15 Jul 2010 17:36:23 +0000 (17:36 +0000)]
* plugin.cc (Plugin_finish::run): Don't call cleanup handlers from here.

14 years ago * config/obj-elf.c (get_sym_from_input_line_and_check): New
nathan [Thu, 15 Jul 2010 14:34:40 +0000 (14:34 +0000)]
* config/obj-elf.c (get_sym_from_input_line_and_check): New
function to catch missing pseudo-op arguments.
(obj_elf_local): Call new function.
(obj_elf_weak): Likewise.
(obj_elf_visibility): Likewise.
(obj_elf_vtable_entry): Likewise.
(obj_elf_type): Likewise.

testsuite/
* gas/elf/pseudo.s: New.
* gas/elf/pseudo.l: New.
* gas/elf/pseudo.d: New.
* gas/elf/elf.exp: Run the new test.

14 years ago2010-07-15 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 15 Jul 2010 13:42:20 +0000 (13:42 +0000)]
2010-07-15  Kai Tietz  <kai.tietz@onevision.com>

* config/obj-coff-seh.c
(seh_getelm_data_size): New.
(seh_read_offset): Handle negative values.
(obj_coff_seh_push): Handle offset for save-register store.
(obj_coff_seh_setframe): Add unwind-information for frame.
(seh_store_elm_data): New.
(seh_getelm_data_size): Return additionally unaligned element count.
(seh_make_unwind_entry): Correct tweak about element count.

14 years ago * wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.
corinna [Thu, 15 Jul 2010 08:00:51 +0000 (08:00 +0000)]
* wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.

14 years ago2010-07-15 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 15 Jul 2010 07:58:47 +0000 (07:58 +0000)]
2010-07-15  Kai Tietz <kai.tietz@onevision.com>

        * dllwrap.c (main): Make sure is_leading_underscore
        gets initialized with correct default.

14 years agoAdd testcases for PR ld/11817.
hjl [Thu, 15 Jul 2010 00:42:23 +0000 (00:42 +0000)]
Add testcases for PR ld/11817.

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11817
* ld-i386/compressed1.s: New.
* ld-i386/compressed1.d: Likewise.
* ld-x86-64/compressed1.s: Likewise.
* ld-x86-64/compressed1.d: Likewise.

* ld-i386/i386.exp: Run compressed1.
* ld-x86-64/x86-64.exp: Likewise.

14 years agoFix a typo.
hjl [Thu, 15 Jul 2010 00:37:12 +0000 (00:37 +0000)]
Fix a typo.

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/i386/compressed-1a.d: Fix a typo.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.

14 years ago*** empty log message ***
gdbadmin [Thu, 15 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 15 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago PR ld/11817
ccoutant [Wed, 14 Jul 2010 22:18:06 +0000 (22:18 +0000)]
PR ld/11817
* dwarf2.c (read_section): Revert patch for compressed debug sections.
(find_line): Likewise.
(read_and_uncompress_section): Remove.

14 years agoAdd addr2line, objcopy and strip tests for compressed debug sections.
hjl [Wed, 14 Jul 2010 19:46:00 +0000 (19:46 +0000)]
Add addr2line, objcopy and strip tests for compressed debug sections.

binutils/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (binutils_assemble): Use
default_binutils_assemble_flags.
(binutils_assemble_flags): New.

* lib/utils-lib.exp (default_binutils_assemble): Renamed to ...
(default_binutils_assemble_flags): This.  Add asflags and
pass it to target_assemble.
(run_dump_test): Support assembler flags.

* binutils-all/i386/compressed-1.s: New.
* binutils-all/i386/compressed-1a.d: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/i386/i386.exp: Likewise.
* binutils-all/x86-64/compressed-1.s: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
* binutils-all/x86-64/x86-64.exp: Likewise.

gas/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (ADDR2LINE): New.
(ADDR2LINEFLAGS): Likewise.

* gas/i386/i386.exp: Run dw2-compress-2 and x86-64-dw2-compress-2.

* gas/i386/dw2-compress-2.d: New.
* gas/i386/dw2-compress-2.s: Likewise.
* gas/i386/x86-64-dw2-compress-2.d: Likewise.
* gas/i386/x86-64-dw2-compress-2.s: Likewise.

* lib/gas-defs.exp (run_dump_test): Support addr2line as dump
program.
(slurp_options): Allow numbers in options.

14 years agogdb/ChangeLog:* valops.c (value_assign): Do not call to value_coerce_to_target.(value...
kwerner [Wed, 14 Jul 2010 14:54:57 +0000 (14:54 +0000)]
gdb/ChangeLog:* valops.c (value_assign): Do not call to value_coerce_to_target.(value_must_coerce_to_target): Return 0 in case of TYPE_VECTOR.gdb/testsuite/ChangeLog:* gdb.arch/altivec-abi.exp: New tests.

14 years ago* MAINTAINERS: Add myself for write after approval privileges.
kwerner [Wed, 14 Jul 2010 14:30:35 +0000 (14:30 +0000)]
* MAINTAINERS: Add myself for write after approval privileges.

14 years agoUse .2byte/.4byte instead of .short/.long.
hjl [Wed, 14 Jul 2010 14:22:48 +0000 (14:22 +0000)]
Use .2byte/.4byte instead of .short/.long.

2010-07-14  Maciej W. Rozycki  <macro@codesourcery.com>

* gas/elf/dwarf2-3.s: Replace .short and .long directives in
.debug_info section with .2byte and .4byte respectively.

14 years ago2010-07-13 Emmanuel Thomé <Emmanuel.Thome@gmail.com>
tromey [Wed, 14 Jul 2010 14:13:53 +0000 (14:13 +0000)]
2010-07-13  Emmanuel Thomé  <Emmanuel.Thome@gmail.com>

* c-valprint.c (c_val_print): Add embedded_offset to address in
call to val_print_array_elements.

2010-07-13  Tom Tromey  <tromey@redhat.com>

* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
(main): Use it.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.

14 years ago * descriptors.cc (Descriptors::open): Report correct name in error
ian [Wed, 14 Jul 2010 10:38:59 +0000 (10:38 +0000)]
* descriptors.cc (Descriptors::open): Report correct name in error
message.

14 years agoDon't allocate .got.plt section if there are no GOT nor PLT entries.
hjl [Wed, 14 Jul 2010 00:30:55 +0000 (00:30 +0000)]
Don't allocate .got.plt section if there are no GOT nor PLT entries.

bfd/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* elf32-i386.c (elf_i386_size_dynamic_sections): Don't
 allocate .got.plt section if there are no GOT nor PLT
 entries.
 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.

ld/testsuite/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* ld-elf/exclude3b.d: Don't run on ia64-*-*.  Replace .got with
.dynamic.

* ld-elf/exclude3d.d: New.
* ld-i386/nogot1.d: Likewise.
* ld-i386/nogot1.s: Likewise.
* ld-x86-64/nogot1.d: Likewise.
* ld-x86-64/nogot1.s: Likewise.

* ld-i386/i386.exp: Run nogot1.
* ld-x86-64/x86-64.exp: Likewise.

14 years agodaily update
amodra [Wed, 14 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update