Bob Wilson
38f9cb7fe1
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.
2007-12-13 19:03:45 +00:00
Jim Blandy
3690dd376b
* 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.
2007-12-13 19:02:51 +00:00
Jim Blandy
dfdfb3ca98
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.
2007-12-13 02:00:09 +00:00
gdbadmin
ee951a0b34
*** empty log message ***
2007-12-13 00:00:33 +00:00
Alan Modra
de4298c61c
daily update
2007-12-12 23:00:05 +00:00
Bob Wilson
fd453c640f
Wrap long line in previous entry.
2007-12-12 21:18:46 +00:00
Bob Wilson
8e6bc631a9
* config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to weak symbols if longcalls are disabled.
2007-12-12 21:16:47 +00:00
Bob Wilson
c46082c8d5
* elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with
...
address.
(print_action_list): Fix name for ta_convert_longcall.
2007-12-12 21:11:10 +00:00
Maciej W. Rozycki
b71c0d47ee
* remote-mips.c (mips_load): Use regcache_set_valid_p() instead
...
of setting deprecated_register_valid array directly.
2007-12-12 17:14:52 +00:00
gdbadmin
48ffab1c27
*** empty log message ***
2007-12-12 00:00:33 +00:00
Ian Lance Taylor
c03c769248
From Cary Coutant: Test TLS initial-exec model.
2007-12-11 23:33:11 +00:00
Ian Lance Taylor
535890bb64
From Cary Coutant: Set DF_STATIC_TLS as appropriate.
2007-12-11 23:30:52 +00:00
Alan Modra
c32d85ca53
daily update
2007-12-11 23:00:06 +00:00
Bob Wilson
def13efb26
* 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.
2007-12-11 21:52:39 +00:00
Ian Lance Taylor
31d6048054
From Cary Coutant: Fix x86_64 TLS problem.
2007-12-11 21:21:14 +00:00
Ian Lance Taylor
9430daf83a
From Craig Silverstein: Speed up ODR violation reporting.
2007-12-11 18:17:31 +00:00
Catherine Moore
8424d8f538
* 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.
2007-12-11 13:13:59 +00:00
Daniel Jacobowitz
60955fda27
* dwarf2.h (DW_AT_hi_user): Correct value.
2007-12-11 12:56:21 +00:00
Ian Lance Taylor
94c4710f80
From Cary Coutant: Handle TLS entry for TLS module index.
2007-12-11 04:23:05 +00:00
gdbadmin
5828e9cfab
*** empty log message ***
2007-12-11 00:00:33 +00:00
Alan Modra
58f0869bfe
warning messages should contain "warning:"
2007-12-10 23:44:23 +00:00
Alan Modra
71ac351cf2
* config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.
2007-12-10 23:33:46 +00:00
Alan Modra
f2e5b8ee1d
daily update
2007-12-10 23:00:05 +00:00
Ian Lance Taylor
fcf29b2415
Keep views on views_ list so that they can be found again.
2007-12-10 22:55:31 +00:00
Jan Kratochvil
b7fca99000
* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
...
must be set to binary.
2007-12-10 14:32:50 +00:00
Richard Sandiford
742a56fee5
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.
2007-12-10 10:36:00 +00:00
gdbadmin
62cf9b51b4
*** empty log message ***
2007-12-10 00:00:03 +00:00
Alan Modra
ba0432a568
daily update
2007-12-09 23:00:06 +00:00
Pedro Alves
6a1afc1e2a
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
2007-12-09 11:21:21 +00:00
gdbadmin
eeb0678606
*** empty log message ***
2007-12-09 00:00:33 +00:00
Alan Modra
40ddfb41a6
daily update
2007-12-08 23:00:05 +00:00
Craig Silverstein
53765ea3d7
Released gold-alpha 0.9.
2007-12-08 03:17:25 +00:00
Ian Lance Taylor
bc2c67ffde
From Craig Silverstein: Fix error message, add this->.
2007-12-08 03:05:27 +00:00
Bob Wilson
2fcb970637
* readelf.c (is_32bit_pcrel_reloc): Add Xtensa.
2007-12-08 01:04:59 +00:00
gdbadmin
b2e4cf1e96
*** empty log message ***
2007-12-08 00:00:35 +00:00
Ian Lance Taylor
6a41d30bc2
From Cary Coutant: Fix x86_64 TLS. Also set DT_TEXTREL as well as
...
DF_TEXTREL.
2007-12-07 23:26:51 +00:00
Alan Modra
2e53a11d03
daily update
2007-12-07 23:00:05 +00:00
Bob Wilson
1bbb5f219c
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.
2007-12-07 22:52:10 +00:00
Ian Lance Taylor
e8c846c359
From Cary Coutant: Fix handling of RELATIVE RELA relocs.
2007-12-07 19:32:59 +00:00
Maciej W. Rozycki
c68cf8ad10
* mips-tdep.c (extended_offset): Fix a comment.
2007-12-07 15:07:12 +00:00
Maciej W. Rozycki
49d03eab05
* 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.
2007-12-07 15:02:12 +00:00
Daniel Jacobowitz
27524b67e1
* server.c (myresume): Add own_buf argument.
...
(main): Update calls.
2007-12-07 14:00:37 +00:00
Ian Lance Taylor
4117d76827
Fix ehframe header handling for shared libraries.
2007-12-07 06:44:01 +00:00
Daniel Jacobowitz
a20d5e98e5
* 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.
2007-12-07 01:41:29 +00:00
Bob Wilson
542f8b941d
* 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.
2007-12-07 01:07:33 +00:00
Ian Lance Taylor
78d911fd3e
From Cary Coutant: Some x86_64 shared library fixes.
2007-12-07 00:59:31 +00:00
Ian Lance Taylor
ac1f0c21ae
From Cary Coutant: Remove commented out assert. Also add comment for
...
bitfield check.
2007-12-07 00:54:28 +00:00
Daniel Jacobowitz
ca005067ce
* infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid.
...
(handle_inferior_event): Clear stop_stack_dummy earlier.
2007-12-07 00:44:27 +00:00
gdbadmin
af6b03680a
*** empty log message ***
2007-12-07 00:00:03 +00:00
Jim Blandy
cb446409e6
* addrmap.c (addrmap_splay_tree_remove): New function.
...
(addrmap_mutable_set_empty): Use it.
2007-12-06 23:37:35 +00:00