deliverable/binutils-gdb.git
19 years ago PR gas/827
Alan Modra [Sat, 9 Apr 2005 03:48:09 +0000 (03:48 +0000)] 
PR gas/827
* as.h (rs_dummy): Define.
* symbols.c (symbol_X_add_number): New function.
* symbols.h (symbol_X_add_number): Declare.
* stabs.c (aout_process_stab): Tidy symbol frag setting.
* read.c (assign_symbol): New function, split out from s_set.
Use symbol_find_or_make.  Leave fr_type of dummy frag as rs_dummy.
Fix COFF hacks for multi-emulation gas.
(s_set): Call assign_symbol.  Remove "register" keyword.
(set_zero_frag): New function.
(pseudo_set): Always check for assignment to section syms.
Always set segment and frag of symbol, and likewise extern for
aout/bout.  Handle assignment of sym=sym+/-const specially.  Don't
special case exp.X_add_number non-zero for O_symbol expressions.
(equals): Use assign_symbol.

19 years agoDropping mi.
Andrew Cagney [Sat, 9 Apr 2005 02:36:06 +0000 (02:36 +0000)] 
Dropping mi.

19 years ago2005-04-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 9 Apr 2005 00:29:37 +0000 (00:29 +0000)] 
2005-04-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
Nasser have decided to step back from GDB/MI.

19 years agodaily update
Alan Modra [Sat, 9 Apr 2005 00:00:09 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 9 Apr 2005 00:00:07 +0000 (00:00 +0000)] 
*** empty log message ***

19 years ago * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
Bob Wilson [Fri, 8 Apr 2005 17:26:42 +0000 (17:26 +0000)] 
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
SEC_MERGE sections.

19 years agogdb/testsuite/
Daniel Jacobowitz [Fri, 8 Apr 2005 12:57:00 +0000 (12:57 +0000)] 
gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
* configure.ac: Create gdb.gdbserver/Makefile.
* configure: Regenerated.
* lib/gdbserver-support.exp: New file, derived from
config/gdbserver.exp.
* config/gdbserver.exp: Use gdbserver-support.exp.
* gdb.gdbserver/Makefile.in: New file.
* gdb.gdbserver/server.c: New file.
* gdb.gdbserver/server-run.exp: New file.
gdb/
* config/fnchange.lst: Add testsuite/gdb.gdbserver entries.

19 years ago * dwarf2-frame.c (struct dwarf2_frame_cache): New field
Daniel Jacobowitz [Fri, 8 Apr 2005 12:10:21 +0000 (12:10 +0000)] 
* dwarf2-frame.c (struct dwarf2_frame_cache): New field
undefined_retaddr.
(dwarf2_frame_cache): Initialize undefined_retaddr.
(dwarf2_frame_this_id): Return an invalid frame ID if
undefined_retaddr.

19 years ago2005-04-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 8 Apr 2005 11:47:59 +0000 (11:47 +0000)] 
2005-04-08  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (ARM2THUMB_GLUE_SIZE): Rename...
(ARM2THUMB_STATIC_GLUE_SIZE): ... to this.
(ARM2THUMB_PIC_GLUE_SIZE): Define.
(a2t1p_ldr_insn, a2t2p_add_pc_insn, a2t3p_bx_r12_insn): Add.
(elf32_arm_to_thumb_stub): Create PIC stubs.
(record_arm_to_thumb_glue): Use different stub size for relocatable
images.

19 years agodaily update
Alan Modra [Fri, 8 Apr 2005 00:00:06 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 8 Apr 2005 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agoInclude ldexp.h and ldlang.h so that ldfile.h can use the lang_input_statement
Nick Clifton [Thu, 7 Apr 2005 14:07:33 +0000 (14:07 +0000)] 
Include ldexp.h and ldlang.h so that ldfile.h can use the lang_input_statement
type.

19 years agogas/
H.J. Lu [Thu, 7 Apr 2005 00:53:22 +0000 (00:53 +0000)] 
gas/

2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (tc_gen_reloc): Don't turn
BFD_RELOC_X86_64_32S into BFD_RELOC_32.

gas/testsuite/

2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-pcrel.s: Test R_X86_64_32S.
* gas/i386/x86-64-pcrel.d: Updated.

19 years ago*** empty log message ***
gdbadmin [Thu, 7 Apr 2005 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 7 Apr 2005 00:00:06 +0000 (00:00 +0000)] 
daily update

19 years agotest_compiler_info: Return compiler_info if no arguments are given.
Paul Gilliam [Wed, 6 Apr 2005 21:38:48 +0000 (21:38 +0000)] 
test_compiler_info: Return compiler_info if no arguments are given.

19 years agoMove construction of IA-32 vector types to i386-tdep.c.
Jim Blandy [Wed, 6 Apr 2005 17:01:25 +0000 (17:01 +0000)] 
Move construction of IA-32 vector types to i386-tdep.c.
* gdbtypes.c (build_builtin_type_vec64i,
build_builtin_type_vec128i): Delete functions.
(builtin_type_vec64i, builtin_type_vec128i): Delete variables.
(build_gdbtypes): Don't initialize them.
(_initialize_gdbtypes): Don't register GDBARCH swap entries for
them.
* gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
declarations.
(builtin_type_v2_float, builtin_type_v2_int32,
builtin_type_v4_int16, builtin_type_v8_int8,
builtin_type_v2_double, builtin_type_v4_float,
builtin_type_v2_int64, builtin_type_v4_int32,
builtin_type_v8_int16, builtin_type_v16_int8): Add extern
declarations.
* i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
(i386_build_mmx_type, i386_build_sse_type): New functions.
(i386_register_type): Call them, rather than referring to
builtin_type_vec64i and builtin_type_vec128i.

19 years agopo/rw.po: New translation: Kinyarwanda
Nick Clifton [Wed, 6 Apr 2005 15:42:14 +0000 (15:42 +0000)] 
po/rw.po: New translation: Kinyarwanda
configure.in (ALL_LINGUAS): Add rw

19 years ago2005-04-06 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek [Wed, 6 Apr 2005 15:33:03 +0000 (15:33 +0000)] 
2005-04-06  Jakub Jelinek  <jakub@redhat.com>

* ldlang.c: Formatting.
(walk_wild_consider_section): Remember return value from wildcardp.
(is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
(wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.

2005-04-06  Robert O'Callahan  <rocallahan@novell.com>

* ld.h (lean_section_userdata_type): Remove.
(fat_section_userdata_type): Remove file field.
(SECTION_USERDATA_SIZE): Remove.
* ldlang.c (init_os): Eliminate initialization of unused
lean_section_userdata_type.

* ldlang.h (callback_t, walk_wild_section_handler_t): New
typedefs.
(struct lang_wild_statement_struct): Add walk_wild_section_handler
and handler_data fields.
* ldlang.c (callback_t): Removed.
(walk_wild_consider_section, walk_wild_section_general,
section_iterator_callback, find_section, is_simple_wild,
match_simple_wild, walk_wild_section_specs1_wild0,
walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
wild_spec_can_overlap, analyze_walk_wild_section_handler): New
functions.
(lang_add_wild): Call analyze_walk_wild_section_handler.
(walk_wild_section): Renamed to walk_wild_section_general and
created a wrapper function.
(section_iterator_callback_data): New typedef.

19 years ago2005-04-06 Nick Clifton <nickc@redhat.com>
H.J. Lu [Wed, 6 Apr 2005 14:45:54 +0000 (14:45 +0000)] 
2005-04-06  Nick Clifton  <nickc@redhat.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* po/rw.po: New translation: Kinyarwanda.
* configure.in (ALL_LINGUAS): Add rw.
* configure: Regenerate.

19 years ago2005-04-06 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 6 Apr 2005 06:23:22 +0000 (06:23 +0000)] 
2005-04-06  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-subdir.
(configure, all): New macros.  Use them throughout.

19 years ago*** empty log message ***
gdbadmin [Wed, 6 Apr 2005 00:00:37 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 6 Apr 2005 00:00:08 +0000 (00:00 +0000)] 
daily update

19 years ago * config/tc-xtensa.c (branch_align_power): New.
Bob Wilson [Tue, 5 Apr 2005 23:37:34 +0000 (23:37 +0000)] 
* config/tc-xtensa.c (branch_align_power): New.
(xtensa_find_unaligned_branch_targets, get_aligned_diff,
future_alignment_required): Use branch_align_power to check section
alignment as well as xtensa_fetch_width when aligning branch targets.

19 years ago * config/tc-xtensa.c: Warning fixes throughout.
Bob Wilson [Tue, 5 Apr 2005 20:55:40 +0000 (20:55 +0000)] 
* config/tc-xtensa.c: Warning fixes throughout.
(xtensa_fetch_width): Change to unsigned.
(assemble_nop, xtensa_find_unaligned_branch_targets,
xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
get_text_align_max_fill_size, get_text_align_nop_count,
get_text_align_nth_nop_size, get_noop_aligned_address,
get_aligned_diff, convert_frag_align_next_opcode,
convert_frag_immed_finish_loop, xtensa_create_property_segments,
xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
types, avoiding size_t and using offsetT and addressT appropriately.
(get_text_align_power): Clean up types.  Avoid incorrect bound.
(get_text_align_fill_size): Clean up types.  Restructure for clarity.

19 years ago * elf64-ppc.c (dec_dynrel_count): New function split out from
Alan Modra [Tue, 5 Apr 2005 12:16:38 +0000 (12:16 +0000)] 
* elf64-ppc.c (dec_dynrel_count): New function split out from
ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd.
(ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it.
(ppc64_elf_tls_optimize): Likewise.

19 years ago2005-04-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 5 Apr 2005 08:16:33 +0000 (08:16 +0000)] 
2005-04-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Sync with gcc.
* Makefile.in: Regenerate.

19 years agoProvide .wcookie section for OpenBSD/sparc64.
Nick Clifton [Tue, 5 Apr 2005 08:01:18 +0000 (08:01 +0000)] 
Provide .wcookie section for OpenBSD/sparc64.

19 years agoNew translation: Kinyarwanda
Nick Clifton [Tue, 5 Apr 2005 07:58:41 +0000 (07:58 +0000)] 
New translation: Kinyarwanda

19 years ago * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
Richard Sandiford [Tue, 5 Apr 2005 07:35:12 +0000 (07:35 +0000)] 
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
(_bfd_mips_elf_section_from_shdr): Use it to check for recognized
SHT_MIPS_OPTIONS names.  Allow all sections with unrecognised
section flags.
(_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P
to check for SHT_MIPS_OPTIONS sections.
(_bfd_mips_elf_set_section_contents): Likewise.

19 years ago2005-04-04 Eric Christopher <echristo@redhat.com>
Eric Christopher [Tue, 5 Apr 2005 06:58:46 +0000 (06:58 +0000)] 
2005-04-04  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents):
Clean up gp handling code.

19 years agobfd/
H.J. Lu [Tue, 5 Apr 2005 04:01:12 +0000 (04:01 +0000)] 
bfd/

2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.
(assign_section_numbers): Accept link_info. Check SHT_GROUP
sections for relocatable files only. Remove the linker created
group sections.
(_bfd_elf_compute_section_file_positions): Pass link_info to
assign_section_numbers.

* elfxx-ia64.c (elfNN_ia64_object_p): New.
(elf_backend_object_p): Defined.

gas/

2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (start_unwind_section): Undo the change
of 2004-08-18.
(generate_unwind_image, dot_endp): Likewise.

19 years ago2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 5 Apr 2005 02:47:18 +0000 (02:47 +0000)] 
2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_elf_set_group_contents): Ignore linker created
group section.

19 years ago*** empty log message ***
gdbadmin [Tue, 5 Apr 2005 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 5 Apr 2005 00:00:05 +0000 (00:00 +0000)] 
daily update

19 years agomerge from gcc
DJ Delorie [Mon, 4 Apr 2005 21:00:49 +0000 (21:00 +0000)] 
merge from gcc

19 years agoCondense the two tests into one and add a "-M entry:" for the second label.
Nick Clifton [Mon, 4 Apr 2005 17:20:29 +0000 (17:20 +0000)] 
Condense the two tests into one and add a "-M entry:" for the second label.

19 years ago2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 4 Apr 2005 16:11:02 +0000 (16:11 +0000)] 
2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_section_data): Use (sec) instead of sec.

19 years agoFix typo.
Andreas Schwab [Mon, 4 Apr 2005 16:06:26 +0000 (16:06 +0000)] 
Fix typo.

19 years ago* readelf.c (debug_apply_rela_addends): Reorder r_info as
Maciej W. Rozycki [Mon, 4 Apr 2005 15:07:18 +0000 (15:07 +0000)] 
* readelf.c (debug_apply_rela_addends): Reorder r_info as
necessary for 64-bit MIPS.

19 years ago* doc/binutils.texi (readelf): Remove a duplicate paragraph.
Maciej W. Rozycki [Mon, 4 Apr 2005 14:56:12 +0000 (14:56 +0000)] 
* doc/binutils.texi (readelf): Remove a duplicate paragraph.

19 years agoAdd a check for <unistd.h> providing a prototype for getopt() which is compatible
Nick Clifton [Mon, 4 Apr 2005 11:27:16 +0000 (11:27 +0000)] 
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h.  If so then define HAVE_DECL_GETOPT.

19 years agoAdd a check to see if the section for the symbol is chosen using
Nick Clifton [Mon, 4 Apr 2005 10:32:28 +0000 (10:32 +0000)] 
Add a check to see if the section for the symbol is chosen using
process_section_p.

19 years agoInitialise value to zero to avoid a compile time warning.
Nick Clifton [Mon, 4 Apr 2005 10:09:52 +0000 (10:09 +0000)] 
Initialise value to zero to avoid a compile time warning.

19 years agodaily update
Alan Modra [Mon, 4 Apr 2005 00:00:05 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 4 Apr 2005 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agoApply patch for binutils bug 806, approved by nickc@redhat.com.
Fred Fish [Sun, 3 Apr 2005 20:36:37 +0000 (20:36 +0000)] 
Apply patch for binutils bug 806, approved by nickc@redhat.com.

2005-04-03  Fred Fish  <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and
dwarf_ranges_size members.
(struct comp_unit): Add base_address member.
(struct funcinfo): Replace low/high members with an arange.
(arange_add): Replace incoming "unit" parameter with "abfd" and
"first_arange" pointers.  Reorganize/rewrite function body.
(decode_line_info): Change arange_add call to pass bfd and arange
pointers.
(lookup_address_in_line_info_table): Use arange list instead of
individual low/high members.  Walk function's arange list to find
lowest PC in list, to test for overlapping functions.
(read_debug_ranges): New function, reads the debug_ranges section.
(lookup_address_in_function_table): Use arange list instead of
individual low/high members.  Rewrite to find smallest range that
matches.
(read_rangelist): Read a given rangelist from debug_ranges.
(scan_unit_for_functions): Use arange list instead of individual
low/high members.  Handle a DW_AT_ranges attribute.
(parse_comp_unit): Use arange list instead of individual low/high
members.  Save comp unit base address.  Handle a DW_AT_ranges
attribute.

19 years agomerge from gcc
DJ Delorie [Sun, 3 Apr 2005 04:41:10 +0000 (04:41 +0000)] 
merge from gcc

19 years agodaily update
Alan Modra [Sun, 3 Apr 2005 00:00:05 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 3 Apr 2005 00:00:04 +0000 (00:00 +0000)] 
*** empty log message ***

19 years ago * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
Daniel Jacobowitz [Sat, 2 Apr 2005 22:59:34 +0000 (22:59 +0000)] 
* mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
big-endian correction code to not offset 32-bit registers.
Locate floating point registers correctly.

19 years ago (Targets): Document "set/show architecture". Remove
Eli Zaretskii [Sat, 2 Apr 2005 22:24:18 +0000 (22:24 +0000)] 
(Targets): Document "set/show architecture".  Remove
redundant index entry for "target" command.
(Backtrace): Add index entries.
(Symbols, Fortran): Document the "set case-sensitive" command.
(DJGPP Native): Document "set com1base", "set com1irq", etc.
(Print Settings): Add index entry for "set demangle-style".
(Target Commands): Document "set download-write-size".
(Debugging Output): Document "set exec-done-display".

19 years agoFix typo.
Andreas Schwab [Sat, 2 Apr 2005 21:11:20 +0000 (21:11 +0000)] 
Fix typo.

19 years ago* main.c: Update copyright year.
Mark Kettenis [Sat, 2 Apr 2005 20:25:22 +0000 (20:25 +0000)] 
* main.c: Update copyright year.
(captured_main): Avois using strcpy and strcat.

19 years agomerge from gcc
DJ Delorie [Sat, 2 Apr 2005 20:20:01 +0000 (20:20 +0000)] 
merge from gcc

19 years ago (Files): Fix the name and documentation of
Eli Zaretskii [Sat, 2 Apr 2005 17:48:36 +0000 (17:48 +0000)] 
(Files): Fix the name and documentation of
add-shared-symbol-files.  Document its alias assf.  Update the
list of OSs where GDB supports shared libraries.  Fix markup.
(Continuing and Stepping): Add reference to @var{location} in the
text.
(Dump/Restore Files): Fix reference to @{filename}.
(Help): Fix wording.
(Attach): Ditto.
(Set Watchpoints): Ditto.
(Backtrace): Remove redundant index entries.  Improve index
entries.
(Delete Breaks): Fix wording.
(Memory): Document the compare-sections command.
(Memory Region Attributes): Improve wording.
(Disabling): Improve wording.
(Fortran): New subsection.  Document the "info common" command.
(Help): Document aliases "info copying" and "info warranty".
(Caching Remote Data): New section.  Document the "set/show
remotecache" and "info dcache" commands.
(Show): Fix wording of the documentation of the "set
extension-language" command.
(Signals): Add index entry for "info handle".
(Memory Region Attributes): Fix punctuation.
(Symbols): Change the arg name to "location" and refer to it in
the text.  Fix wording of "info types" doc.
(Threads): Fix usage of @enumerate @item's.
(Listing Tracepoints): Add index entry for "info tp".
(Set Watchpoints): Add xref to "info break" description.
(Macros): Add an index entry for "macro exp1".  Document the
"macro list" command.
(Maintenance Commands): Document "flushregs", "maint agent",
"maint check-symtabs", "maint cplus", "maint demangle", "maint
deprecate", "maint undeprecate", "maint dump-me", "maint packet",
"maint print architecture", "maint print objfiles", "maint print
statistics", "maint print type", "maint show-debug-regs", "maint
space", "maint time", and "maint translate-address".
(Connecting): Document the "monitor" command.
(Annotations Overview): Describe the "set annotate" command.

19 years ago * cp-demangle.c: Update copyright.
Ian Lance Taylor [Sat, 2 Apr 2005 17:18:43 +0000 (17:18 +0000)] 
* cp-demangle.c: Update copyright.

19 years ago(Set Watchpoints): Document can-use-hw-watchpoints.
Eli Zaretskii [Sat, 2 Apr 2005 08:32:31 +0000 (08:32 +0000)] 
(Set Watchpoints): Document can-use-hw-watchpoints.
Rearrange index entries and improve wording about support for
hardware watchpoints.

19 years ago2005-04-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 2 Apr 2005 00:45:52 +0000 (00:45 +0000)] 
2005-04-01  Michael Snyder  <msnyder@redhat.com>

* dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
computing this_id if there are no dummy frames on the stack.

19 years agoPatch from David Mosberger, to avoid nop.f on Itanium2.
Jim Wilson [Sat, 2 Apr 2005 00:43:48 +0000 (00:43 +0000)] 
Patch from David Mosberger, to avoid nop.f on Itanium2.
* config/tc-ia64.c (ia64_handle_align): Move le_nop and
le_nop_stop arrays and initializers to file scope.
(md_begin): When generating code for anything other than
Itanium 1, use MMI instead of MFI NOP bundles as a filler.

19 years ago2005-04-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 2 Apr 2005 00:40:51 +0000 (00:40 +0000)] 
2005-04-01  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_frame_unwind_cache): Use
find_partial_func instead of unwind_pc to identify frame.
(mn10300_push_dummy_call): Handle struct args, struct_return.

19 years ago2005-04-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 2 Apr 2005 00:08:14 +0000 (00:08 +0000)] 
2005-04-01  Michael Snyder  <msnyder@redhat.com>

* mn10300-prologue.c (set_movm_offsets): Don't test variable
before setting it.
* mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
instead of skip_prologue_using_sal.

19 years ago*** empty log message ***
gdbadmin [Sat, 2 Apr 2005 00:00:39 +0000 (00:00 +0000)] 
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 2 Apr 2005 00:00:09 +0000 (00:00 +0000)] 
daily update

19 years ago2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Apr 2005 20:52:24 +0000 (20:52 +0000)] 
2005-04-01  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Really use the kept section.

19 years ago * gdb.arch/altivec-abi.exp: Check for compiler and set
Paul Gilliam [Fri, 1 Apr 2005 18:43:22 +0000 (18:43 +0000)] 
    * gdb.arch/altivec-abi.exp: Check for compiler and set
        use altivec' flag accordingly.
        * gdb.arch/altivec-regs.exp: Likewise.

19 years agoopcodes/
Jan Beulich [Fri, 1 Apr 2005 16:06:40 +0000 (16:06 +0000)] 
opcodes/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (PNI_Fixup): Neither mwait nor monitor have any
visible operands in Intel mode. The first operand of monitor is
%rax in 64-bit mode.

19 years agoinclude/opcode/
Jan Beulich [Fri, 1 Apr 2005 16:03:40 +0000 (16:03 +0000)] 
include/opcode/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add rdtscp.

opcodes/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (INVLPG_Fixup): Decode rdtscp; change code to allow for
easier future additions.

19 years agogas/
Jan Beulich [Fri, 1 Apr 2005 15:58:31 +0000 (15:58 +0000)] 
gas/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
immediates.

19 years ago2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Apr 2005 15:09:43 +0000 (15:09 +0000)] 
2005-04-01  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention new readelf options, "-N/--full-section-name"
and "-g/--section-groups".

* doc/binutils.texi: Document new readelf options,
"-N/--full-section-name" and "-g/--section-groups".

19 years agoSupport the .f_floating, .d_floating, .g_floating and .h_floating directives
Nick Clifton [Fri, 1 Apr 2005 14:17:17 +0000 (14:17 +0000)] 
Support the .f_floating, .d_floating, .g_floating and .h_floating directives
for the VAX target in order to be more compatible with the VAX MACRO assembler.

19 years agoelf-rel.d: Call gas with -k. Thanks toMatt Thomas for figuring out.
Nick Clifton [Fri, 1 Apr 2005 14:08:56 +0000 (14:08 +0000)] 
elf-rel.d: Call gas with -k. Thanks toMatt Thomas for figuring out.
vax.exp: Run elf-rel.[sd] for NetBSD-ELF and Linux.

19 years agoAdd a check for <unistd.h> providing a prototype for getopt() which is compatible
Nick Clifton [Fri, 1 Apr 2005 12:56:29 +0000 (12:56 +0000)] 
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h.  If so then define HAVE_DECL_GETOPT.

19 years agogas/
Jan Beulich [Fri, 1 Apr 2005 07:50:24 +0000 (07:50 +0000)] 
gas/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.

gas/testsuite/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* gas/i386/bss.[sd]: New.
* gas/i386/i386.exp: Run new test.

19 years agogas/
Jan Beulich [Fri, 1 Apr 2005 07:46:07 +0000 (07:46 +0000)] 
gas/
2005-04-01  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
(tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.

gas/testsuite/
2005-04-01  Jan Beulich  <jbeulich@novell.com>
* gas/i386/x86-64-pcrel.[sd]: New.
* gas/i386/i386.exp: Run new test.

19 years ago2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Apr 2005 03:49:46 +0000 (03:49 +0000)] 
2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_check_kept_section): New.

* elf.c (assign_section_numbers): When sh_link points to a
discarded section, call _bfd_elf_check_kept_section to see if
the kept section can be used. Otherwise reject sh_link
pointing to discarded section.

* elflink.c (_bfd_elf_check_kept_section): New.
(elf_link_input_bfd): Use it.

19 years ago * elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs
Alan Modra [Fri, 1 Apr 2005 02:50:15 +0000 (02:50 +0000)] 
* elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs
that we no longer need.

19 years ago (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.
Alan Modra [Fri, 1 Apr 2005 02:40:35 +0000 (02:40 +0000)] 
(ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.

19 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors
Alan Modra [Fri, 1 Apr 2005 02:35:41 +0000 (02:35 +0000)] 
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors
rather than 0.

19 years ago2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Apr 2005 00:30:49 +0000 (00:30 +0000)] 
2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Fix a typo.

19 years ago2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Apr 2005 00:03:17 +0000 (00:03 +0000)] 
2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (do_full_section_name): New.
(options): Add "--full-section-name"/'N'.
(usage): Add -N/--full-section-name.
(parse_args): Handle 'N'.
(process_section_headers): Print out the full section name if
do_full_section_name isn't 0.

19 years agodaily update
Alan Modra [Fri, 1 Apr 2005 00:00:05 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 1 Apr 2005 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

19 years ago2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 31 Mar 2005 23:45:30 +0000 (23:45 +0000)] 
2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_input_bfd): Remove the extra `\n' in
error message.
(_bfd_elf_section_already_linked): Likewise.

19 years agoAdd TLS load module support for FRV.
Kevin Buettner [Thu, 31 Mar 2005 20:39:14 +0000 (20:39 +0000)] 
Add TLS load module support for FRV.

19 years ago * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
Kevin Buettner [Thu, 31 Mar 2005 19:58:26 +0000 (19:58 +0000)] 
* gdbarch.sh (fetch_tls_load_module_address): New architecture method.
* gdbarch.c, gdbarch.h: Regenerate.
* dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
address and pass this address, instead of the objfile address, to
target_get_thread_local_address().
* linux-thread-db.c (thread_db_get_thread_local_address): Change
second parameter from type ``struct objfile *'' to CORE_ADDR.  Do
not call svr4_fetch_objfile_link_map() to fetch the load module
address.
* target.h (struct target_ops): Change second parameter of
``to_get_thread_local_address'' from ``struct objfile *'' to
``CORE_ADDR''.
* alpha-linux-tdep.c (solib-svr4.h): Include.
(alpha_linux_init_abi): Register TLS load module fetcher.
* amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
* hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
* i386-linux-tdep.c (i386_linux_init_abi): Likewise.
* ia64-linux-tdep.c (solib-svr4.h): Include.
(ia64_linux_init_abi): Register TLS load module fetcher.
* m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
* m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
* mips-linux-tdep.c (mips_linux_init_abi): Likewise.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
* sparc64-linux-tdep.c (solib-svr4.h): Include.
(sparc64_linux_init_abi): Register TLS load module fetcher.
* Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
(sparc-linux-tdep.o): Update dependencies.

19 years agomerge from gcc
DJ Delorie [Thu, 31 Mar 2005 17:03:35 +0000 (17:03 +0000)] 
merge from gcc

19 years ago * configure.in: Check for basename.
Jerome Guitton [Thu, 31 Mar 2005 16:52:54 +0000 (16:52 +0000)] 
* configure.in: Check for basename.
* configure: Regenerate.
        * config.in: Ditto.

19 years ago * bfd/config.in: Regenerate.
Jerome Guitton [Thu, 31 Mar 2005 16:09:03 +0000 (16:09 +0000)] 
* bfd/config.in: Regenerate.

19 years ago * bfd/config.in (HAVE_DECL_BASENAME): New configure macro.
Jerome Guitton [Thu, 31 Mar 2005 15:35:38 +0000 (15:35 +0000)] 
* bfd/config.in (HAVE_DECL_BASENAME): New configure macro.
* bfd/configure.in: Check for basename.
* bfd/configure: Regenerate.

19 years agoAdd a check for <unistd.h> providing a prototype for getopt() which is compatible
Nick Clifton [Thu, 31 Mar 2005 14:40:41 +0000 (14:40 +0000)] 
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h.  If so then define HAVE_DECL_GETOPT.

19 years agodaily update
Alan Modra [Thu, 31 Mar 2005 00:00:05 +0000 (00:00 +0000)] 
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 31 Mar 2005 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

19 years ago * config/mh-mingw32: Delete.
Joern Rennecke [Wed, 30 Mar 2005 18:36:33 +0000 (18:36 +0000)] 
* config/mh-mingw32: Delete.
* configure.in: Don't use it.
* configure: Regenerate.

19 years ago * bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
Julian Brown [Wed, 30 Mar 2005 17:19:29 +0000 (17:19 +0000)] 
* bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/bfd-in2.h: Regenerate.
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename
bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
(arm_elf_find_function): Likewise.
(elf32_arm_output_symbol_hook): Likewise.
* gas/config/tc-arm.c (arm_adjust_symtab): Likewise.

19 years ago * bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.
Julian Brown [Wed, 30 Mar 2005 16:22:07 +0000 (16:22 +0000)] 
* bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.
* bfd/bfd-in2.h: Regenerate.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to
bfd_elf32_is_arm_mapping_symbol_name.
(elf32_arm_output_symbol_hook): Likewise.
(arm_elf_find_function): Likewise, and include STT_NOTYPE in test for
mapping symbols.
(is_arm_mapping_symbol_name): Function moved from here...
* bfd/cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here,
renamed and made global.
* gas/config/tc-arm.c (mapping_state): Change documentation in function
comment to cross-reference spec instead. Change type of mapping symbols
to BSF_NO_TYPE.
(arm_adjust_symtab): Don't change type of mapping symbols here.
* gas/testsuite/gas/arm/mapping.d: Update expected output.
* ld/testsuite/ld-arm/arm-app-abs32.d: Likewise.
* ld/testsuite/ld-arm/arm-app.d: Likewise.
* ld/testsuite/ld-arm/mixed-app.d: Likewise.

19 years ago2005-03-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 30 Mar 2005 16:21:33 +0000 (16:21 +0000)] 
2005-03-30  Paul Brook  <paul@codesourcery.com>

* arm/wrapper.c: Provide SIGTRAP and SIGBUS.

19 years ago2005-02-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 30 Mar 2005 08:39:18 +0000 (08:39 +0000)] 
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path.
* Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove.
(HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR).
(HOST_LIB_PATH): Generate from Makefile.def.
(TARGET_LIB_PATH): Likewise.
(Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR.
* Makefile.in: Regenerate.
* configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove.
(RPATH_ENVVAR): Include Darwin case.
* configure: Regenerate.

config:
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

* config/gcc-lib-path.m4: Remove.

19 years ago * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
Aaron W. LaFramboise [Wed, 30 Mar 2005 02:55:13 +0000 (02:55 +0000)] 
* as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Check for ffs decl and alphabetize.

19 years ago * configure.in: Check for ffs decl and alphabetize.
Aaron W. LaFramboise [Wed, 30 Mar 2005 02:46:25 +0000 (02:46 +0000)] 
* configure.in: Check for ffs decl and alphabetize.
* config.in: Regenerate.
* configure: Regenerate.
* sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and
alphabetize.

This page took 0.071594 seconds and 4 git commands to generate.