OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * breakpoint.c (bpstat_have_active_hw_watchpoints):
vprus [Sun, 16 Dec 2007 19:15:48 +0000 (19:15 +0000)]
* breakpoint.c (bpstat_have_active_hw_watchpoints):
Remove
(bpstat_stop_status): Remove unused variable
real_breakpoint.
* breakpoint.h (bpstat_have_active_hw_watchpoints):
Remove prototype.

16 years ago * target.h (target_pid_or_tid_to_str): Remove.
vprus [Sun, 16 Dec 2007 19:14:22 +0000 (19:14 +0000)]
* target.h (target_pid_or_tid_to_str): Remove.
* infrun.c (handle_inferior_event):
        Use target_pid_to_str instead of
target_pid_or_tid_to_str.
(normal_stop): Likewise.

16 years ago * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
jkratoch [Sun, 16 Dec 2007 16:06:29 +0000 (16:06 +0000)]
* dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
DWARF3 equivalent `DW_AT_bit_stride'.
Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.

16 years ago * mi/mi-main.c: Remove code that was commented out in 1999.
brobecke [Sun, 16 Dec 2007 13:37:26 +0000 (13:37 +0000)]
    * mi/mi-main.c: Remove code that was commented out in 1999.

16 years ago * expression.h (parse_expression_in_context): Delete prototype.
brobecke [Sun, 16 Dec 2007 13:31:46 +0000 (13:31 +0000)]
    * expression.h (parse_expression_in_context): Delete prototype.
        * parse.c (parse_expression_in_context): Delete.

16 years ago*** empty log message ***
gdbadmin [Sun, 16 Dec 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 15 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.texinfo (Host I/O Packets): Fix xref syntax.
eliz [Sat, 15 Dec 2007 13:13:12 +0000 (13:13 +0000)]
* gdb.texinfo (Host I/O Packets): Fix xref syntax.

16 years agold/
rsandifo [Sat, 15 Dec 2007 09:43:39 +0000 (09:43 +0000)]
ld/
* scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)).
(.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)).
* scripttempl/elf.sc: As for armbpabi.sc.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:42:02 +0000 (09:42 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of
a merged field and a sec field.
(eh_frame_hdr_info): Remove offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to
the CIE merged field.
(_bfd_elf_gc_mark_fdes): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set u.cie.u.sec
when clearing the removed flag.
(_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling.
(_bfd_elf_write_section_eh_frame): Likewise.  Apply output_offsets
where appropriate.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Move add_fde_encoding and
per_encoding_relative to u.cie.  Add commentary.
* elf-eh-frame.c (cie): Remove make_relative.
(extra_augmentation_string_bytes): Update use of add_fde_encoding.
(extra_augmentation_data_bytes): Likewise.  Use an FDE's own
add_augmentation_size field, rather than referring to the CIE.
(_bfd_elf_parse_eh_frame): Don't set the struct cie
make_relative field; set the eh_cie_fde field directly.
Update setting of add_fde_encoding and per_encoding_relative.
Copy make_relative and add_augmentation_size from the CIE
to the FDE.
(_bfd_elf_discard_section_eh_frame): Use the FDE's own
make_relative field.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Update accesses to
add_fde_encoding and per_encoding_relative.  Use the FDE's
own make_relative and add_augmentation_size fields.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:35:58 +0000 (09:35 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Remove need_lsda_relative.
Move make_lsda_relative to u.cie.
* elf-eh-frame.c (cie): Rename make_lsda_relative to
can_make_lsda_relative.
(_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde
make_lsda_relative field.  Update after cie renaming.
Set u.cie.make_lsda_relative if can_make_lsda_relative
and if we find a relocation against the LSDA.
(_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when
changing a CIE's group representative.
(_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here.
(_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative
rather than need_lsda_relative.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:34:48 +0000 (09:34 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and
u.cie.gc_mark.
(bfd_elf_section_data): Add fde_list.
(elf_fde_list): New macro.
(elf_obj_tdata): Add eh_frame_section.
(elf_eh_frame_section): New macro.
(_bfd_elf_gc_mark_reloc): Remove last parameter.
(_bfd_elf_gc_mark_fdes): Declare.
* elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs
for each input section.
(mark_entry, _bfd_elf_gc_mark_fdes): New functions.
* elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter.
(_bfd_elf_gc_mark): Update call accordingly.  Mark the relocations
againts the section's FDEs.  Don't mark the bfd's elf_eh_frame_section.
(bfd_elf_gc_sections): Parse each input bfd's .eh_frame before
marking any input sections.  Remove the current EH handling.
* section.c (bfd_section): Remove gc_mark_from_eh.
* ecoff.c (bfd_debug_section): Update initializer accordingly.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:33:51 +0000 (09:33 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.cie.  Document how u.fde.cie_inf
changes when removed == 0.
(eh_frame_hdr_info): Add parsed_eh_frames.
(_bfd_elf_begin_eh_frame_parsing): Declare.
(_bfd_elf_parse_eh_frame): Declare.
(_bfd_elf_end_eh_frame_parsing): Declare.
* elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function.
(_bfd_elf_parse_eh_frame): New function, split out from
_bfd_elf_discard_section_eh_frame.  Make a first pass through the
buffer to calculate the number of entries and CIEs.  Allocate memory
for them before the main loop.  Replace current extended cie
representation with a pair of pointers, one to the local eh_cie_fde
and one to the full struct cie.  Allocate a separate array of struct
cies if not merging.  Merge CIEs during the main loop and set up each
u.cie.merged field.  Point an FDE's cie_inf field directly at the
local CIE.  Initially assume that all entries should be removed.
(_bfd_elf_end_eh_frame_parsing): New function.
(_bfd_elf_discard_section_eh_frame): Assume that the section has
already been parsed.  Use a separate pass to mark entries that
need to be kept.  Use the u.cie.merged field to track a CIE's
group representative.
* elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame
before _bfd_elf_discard_section_eh_frame.  Wrap loop with calls to
_bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:32:38 +0000 (09:32 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Put cie_inf in a union.  Add a reloc_index
field.  Use bitfields for fde_encoding, lsda_encoding and lsda_offset.
* elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf
accesses after the above change.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set up reloc_index.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:31:41 +0000 (09:31 +0000)]
bfd/
* elf-bfd.h (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): Declare.
(_bfd_elf_gc_mark): Use elf_gc_mark_hook_fn.
* elflink.c (init_reloc_cookie, fini_reloc_cookie)
(init_reloc_cookie_rels, fini_reloc_cookie_rels): New functions,
split out from...
(bfd_elf_discard_info): ...here.
(init_reloc_cookie_for_section): New function.
(fini_reloc_cookie_for_section): Likewise.
(_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): New functions,
split out from...
(_bfd_elf_gc_mark): ...here.  Use init_reloc_cookie_for_section
and fini_reloc_cookie_for_section.

16 years agoMinor speedup to Output_merge_string::do_add_input_section.
iant [Sat, 15 Dec 2007 01:01:48 +0000 (01:01 +0000)]
Minor speedup to Output_merge_string::do_add_input_section.

16 years ago*** empty log message ***
gdbadmin [Sat, 15 Dec 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 14 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * ld-scripts/rgn-over.exp: Add --no-overlays for spu.
amodra [Fri, 14 Dec 2007 21:54:50 +0000 (21:54 +0000)]
* ld-scripts/rgn-over.exp: Add --no-overlays for spu.

16 years agoRewrite workqueue. This version eliminates the master thread, and
iant [Fri, 14 Dec 2007 19:00:21 +0000 (19:00 +0000)]
Rewrite workqueue.  This version eliminates the master thread, and
reduces the amount of locking required to find a new thread to run.

16 years agoAdd const to Object::read and Object::sized_target.
iant [Fri, 14 Dec 2007 18:50:01 +0000 (18:50 +0000)]
Add const to Object::read and Object::sized_target.

16 years agoMake some File_read methods const.
iant [Fri, 14 Dec 2007 18:22:06 +0000 (18:22 +0000)]
Make some File_read methods const.

16 years ago Add support for pending breakpoints in MI.
vprus [Fri, 14 Dec 2007 18:15:45 +0000 (18:15 +0000)]
Add support for pending breakpoints in MI.
* gdb.h (gdb_breakpoint): Add parameter pending.
* breakpoint.c (gdb_breakpoint): Add parameter pending.
* mi/mi-cmd-break.c (mi_break_insert): Change
comment to refer to manual.  Add support for
the -f flag, for pending breakpoint.

16 years ago * breakpoint.c (break_command_really): New, copied
vprus [Fri, 14 Dec 2007 17:54:45 +0000 (17:54 +0000)]
* breakpoint.c (break_command_really): New, copied
from break_command_1. New parameters COND_STRING, THREAD
PARSE_CONDITITION_AND_THREAD and PENDING_BREAK_SUPPORT.
The previous FLAG parameter split into TEMPFLAG and
HARDWAREFLAG.
When PARSE_CONDITION_AND_THREAD is not set, duplicate
the passed condition string.
(struct captured_breakpoint_args): Remove
(do_captured_breakpoint): Remove.
(break_command_1): Relay to break_command_really.
(gdb_breakpoint): Relay to break_command_really.

16 years ago * include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
corinna [Fri, 14 Dec 2007 12:12:32 +0000 (12:12 +0000)]
* include/cygwin/socket.h: Include sys/uio.h instead of cygwin/uio.h.
* include/cygwin/uio.h: Remove.

16 years ago * dtable.cc (dtable::set_file_pointers_for_exec): Reenable. Fix
corinna [Fri, 14 Dec 2007 11:32:40 +0000 (11:32 +0000)]
* dtable.cc (dtable::set_file_pointers_for_exec): Reenable.  Fix
comment.
* spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec
only for non-Cygwin processes.

16 years agoAdd some missing dependencies for the new linker.
iant [Fri, 14 Dec 2007 05:27:45 +0000 (05:27 +0000)]
Add some missing dependencies for the new linker.

16 years agoFrom Craig Silverstein: size hash tables to avoid resizing.
iant [Fri, 14 Dec 2007 05:24:17 +0000 (05:24 +0000)]
From Craig Silverstein: size hash tables to avoid resizing.

16 years agoFix --thread-count-middle and --thread-count-final.
iant [Fri, 14 Dec 2007 04:53:22 +0000 (04:53 +0000)]
Fix --thread-count-middle and --thread-count-final.

16 years agoMerge from gcc:
dj [Fri, 14 Dec 2007 01:28:55 +0000 (01:28 +0000)]
Merge from gcc:
2007-12-10  Andreas Tobler  <a.tobler@schweiz.org>

* configure.ac: Enable libjava for x86_64-*-darwin9.
* configure: Regenerate.

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

16 years agodaily update
amodra [Thu, 13 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-13 Michael Snyder <msnyder@specifix.com>
msnyder [Thu, 13 Dec 2007 19:28:26 +0000 (19:28 +0000)]
2007-12-13  Michael Snyder  <msnyder@specifix.com>

* mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable.

16 years agogas/
bwilson [Thu, 13 Dec 2007 19:03:44 +0000 (19:03 +0000)]
gas/
* config/tc-xtensa.c (xg_symbolic_immeds_fit): Relax for weak
references but not weak definitions.
gas/testsuite/
* gas/xtensa/all.exp: Run new weak-call test.
* gas/xtensa/weak-call.d: New.
* gas/xtensa/weak-call.s: New.

16 years ago* dwarf2read.c (attr_form_is_constant): New function.
jimb [Thu, 13 Dec 2007 19:02:50 +0000 (19:02 +0000)]
* dwarf2read.c (attr_form_is_constant): New function.
(dwarf2_add_field): Use it and attr_form_is_section_offset to
recognize DW_AT_data_member_location attributes.  Use
dwarf2_get_attr_constant_value when the attribute is a constant.

* dwarf2read.c (attr_form_is_section_offset): New function.
(dwarf_add_member_fn, read_common_block, read_partial_die)
(dwarf2_symbol_mark_computed): Use it, instead of writing it out.

16 years ago * poll.cc (poll): Return count of fds with events instead of total
corinna [Thu, 13 Dec 2007 10:57:08 +0000 (10:57 +0000)]
* poll.cc (poll): Return count of fds with events instead of total
event count.

16 years ago * string.h: Guard cygwin internal string function definitions with
corinna [Thu, 13 Dec 2007 10:33:54 +0000 (10:33 +0000)]
* string.h: Guard cygwin internal string function definitions with
__INSIDE_CYGWIN__.

16 years agoRemove unused support for target-based exception catching.
jimb [Thu, 13 Dec 2007 02:00:04 +0000 (02:00 +0000)]
Remove unused support for target-based exception catching.
* target.h (struct target_ops): Delete
to_enable_exception_callback and to_get_current_exception_event
members.
(target_enable_exception_callback)
(target_get_current_exception_event): Delete macros.
* target.c (update_current_target): Remove code to inherit and
default those members.
(debug_to_enable_exception_callback)
(debug_to_get_current_exception_event): Delete functions.
(setup_target_debug): Don't install those methods.
* inf-child.c (inf_child_enable_exception_callback)
(inf_child_get_current_exception_event): Delete dummy functions.
(inf_child_target): Don't install them in the target vector.
* breakpoint.h (enum bptype): Delete bp_catch_catch,
bp_catch_throw.
* breakpoint.c (cover_target_enable_exception_callback)
(ep_is_exception_catchpoint, create_exception_catchpoint): Delete
functions.
(insert_bp_location, update_breakpoints_after_exec)
(remove_breakpoint, ep_is_catchpoint, print_it_typical)
(bpstat_stop_status, bpstat_what)
(bpstat_get_triggered_catchpoints, print_one_breakpoint_location)
(user_settable_breakpoint, allocate_bp_location)
(disable_watchpoints_before_interactive_call_start)
(enable_watchpoints_after_interactive_call_stop, mention)
(delete_breakpoint, breakpoint_re_set_one, disable_command)
(enable_command): Remove exception catchpoint cases.
(catch_exception_command_1): Don't try target-based exception
handling.
* stack.c (catch_info): Call print_frame_label_vars
unconditionally.

16 years ago*** empty log message ***
gdbadmin [Thu, 13 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 12 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoWrap long line in previous entry.
bwilson [Wed, 12 Dec 2007 21:18:46 +0000 (21:18 +0000)]
Wrap long line in previous entry.

16 years ago * config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to ...
bwilson [Wed, 12 Dec 2007 21:16:47 +0000 (21:16 +0000)]
    * config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to            weak symbols if longcalls are disabled.

16 years ago * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with
bwilson [Wed, 12 Dec 2007 21:11:10 +0000 (21:11 +0000)]
    * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with
        address.
        (print_action_list): Fix name for ta_convert_longcall.

16 years ago* remote-mips.c (mips_load): Use regcache_set_valid_p() instead
macro [Wed, 12 Dec 2007 17:14:52 +0000 (17:14 +0000)]
* remote-mips.c (mips_load): Use regcache_set_valid_p() instead
of setting deprecated_register_valid array directly.

16 years ago * dcrt0.cc: Include string.h.
corinna [Wed, 12 Dec 2007 12:12:23 +0000 (12:12 +0000)]
* dcrt0.cc: Include string.h.
(initial_env): Use small_printf's %P specifier.
* dll_init.cc (dll_list::alloc): Use PATH_MAX instead of CYG_MAX_PATH
for path name buffer size.
* dll_init.h (struct dll): Ditto.
* environ.cc: Include string.h.
(win_env::add_cache): Use temporary local buffer for path conversion.
(posify): Ditto.
* exceptions.cc (try_to_debug): Use CreateProcessW to allow long path
names.
* miscfuncs.cc: Drop unused implementations of strcasematch and
strncasematch.
(ch_case_eq): Drop.
(strcasestr): Drop.
(cygwin_wcscasecmp): New function.
(cygwin_wcsncasecmp): New function.
(cygwin_strcasecmp): New function.
(cygwin_strncasecmp): New function.
(cygwin_wcslwr): New function.
(cygwin_wcsupr): New function.
(cygwin_strlwr): New function.
(cygwin_strupr): New function.
* ntdll.h (RtlDowncaseUnicodeString): Declare.
(RtlUpcaseUnicodeString): Declare.
(RtlInt64ToHexUnicodeString): Fix typo in comment.
* string.h: Disable not NLS aware implementations of strcasematch
and strncasematch.
(cygwin_strcasecmp): Declare.
(strcasecmp): Define as cygwin_strcasecmp.
(cygwin_strncasecmp): Declare.
(strncasecmp): Define as cygwin_strncasecmp.
(strcasematch):Define using cygwin_strcasecmp.
(strncasematch):Define using cygwin_strncasecmp.
(cygwin_strlwr): Declare.
(strlwr): Define as cygwin_strlwr.
(cygwin_strupr): Declare.
(strupr): Define as cygwin_strupr.
* wchar.h: New file.
* wincap.cc (wincapc::init): Use "NT" as fix OS string.
* winsup.h (strcasematch): Drop declaration.
(strncasematch): Ditto.
(strcasestr): Ditto.

16 years ago*** empty log message ***
gdbadmin [Wed, 12 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFrom Cary Coutant: Test TLS initial-exec model.
iant [Tue, 11 Dec 2007 23:33:11 +0000 (23:33 +0000)]
From Cary Coutant: Test TLS initial-exec model.

16 years agoFrom Cary Coutant: Set DF_STATIC_TLS as appropriate.
iant [Tue, 11 Dec 2007 23:30:52 +0000 (23:30 +0000)]
From Cary Coutant: Set DF_STATIC_TLS as appropriate.

16 years agodaily update
amodra [Tue, 11 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * config/tc-xtensa.c (frag_format_size): Handle frags that expand to
bwilson [Tue, 11 Dec 2007 21:52:39 +0000 (21:52 +0000)]
* config/tc-xtensa.c (frag_format_size): Handle frags that expand to
wide branches.
(get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next
non-empty frag to find the LOOP instruction.  Change comma typo to
a semicolon.
(relax_frag_immed, convert_frag_immed): Rename wide_insn variable to
from_widen_insn.

16 years agoFrom Cary Coutant: Fix x86_64 TLS problem.
iant [Tue, 11 Dec 2007 21:21:14 +0000 (21:21 +0000)]
From Cary Coutant: Fix x86_64 TLS problem.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix R/O bit
corinna [Tue, 11 Dec 2007 18:57:44 +0000 (18:57 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix R/O bit
handling on filesystems without ACL support.

16 years ago2007-12-11 Dave Korn <dave.korn@artimi.com>
davek [Tue, 11 Dec 2007 18:38:25 +0000 (18:38 +0000)]
2007-12-11  Dave Korn  <dave.korn@artimi.com>

* include/wincrypt.h (PCRYPT_DECODE_PARA):  Add missing typedef.
(CERT_POLICY_MAPPINGS_INFO):  Move before CERT_POLICY_MAPPING.

16 years agoFrom Craig Silverstein: Speed up ODR violation reporting.
iant [Tue, 11 Dec 2007 18:17:27 +0000 (18:17 +0000)]
From Craig Silverstein: Speed up ODR violation reporting.

16 years ago * localtime.cc (tzset): Guard by a muto for thread safety.
corinna [Tue, 11 Dec 2007 16:14:24 +0000 (16:14 +0000)]
* localtime.cc (tzset): Guard by a muto for thread safety.

16 years ago * cygheap.cc (_csbrk): Don't request zero bytes from VirtualAlloc,
davek [Tue, 11 Dec 2007 15:16:19 +0000 (15:16 +0000)]
* cygheap.cc (_csbrk):  Don't request zero bytes from VirtualAlloc,
as windows treats that as an invalid parameter and returns an error.

16 years ago * localtime.cc (tzset): Call tzsetwall only if it hasn't been
corinna [Tue, 11 Dec 2007 15:01:31 +0000 (15:01 +0000)]
* localtime.cc (tzset): Call tzsetwall only if it hasn't been
called before.

16 years ago * bfd/elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if
clm [Tue, 11 Dec 2007 13:13:59 +0000 (13:13 +0000)]
    * bfd/elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if
        the symbol's section is the undefined section.
        * gas/testsuite/gas/elf/symtab.s: New test.
        gas/testsuite/gas/elf/symtab.d: New expected output.
        gas/testsuite/gas/elf/elf.exp: Run the new symbtab test.

16 years ago * dwarf2.h (DW_AT_hi_user): Correct value.
drow [Tue, 11 Dec 2007 12:56:21 +0000 (12:56 +0000)]
* dwarf2.h (DW_AT_hi_user): Correct value.

16 years agoFrom Cary Coutant: Handle TLS entry for TLS module index.
iant [Tue, 11 Dec 2007 04:23:05 +0000 (04:23 +0000)]
From Cary Coutant: Handle TLS entry for TLS module index.

16 years ago*** empty log message ***
gdbadmin [Tue, 11 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agowarning messages should contain "warning:"
amodra [Mon, 10 Dec 2007 23:44:21 +0000 (23:44 +0000)]
warning messages should contain "warning:"

16 years ago * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.
amodra [Mon, 10 Dec 2007 23:33:46 +0000 (23:33 +0000)]
* config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.

16 years agodaily update
amodra [Mon, 10 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoKeep views on views_ list so that they can be found again.
iant [Mon, 10 Dec 2007 22:55:31 +0000 (22:55 +0000)]
Keep views on views_ list so that they can be found again.

16 years ago * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
jkratoch [Mon, 10 Dec 2007 14:32:50 +0000 (14:32 +0000)]
* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
must be set to binary.

16 years agogas/
rsandifo [Mon, 10 Dec 2007 10:35:59 +0000 (10:35 +0000)]
gas/
* config/tc-mips.h (mips_nop_opcode): Declare.
(NOP_OPCODE): Define.
(mips_segment_info): New structure.
(TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list.
* config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE.
(mips_record_mips16_mode): New function.
(install_insn): Call it.
(mips_align): Likewise.  Turn the fill argument into an "int *".
Use frag_align_code for code segments if no fill data is given.
(s_align): Adjust call accordingly.
(mips_nop_opcode): New function.
(mips_handle_align): Use the first variable byte to decide which
nop sequence is needed.  Use md_number_to_chars and mips16_nop_insn.

gas/testsuite/
* gas/mips/align2.s, gas/mips/align2.d, gas/mips/align2-el.d: New
tests.
* gas/mips/mips.exp: Run them.

16 years ago*** empty log message ***
gdbadmin [Mon, 10 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 9 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
palves [Sun, 9 Dec 2007 11:21:20 +0000 (11:21 +0000)]
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.

16 years ago*** empty log message ***
gdbadmin [Sun, 9 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 8 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoReleased gold-alpha 0.9.
csilvers [Sat, 8 Dec 2007 03:17:25 +0000 (03:17 +0000)]
Released gold-alpha 0.9.

16 years agoFrom Craig Silverstein: Fix error message, add this->.
iant [Sat, 8 Dec 2007 03:05:27 +0000 (03:05 +0000)]
From Craig Silverstein: Fix error message, add this->.

16 years ago * readelf.c (is_32bit_pcrel_reloc): Add Xtensa.
bwilson [Sat, 8 Dec 2007 01:04:59 +0000 (01:04 +0000)]
* readelf.c (is_32bit_pcrel_reloc): Add Xtensa.

16 years ago*** empty log message ***
gdbadmin [Sat, 8 Dec 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFrom Cary Coutant: Fix x86_64 TLS. Also set DT_TEXTREL as well as
iant [Fri, 7 Dec 2007 23:26:51 +0000 (23:26 +0000)]
From Cary Coutant: Fix x86_64 TLS.  Also set DT_TEXTREL as well as
DF_TEXTREL.

16 years agodaily update
amodra [Fri, 7 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-07 Bob Wilson <bob.wilson@acm.org>
bwilson [Fri, 7 Dec 2007 22:52:08 +0000 (22:52 +0000)]
2007-12-07  Bob Wilson  <bob.wilson@acm.org>

include/elf/
* xtensa.h (R_XTENSA_32_PCREL): New.

bfd/
* elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL.
(elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL.
(elf_xtensa_check_relocs): Use default case for all relocations that
need nothing done here.
(elf_xtensa_do_reloc): Compute self_address for all relocation types.
Handle R_XTENSA_32_PCREL.
(elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic
symbols.
(check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations.

gas/
* config/tc-xtensa.c (O_pcrel): Define.
(suffix_relocs): Add pcrel suffix.
(md_pseudo_table): Add 4byte and 2byte directives.
(xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
(xg_assemble_literal): Likewise.  Check for O_pcrel.
(expression_maybe_register): Reorganize.  Handle BFD_RELOC_32_PCREL.
(xg_valid_literal_expression): Allow O_pcrel.
(md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
(tc_gen_reloc): Fix punctuation in error message.

gas/testsuite/
* gas/xtensa/all.exp: Run new pcrel test.
* gas/xtensa/err-pcrel.s: New.
* gas/xtensa/pcrel.d: New.
* gas/xtensa/pcrel.s: New.
* gas/xtensa/xtensa-err.exp: New.

16 years agoFrom Cary Coutant: Fix handling of RELATIVE RELA relocs.
iant [Fri, 7 Dec 2007 19:32:56 +0000 (19:32 +0000)]
From Cary Coutant: Fix handling of RELATIVE RELA relocs.

16 years ago* mips-tdep.c (extended_offset): Fix a comment.
macro [Fri, 7 Dec 2007 15:07:12 +0000 (15:07 +0000)]
* mips-tdep.c (extended_offset): Fix a comment.

16 years ago* target.c (update_current_target): Inherit to_log_command.
macro [Fri, 7 Dec 2007 15:02:09 +0000 (15:02 +0000)]
* target.c (update_current_target): Inherit to_log_command.
* target.h (struct target_ops). Add to_log_command.
(target_log_command): New macro.
* top.c (execute_command): Call target_log_command() rather than
serial_log_command().
* monitor.c (init_base_monitor_ops): Initialize to_log_command.
* remote-m32r-sdi.c (init_m32r_ops): Likewise.
* remote-mips.c (_initialize_remote_mips): Likewise.
* remote.c (init_remote_ops): Likewise.

16 years ago * server.c (myresume): Add own_buf argument.
drow [Fri, 7 Dec 2007 14:00:37 +0000 (14:00 +0000)]
* server.c (myresume): Add own_buf argument.
(main): Update calls.

16 years ago * regtool.cc (opts): Add missing 'W'.
corinna [Fri, 7 Dec 2007 09:37:46 +0000 (09:37 +0000)]
* regtool.cc (opts): Add missing 'W'.

16 years ago * include/sys/cygwin.h: Include limits.h.
corinna [Fri, 7 Dec 2007 09:37:14 +0000 (09:37 +0000)]
* include/sys/cygwin.h: Include limits.h.

16 years agoFix ehframe header handling for shared libraries.
iant [Fri, 7 Dec 2007 06:44:01 +0000 (06:44 +0000)]
Fix ehframe header handling for shared libraries.

16 years ago * linux-low.c (linux_wait, linux_resume): Do not handle async I/O.
drow [Fri, 7 Dec 2007 01:41:29 +0000 (01:41 +0000)]
* linux-low.c (linux_wait, linux_resume): Do not handle async I/O.
* remote-utils.c (remote_open): Do not call disable_async_io.
(block_async_io): Delete.
(unblock_async_io): Make static.
(initialize_async_io): New.
* server.c (handle_v_cont): Handle async I/O here.
(myresume): Likewise.  Move other common resume tasks here...
(main): ... from here.  Call initialize_async_io.  Disable async
I/O before the main loop.
* server.h (initialize_async_io): Declare.
(block_async_io, unblock_async_io): Delete prototypes.
* spu-low.c (spu_resume, spu_wait): Do not handle async I/O here.

16 years ago * config/tc-xtensa.c (xg_force_frag_space): Delete.
bwilson [Fri, 7 Dec 2007 01:07:33 +0000 (01:07 +0000)]
    * config/tc-xtensa.c (xg_force_frag_space): Delete.
        (xg_finish_frag, xg_assemble_literal_space): Replace calls to it.
        (xtensa_create_property_segments, xtensa_create_xproperty_segments):
        Set output_section for new property sections.  Use subseg_set and
        seg_info instead of retrieve_segment_info.  Adjust arguments to
        add_xt_block_frags and add_xt_prop_frags.  Use standard functions
        to create frags and fix records.
        (retrieve_segment_info): Delete.
        (add_xt_block_frags, add_xt_prop_frags): Replace calls to
        retrieve_segment_info.  Remove unused xt_block_sec arguments.

16 years agoFrom Cary Coutant: Some x86_64 shared library fixes.
iant [Fri, 7 Dec 2007 00:59:31 +0000 (00:59 +0000)]
From Cary Coutant: Some x86_64 shared library fixes.

16 years agoFrom Cary Coutant: Remove commented out assert. Also add comment for
iant [Fri, 7 Dec 2007 00:54:28 +0000 (00:54 +0000)]
From Cary Coutant: Remove commented out assert.  Also add comment for
bitfield check.

16 years ago * infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.
drow [Fri, 7 Dec 2007 00:44:26 +0000 (00:44 +0000)]
* infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.
(handle_inferior_event): Clear stop_stack_dummy earlier.

16 years ago*** empty log message ***
gdbadmin [Fri, 7 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * addrmap.c (addrmap_splay_tree_remove): New function.
jimb [Thu, 6 Dec 2007 23:37:34 +0000 (23:37 +0000)]
* addrmap.c (addrmap_splay_tree_remove): New function.
(addrmap_mutable_set_empty): Use it.

16 years agodaily update
amodra [Thu, 6 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * ps.cc: Include limits.h.
corinna [Thu, 6 Dec 2007 18:26:18 +0000 (18:26 +0000)]
* ps.cc: Include limits.h.
(main): Set file name buffer size to PATH_MAX.  Use progname or
progname_long member of struct external_pinfo dependent of the value of
the struct's version member.

16 years ago * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path
corinna [Thu, 6 Dec 2007 18:24:05 +0000 (18:24 +0000)]
* dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path
name buffer size.
(dll_crt0_1): Allocate new_argv0 with PATH_MAX size.
* exceptions.cc (debugger_command): Set size to 2 * PATH_MAX + 20;
(error_start_init): Use PATH_MAX instead of CYG_MAX_PATH for path
name buffer size.
* external.cc (fillout_pinfo): Always fill out ep.progname 0-terminated.
Fill out ep.progname_long.
* fhandler_process.cc (fhandler_process::fill_filebuf): Allocate
buffer for executable filename with PATH_MAX size.
* pinfo.cc: Throughout use PATH_MAX instead of CYG_MAX_PATH.
* pinfo.h (class _pinfo): Set progname size to PATH_MAX.
* smallprint.cc: Include limits.h.  Use PATH_MAX instead of CYG_MAX_PATH
for path name buffer size.
* strace.cc (strace::vsprntf): Ditto.
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION_32_LP): Define.
(EXTERNAL_PINFO_VERSION): Set to EXTERNAL_PINFO_VERSION_32_LP.
(struct external_pinfo): Add progname_long member.
* include/sys/dirent.h: Correctly include limits.h instead of
sys/limits.h.

16 years agoconfig/
rsandifo [Thu, 6 Dec 2007 17:44:07 +0000 (17:44 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Use +=, not =.
* mt-mips-elfoabi: Likewise.

16 years ago* addrmap.c, addrmap.h: Update to GPLv3.
jimb [Thu, 6 Dec 2007 17:26:03 +0000 (17:26 +0000)]
* addrmap.c, addrmap.h: Update to GPLv3.

* addrmap.c (struct addrmap): Make the referenced function table
const.
(addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const.
Don't use designated initializers.

* addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find)
(addrmap_mutable_relocate): Use internal_error, not abort.

16 years agoFrom Craig Silverstein: Reorganize testsuite Makefile.am.
iant [Thu, 6 Dec 2007 17:07:24 +0000 (17:07 +0000)]
From Craig Silverstein: Reorganize testsuite Makefile.am.