OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago PR 4888
Alan Modra [Sat, 4 Aug 2007 08:26:38 +0000 (08:26 +0000)]
PR 4888
* objcopy.c (setup_section): Do modify section flags for ELF
STRIP_NONDEBUG (reverting part of 2007-05-30 change).  Prevent
header rewrite by twiddling input section flags instead.
Simplify code setting SHT_NOBITS.

17 years agodaily update
Alan Modra [Sat, 4 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Fri, 3 Aug 2007 19:49:44 +0000 (19:49 +0000)]
merge from gcc

17 years agoFix resource dependency problems for xmpy.
Jim Wilson [Fri, 3 Aug 2007 18:54:22 +0000 (18:54 +0000)]
Fix resource dependency problems for xmpy.

17 years ago * ld-srec/srec.exp: XFAIL for powerpc*-*-*.
Daniel Jacobowitz [Fri, 3 Aug 2007 12:53:47 +0000 (12:53 +0000)]
* ld-srec/srec.exp: XFAIL for powerpc*-*-*.

17 years agodaily update
Alan Modra [Fri, 3 Aug 2007 00:00:04 +0000 (00:00 +0000)]
daily update

17 years agobfd/
H.J. Lu [Thu, 2 Aug 2007 16:02:01 +0000 (16:02 +0000)]
bfd/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 2 Aug 2007 00:40:02 +0000 (00:40 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* i386-dis.c (print_insn): Guard against NULL.

17 years agodaily update
Alan Modra [Thu, 2 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 20:06:05 +0000 (20:06 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* vms-tir.c (new_section): Fix cut and paste error.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:58:40 +0000 (19:58 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (aout_link_add_symbols): Return if count is zero.

17 years ago2007-08-01 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:55:10 +0000 (19:55 +0000)]
2007-08-01  Michael Snyder  <msnyder@access-company.com>

* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so
pointer must be non-null.

17 years ago2007-07-31 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Wed, 1 Aug 2007 19:43:08 +0000 (19:43 +0000)]
2007-07-31  Michael Snyder  <msnyder@access-company.com>

* cp-demangle.c (d_print_comp): Guard against null.

17 years ago * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
Adam Nemet [Wed, 1 Aug 2007 17:41:30 +0000 (17:41 +0000)]
* ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
* ld-mips-elf/mips-elf.exp: Invoke them.

17 years agoga.po: Updated Irish translation.
Nick Clifton [Wed, 1 Aug 2007 17:00:08 +0000 (17:00 +0000)]
ga.po: Updated Irish translation.

17 years ago* coffcode.h (coff_sort_func_alent): New function.
Nick Clifton [Wed, 1 Aug 2007 16:55:54 +0000 (16:55 +0000)]
* coffcode.h (coff_sort_func_alent): New function.
  (coff_slurp_line_table): Sort line table if not already sorted.

17 years agoCorrect ChangeLog entries.
H.J. Lu [Wed, 1 Aug 2007 15:27:55 +0000 (15:27 +0000)]
Correct ChangeLog entries.

17 years agoAdd a newline.
H.J. Lu [Wed, 1 Aug 2007 15:19:35 +0000 (15:19 +0000)]
Add a newline.

17 years ago * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
Jakub Jelinek [Wed, 1 Aug 2007 08:57:23 +0000 (08:57 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Work around buggy
GCC 3.4.x warning.

17 years ago * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
Alan Modra [Wed, 1 Aug 2007 07:50:16 +0000 (07:50 +0000)]
* aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown
r_type.
(swap_std_reloc_in): Likewise.
(aout_link_input_section_std): Likewise.  Return with an error
on unexpected relocation type.
(aout_link_input_section_ext): Likewise.

17 years ago PR4694
Alan Modra [Wed, 1 Aug 2007 07:43:36 +0000 (07:43 +0000)]
PR4694
* aoutx.h (final_link): Write a zero in first word of
stringtab if no symbols rather than corrupting last byte
of text/data.

17 years agodaily update
Alan Modra [Wed, 1 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * elf.c (get_program_header_size): Adjacent loadable .note*
Jakub Jelinek [Tue, 31 Jul 2007 08:15:44 +0000 (08:15 +0000)]
* elf.c (get_program_header_size): Adjacent loadable .note*
sections need just one PT_NOTE segment.
(_bfd_elf_map_sections_to_segments): Likewise.

17 years ago2007-07-30 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 31 Jul 2007 03:53:24 +0000 (03:53 +0000)]
2007-07-30  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of
2007-07-26.  Buffer still in use, can't be freed.

17 years agodaily update
Alan Modra [Tue, 31 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Mon, 30 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agogas/testsuite/
H.J. Lu [Sun, 29 Jul 2007 19:43:36 +0000 (19:43 +0000)]
gas/testsuite/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4834
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/simd.s: Add tests for SSE4 instructions.
* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4834
* i386-dis.c (EXw): New.
(prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
instructions when appropriated.

17 years agoThe fix is for PR 4834, not PR 4835.
H.J. Lu [Sun, 29 Jul 2007 18:37:21 +0000 (18:37 +0000)]
The fix is for PR 4834, not PR 4835.

17 years agogas/
H.J. Lu [Sun, 29 Jul 2007 18:27:59 +0000 (18:27 +0000)]
gas/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
DWORD memory to Reg64 in Intel synax.
(check_qword_reg): Allow cvtsd2si to convert QWORD memory to
Reg32 in Intel syntax.

gas/testsuite/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/simd.s: Add tests for cvtss2si/cvtsd2si in Intel
mode.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

17 years agold/
Alan Modra [Sun, 29 Jul 2007 12:33:38 +0000 (12:33 +0000)]
ld/
* ldlang.c (lang_insert_orphan): When searching through linker
script to place an orphan, don't stop on statements that appear
outside of SECTIONS.
* emultempl/elf32.em (output_rel_find): Prefer read-only alloc
sections over read/write alloc sections.
ld/testsuite/
* ld-elf/weak-dyn-1.rd: Adjust.

17 years agodaily update
Alan Modra [Sun, 29 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agogas/testsuite/
H.J. Lu [Sat, 28 Jul 2007 23:34:14 +0000 (23:34 +0000)]
gas/testsuite/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4835
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/simd.s: Add new tests.
* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4835
* i386-dis.c (Eq): New.
(EMC): Renamed to ...
(EMCq): This.  Use q_mode instead of v_mode.
(prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
when appropriated.

17 years ago* MAINTAINERS: Update my email address.
Christopher Faylor [Sat, 28 Jul 2007 17:39:16 +0000 (17:39 +0000)]
* MAINTAINERS: Update my email address.

17 years agogas/testsuite/
H.J. Lu [Sat, 28 Jul 2007 16:32:01 +0000 (16:32 +0000)]
gas/testsuite/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-opcode.d: Updated.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

* gas/i386/x86-64-simd.s: Add movq.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Change "movd" to "movK".
(prefix_user_table): Likewise.  Use EXq instead of EXx on
"movq".

17 years agodaily update
Alan Modra [Sat, 28 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * scripttempl/elf.sc: Add .note.gnu.build-id.
Jakub Jelinek [Fri, 27 Jul 2007 22:33:24 +0000 (22:33 +0000)]
* scripttempl/elf.sc: Add .note.gnu.build-id.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 22:04:23 +0000 (22:04 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* cofflink.c (coff_link_add_symbols): Return if count is zero.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 21:23:01 +0000 (21:23 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 19:04:39 +0000 (19:04 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (slurp_symbol_table): Return if count == 0.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 18:54:04 +0000 (18:54 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.

17 years ago2007-07-27 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 18:50:18 +0000 (18:50 +0000)]
2007-07-27  Michael Snyder  <msnyder@access-company.com>

* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.

17 years ago * ppc-opc (PPC7450): New.
Nathan Sidwell [Fri, 27 Jul 2007 14:24:27 +0000 (14:24 +0000)]
* ppc-opc (PPC7450): New.
(powerpc_opcodes): Use it in dcba.

17 years ago2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Jul 2007 13:26:44 +0000 (13:26 +0000)]
2007-07-27  H.J. Lu  <hongjiu.lu@intel.com>

* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Fri, 27 Jul 2007 01:15:27 +0000 (01:15 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.

17 years ago2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
Michael Snyder [Fri, 27 Jul 2007 01:04:29 +0000 (01:04 +0000)]
2007-07-26  Michael Snyder  <msnyder@svkmacdonelllnx>

* linker.c (bfd_section_already_linked_table_insert): Change
return type from void to boolean.  Return FALSE on failure.
(_bfd_generic_section_already_linked): Test return value of
bfd_section_already_linked_table_insert, call fatal on error.

* elflink.c (_bfd_elf_section_already_linked): Test return value
of bfd_section_already_linked_table_insert, call fatal on error.

* libbfd-in.h (bfd_section_already_linked_table_insert): Update
return type to bfd_boolean.

* libbfd.h: Regenerate.

17 years ago * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
Adam Nemet [Fri, 27 Jul 2007 00:49:06 +0000 (00:49 +0000)]
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
bfd_slurp_armap): Improve function comment.

17 years ago * readelf.c (process_archive): Also skip Irix6-style archive symbol
Adam Nemet [Fri, 27 Jul 2007 00:48:30 +0000 (00:48 +0000)]
* readelf.c (process_archive): Also skip Irix6-style archive symbol
tables.

17 years agodaily update
Alan Modra [Fri, 27 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoFix bollixed check-in
Michael Snyder [Thu, 26 Jul 2007 21:58:44 +0000 (21:58 +0000)]
Fix bollixed check-in

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 21:53:35 +0000 (21:53 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* linker.c (already_linked_newfunc): Check for NULL return from
bfd_hash_allocate.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 19:06:12 +0000 (19:06 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (fixup_symbol_value): Guard against null;
bfd_is_com_section will dereference the section pointer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:53:51 +0000 (18:53 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* syms.c (bfd_decode_symclass): Guard against NULL, since
bfd_is_com_section dereferences the pointer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:45:13 +0000 (18:45 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* srec.c (srec_scan): Check for EOF (critical because return value
will be used as array index).

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:43:24 +0000 (18:43 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
are not to be cached, free the temporary buffer.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:30:28 +0000 (18:30 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero
or count == zero.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:18:07 +0000 (18:18 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* tekhex.c (first_phase): Check return value for null.

17 years ago2007-07-26 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 18:15:46 +0000 (18:15 +0000)]
2007-07-26  Michael Snyder  <msnyder@access-company.com>

* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.

17 years ago * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
Alan Modra [Thu, 26 Jul 2007 13:45:59 +0000 (13:45 +0000)]
* elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
check on dynobj.  Remove bed shadow.

17 years ago * srec.c (srec_get_section_contents): Return immediately on
Alan Modra [Thu, 26 Jul 2007 12:34:43 +0000 (12:34 +0000)]
* srec.c (srec_get_section_contents): Return immediately on
count zero.  Check that offset and count are within section.
* libbfd.c (_bfd_generic_get_section_contents): Check that
offset + count does not overflow.

17 years ago * srec.c (srec_canonicalize_symtab): Don't alloc when symcount
Alan Modra [Thu, 26 Jul 2007 11:13:59 +0000 (11:13 +0000)]
* srec.c (srec_canonicalize_symtab): Don't alloc when symcount
is zero.  Correct return value on error.
* mmo.c (mmo_canonicalize_symtab): Likewise.
* binary.c (binary_canonicalize_symtab) Correct return on error.

17 years ago * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.
Thiemo Seufer [Thu, 26 Jul 2007 11:05:23 +0000 (11:05 +0000)]
* bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.

17 years ago * reloc.c (bfd_generic_get_relocated_section_contents): Avoid
Alan Modra [Thu, 26 Jul 2007 09:37:13 +0000 (09:37 +0000)]
* reloc.c (bfd_generic_get_relocated_section_contents): Avoid
bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound
says there are no relocs.

17 years agoSpeed up bfd_dwarf2_find_line.
Nick Clifton [Thu, 26 Jul 2007 08:31:03 +0000 (08:31 +0000)]
Speed up bfd_dwarf2_find_line.
* dwarf2.c (struct dwarf2_debug): Add new fields to support function and variable info hash tables. Add last_comp_unit, info_hash_count, funcinfo_hash_table, varinfo_hash_table, hash_units_head.
  (struct comp_unit): Add prev_unit, cached.
  (struct info_list_node, struct info_hash_entry, struct info_hash_table): New.
  (info_hash_table_newfunc, create_info_hash_table, insert_info_hash_table, lookup_info_hash_table): New functions implementing function and variable info hash tables.
  (scan_unit_for_symbols): Add checks to make sure hash tables are consistent with compilation units.
  (comp_unit_maybe_decode_line_info): New function.
  (comp_unit_find_line): Use comp_unit_maybe_decode_line_info.
  (reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info, info_hash_lookup_funcinfo, info_hash_lookup_varinfo, stash_maybe_update_info_hash_table, stash_verify_info_hash_table, stash_maybe_enable_info_hash_tables, stash_find_line_fast): New functions. Make use of info hash tables to speed up bfd_dwarf2_find_line.
  (find_line): Use hash table for faster lookup if it is turned on.
  Also add code to maintain bi-directional link in comp units.

17 years ago2007-07-25 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 26 Jul 2007 02:01:49 +0000 (02:01 +0000)]
2007-07-25  Michael Snyder  <msnyder@access-company.com>

* coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done
if size == 0; return and avoid possible null pointer issues.

17 years agodaily update
Alan Modra [Thu, 26 Jul 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago * ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.
Daniel Jacobowitz [Wed, 25 Jul 2007 21:30:59 +0000 (21:30 +0000)]
* ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.

17 years ago * config/tc-xtensa.c (xtensa_extui_opcode): New.
Bob Wilson [Wed, 25 Jul 2007 17:33:27 +0000 (17:33 +0000)]
    * config/tc-xtensa.c (xtensa_extui_opcode): New.
        (xg_expand_assembly_insn): Check for invalid extui operands.
        (md_begin): Initialize xtensa_extui_opcode.

17 years agoPR 4824
Nick Clifton [Wed, 25 Jul 2007 14:56:22 +0000 (14:56 +0000)]
PR 4824
* ld.texinfo (Options): Extend the description of the -O command line option.

17 years ago2007-06-29 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 25 Jul 2007 14:39:48 +0000 (14:39 +0000)]
2007-06-29  Paul Brook  <paul@codesourcery.com>

* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.

17 years ago * Makefile.in (CFILES): Remove ternary.c.
Ben Elliston [Wed, 25 Jul 2007 06:36:27 +0000 (06:36 +0000)]
* Makefile.in (CFILES): Remove ternary.c.
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.

17 years ago * ternary.h: Remove.
Ben Elliston [Wed, 25 Jul 2007 06:34:29 +0000 (06:34 +0000)]
* ternary.h: Remove.

17 years agodaily update
Alan Modra [Wed, 25 Jul 2007 00:00:17 +0000 (00:00 +0000)]
daily update

17 years agowarning fix
Alan Modra [Tue, 24 Jul 2007 23:38:13 +0000 (23:38 +0000)]
warning fix

17 years ago2007-07-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 24 Jul 2007 20:17:18 +0000 (20:17 +0000)]
2007-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (main): Print a newline after copyright notice.

17 years ago2007-07-23 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 24 Jul 2007 19:58:06 +0000 (19:58 +0000)]
2007-07-23  Michael Snyder  <msnyder@access-company.com>

* opncls.c (bfd_make_writable): Check return from bfd_malloc.

17 years ago2007-07-24 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Tue, 24 Jul 2007 19:54:01 +0000 (19:54 +0000)]
2007-07-24  Michael Snyder  <msnyder@access-company.com>

* elflink.c (bfd_elf_final_link): Avoid redundant frees -- return
on bfd_malloc error rather than goto error_return.

17 years ago* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
Nick Clifton [Tue, 24 Jul 2007 14:47:44 +0000 (14:47 +0000)]
* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.

17 years ago* ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only section.
Nick Clifton [Tue, 24 Jul 2007 12:45:58 +0000 (12:45 +0000)]
* ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only section.

17 years ago* config/tc-mep.h (skip_whitespace): Remove definition.
Nick Clifton [Tue, 24 Jul 2007 12:38:35 +0000 (12:38 +0000)]
* config/tc-mep.h (skip_whitespace): Remove definition.

17 years ago* readelf.c (NUM_ELEM): Remove redundant macro; replace references to it
Nick Clifton [Tue, 24 Jul 2007 12:32:49 +0000 (12:32 +0000)]
* readelf.c (NUM_ELEM): Remove redundant macro; replace references to it
   with references to ARRAY_SIZE.
  Add support for CR16.
  Fix formatting.

17 years ago * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
Alan Modra [Tue, 24 Jul 2007 08:09:20 +0000 (08:09 +0000)]
* elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook,
_bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc,
_bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol,
_bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create,
bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class,
bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list,
bfd_elf_get_runpath_list, bfd_elf_get_dt_soname,
bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol,
struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol,
elf_sym_name_compare, elf_create_symbuf,
bfd_elf_match_symbols_in_sections,
_bfd_elf_match_sections_by_type): Move to here..
* elf.c: ..from here.

17 years agodaily update
Alan Modra [Tue, 24 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoDon't remove gas/i386/x86-64-nops-1-k8.d.
H.J. Lu [Mon, 23 Jul 2007 20:25:46 +0000 (20:25 +0000)]
Don't remove gas/i386/x86-64-nops-1-k8.d.

17 years agogas/
H.J. Lu [Mon, 23 Jul 2007 20:03:23 +0000 (20:03 +0000)]
gas/

2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
(f32_15): Removed.
(jump_31): New.
(f32_patt): Remove f32_15.
(f16_patt): Likewise.
(i386_align_code): Updated to alt_long_patt for 64bit by
default.

* config/tc-i386.h (processor_type): Add PROCESSOR_I386.

2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>

* config/tc-i386.c (i386_align_code): Enable alignment up to
MAX_MEM_FOR_RS_ALIGN_CODE bytes.  Remove special treatment
for K8.

* config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to
31.

gas/testsuite/

2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops16-1, nops-1-i386-i686, nops-1-k8,
nops-3-i386, nops-4, nops-4-i386, x86-64-nops-2, x86-64-nops-3,
x86-64-nops-4, x86-64-nops-4-core2 and x86-64-nops-4-k8.

* gas/i386/nops-1-i386-i686.d: New.
* gas/i386/nops-1-k8.d: Likewise.
* gas/i386/nops-3-i386.d : Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops16-1.s: Likewise.
* gas/i386/x86-64-nops-1-k8.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4-core2.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.

* gas/i386/nops-1-i386.d: Updated.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d : Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/x86-64-nops-1-merom.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.

* gas/i386/x86-64-nops-1.s: Removed.

2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Don't run x86-64-nops-1-k8. Run
nops-3-i686 and nops-4-i686.

* gas/i386/nops-3-i686.d: New.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/nops-4.s: Likewise.

* gas/i386/x86-64-nops-1-k8.d: Removed.

17 years agomerge from gcc
DJ Delorie [Mon, 23 Jul 2007 18:01:25 +0000 (18:01 +0000)]
merge from gcc

17 years agogas/testsuite/
Richard Sandiford [Mon, 23 Jul 2007 14:03:33 +0000 (14:03 +0000)]
gas/testsuite/
* lib/gas-defs.exp (run_list_test): Make the options optional.
* gas/cr16/cr16.exp (run_list_test): Delete.

17 years agoRemove unnecessary symbols from last commit.
Richard Sandiford [Mon, 23 Jul 2007 10:04:01 +0000 (10:04 +0000)]
Remove unnecessary symbols from last commit.

17 years agobfd/
Richard Sandiford [Mon, 23 Jul 2007 09:56:19 +0000 (09:56 +0000)]
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type
of weakdef->root.type if weakdef has no regular definition.

ld/testsuite/
* ld-elf/weak-dyn-1a.s, ld-elf/weak-dyn-1b.s, ld-elf/weak-dyn-1.ld,
* ld-elf/weak-dyn-1.rd: New test.
* ld-elf/elf.exp: Run it.

17 years agodaily update
Alan Modra [Mon, 23 Jul 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * elfxx-mips.c (struct mips_elf_link_hash_table): Add new field
Adam Nemet [Sun, 22 Jul 2007 16:45:06 +0000 (16:45 +0000)]
* elfxx-mips.c (struct mips_elf_link_hash_table): Add new field
small_data_overflow_reported.
(_bfd_mips_elf_link_hash_table_create): Initialize it.
(_bfd_mips_elf_relocate_section) <bfd_reloc_overflow>: Report
small-data section overflow.

17 years agodaily update
Alan Modra [Sun, 22 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago* sha1.h: Change to use version 3 of the GNU General Public License and tidy up forma...
Nick Clifton [Sat, 21 Jul 2007 08:55:49 +0000 (08:55 +0000)]
* sha1.h: Change to use version 3 of the GNU General Public License and tidy up formatting.
* sha1.c: Likewise.

17 years agodaily update
Alan Modra [Sat, 21 Jul 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * app.c (do_scrub_chars): Provide a one character buffer to hold a
Nick Clifton [Fri, 20 Jul 2007 08:20:27 +0000 (08:20 +0000)]
* app.c (do_scrub_chars): Provide a one character buffer to hold a
      pushed back newline at the end of an unterminated quoted string.

17 years agodaily update
Alan Modra [Fri, 20 Jul 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago.
Roland McGrath [Thu, 19 Jul 2007 19:56:24 +0000 (19:56 +0000)]
.

17 years ago2007-07-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 19 Jul 2007 19:56:10 +0000 (19:56 +0000)]
2007-07-19  Roland McGrath  <roland@redhat.com>

* genscripts.sh (source_em, fragment): New sh functions.
Truncate e${EMULATION_NAME}.c file before .em script fills it.
Use source_em in place of . for the .em script.
* emultempl/generic.em: Use fragment and source_em functions.
* emultempl/aix.em: Likewise.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/cr16elf.em: Likewise.
* emultempl/crxelf.em: Likewise.
* emultempl/elf-generic.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/genelf.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/irix.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/m68kelf.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/mipself.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmixelf.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/needrelax.em: Likewise.
* emultempl/netbsd.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emultempl/z80.em: Likewise.

17 years agoPR binutils/4797
Nick Clifton [Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)]
PR binutils/4797
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.

17 years agoPR gas/4804
Nick Clifton [Thu, 19 Jul 2007 16:47:40 +0000 (16:47 +0000)]
PR gas/4804
* gas/elf/elf.exp (target_machine): Treat the arm-linux-gnu target in the same way as the arm-eabi target.
* gas/arm/mapshort-eabi.d: Use this file for the arm-linux-gnu target.
* gas/arm/mapshort-elf.d: Do not use this file for the arm-linux-gnu target.

17 years agoPR binutils/4801
Nick Clifton [Thu, 19 Jul 2007 16:23:47 +0000 (16:23 +0000)]
PR binutils/4801
* maxq-dis.c (get_reg_name): Fix the scan of the mem_access_syntax_table.