OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agobfd/
Richard Sandiford [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/
Richard Sandiford [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.
Ian Lance Taylor [Sat, 15 Dec 2007 01:01:48 +0000 (01:01 +0000)]
Minor speedup to Output_merge_string::do_add_input_section.

16 years agodaily update
Alan Modra [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.
Alan Modra [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
Ian Lance Taylor [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.
Ian Lance Taylor [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.
Ian Lance Taylor [Fri, 14 Dec 2007 18:22:06 +0000 (18:22 +0000)]
Make some File_read methods const.

16 years agoAdd some missing dependencies for the new linker.
Ian Lance Taylor [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.
Ian Lance Taylor [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.
Ian Lance Taylor [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 Delorie [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 agodaily update
Alan Modra [Thu, 13 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agogas/
Bob Wilson [Thu, 13 Dec 2007 19:03:45 +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 agodaily update
Alan Modra [Wed, 12 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoWrap long line in previous entry.
Bob Wilson [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 ...
Bob Wilson [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
Bob Wilson [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 agoFrom Cary Coutant: Test TLS initial-exec model.
Ian Lance Taylor [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.
Ian Lance Taylor [Tue, 11 Dec 2007 23:30:52 +0000 (23:30 +0000)]
From Cary Coutant: Set DF_STATIC_TLS as appropriate.

16 years agodaily update
Alan Modra [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
Bob Wilson [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.
Ian Lance Taylor [Tue, 11 Dec 2007 21:21:14 +0000 (21:21 +0000)]
From Cary Coutant: Fix x86_64 TLS problem.

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

16 years ago * bfd/elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if
Catherine Moore [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.
Daniel Jacobowitz [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.
Ian Lance Taylor [Tue, 11 Dec 2007 04:23:05 +0000 (04:23 +0000)]
From Cary Coutant: Handle TLS entry for TLS module index.

16 years agowarning messages should contain "warning:"
Alan Modra [Mon, 10 Dec 2007 23:44:23 +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.
Alan Modra [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
Alan Modra [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.
Ian Lance Taylor [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 agogas/
Richard Sandiford [Mon, 10 Dec 2007 10:36:00 +0000 (10:36 +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 agodaily update
Alan Modra [Sun, 9 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

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

16 years agoReleased gold-alpha 0.9.
Craig Silverstein [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->.
Ian Lance Taylor [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.
Bob Wilson [Sat, 8 Dec 2007 01:04:59 +0000 (01:04 +0000)]
* readelf.c (is_32bit_pcrel_reloc): Add Xtensa.

16 years agoFrom Cary Coutant: Fix x86_64 TLS. Also set DT_TEXTREL as well as
Ian Lance Taylor [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
Alan Modra [Fri, 7 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-07 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Fri, 7 Dec 2007 22:52:10 +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.
Ian Lance Taylor [Fri, 7 Dec 2007 19:32:59 +0000 (19:32 +0000)]
From Cary Coutant: Fix handling of RELATIVE RELA relocs.

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

16 years ago * config/tc-xtensa.c (xg_force_frag_space): Delete.
Bob Wilson [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.
Ian Lance Taylor [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
Ian Lance Taylor [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 agodaily update
Alan Modra [Thu, 6 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoconfig/
Richard Sandiford [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 agoFrom Craig Silverstein: Reorganize testsuite Makefile.am.
Ian Lance Taylor [Thu, 6 Dec 2007 17:07:24 +0000 (17:07 +0000)]
From Craig Silverstein: Reorganize testsuite Makefile.am.

16 years agoInitialize variable to avoid warning.
Ian Lance Taylor [Thu, 6 Dec 2007 06:03:00 +0000 (06:03 +0000)]
Initialize variable to avoid warning.

16 years agoFrom Cary Coutant: More support for generating shared libraries.
Ian Lance Taylor [Thu, 6 Dec 2007 05:55:50 +0000 (05:55 +0000)]
From Cary Coutant: More support for generating shared libraries.

16 years agoFix comment.
Ian Lance Taylor [Thu, 6 Dec 2007 05:27:24 +0000 (05:27 +0000)]
Fix comment.

16 years agoDon't write out the symbol table when stripping.
Ian Lance Taylor [Thu, 6 Dec 2007 05:00:00 +0000 (05:00 +0000)]
Don't write out the symbol table when stripping.

16 years agodaily update
Alan Modra [Wed, 5 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoRework Stringpool to not compute the hash code twice when adding a new
Ian Lance Taylor [Wed, 5 Dec 2007 22:56:51 +0000 (22:56 +0000)]
Rework Stringpool to not compute the hash code twice when adding a new
string.

16 years ago * elf32-spu.c (spu_elf_size_stubs): Do consider branches to
Alan Modra [Wed, 5 Dec 2007 03:29:20 +0000 (03:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Do consider branches to
non-function symbols for overlay stubs.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 5 Dec 2007 03:27:21 +0000 (03:27 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years agoFrom Craig Silverstein: Support -o -.
Ian Lance Taylor [Wed, 5 Dec 2007 01:13:28 +0000 (01:13 +0000)]
From Craig Silverstein: Support -o -.

16 years agoFrom Craig Silverstein: Test some flags.
Ian Lance Taylor [Wed, 5 Dec 2007 01:10:16 +0000 (01:10 +0000)]
From Craig Silverstein: Test some flags.

16 years agoStringpool stats. Also make Symbol_table support functions inline.
Ian Lance Taylor [Wed, 5 Dec 2007 00:48:49 +0000 (00:48 +0000)]
Stringpool stats.  Also make Symbol_table support functions inline.

16 years agoFrom Craig Silverstein: Support irregular output files.
Ian Lance Taylor [Tue, 4 Dec 2007 23:42:28 +0000 (23:42 +0000)]
From Craig Silverstein: Support irregular output files.

16 years agoPrint symbol table statistics with --stats.
Ian Lance Taylor [Tue, 4 Dec 2007 23:11:35 +0000 (23:11 +0000)]
Print symbol table statistics with --stats.

16 years agodaily update
Alan Modra [Tue, 4 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
Bob Wilson [Tue, 4 Dec 2007 22:41:59 +0000 (22:41 +0000)]
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT
entry for all dynamic objects.

16 years ago * elf32-spu.c (spu_elf_size_stubs): Correct section alignment.
Alan Modra [Tue, 4 Dec 2007 03:29:43 +0000 (03:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Correct section alignment.

16 years agoFrom Craig Silverstein: Use gold_fatal in options.h, beef up value checks.
Ian Lance Taylor [Tue, 4 Dec 2007 01:30:46 +0000 (01:30 +0000)]
From Craig Silverstein: Use gold_fatal in options.h, beef up value checks.

16 years ago * readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.
Alan Modra [Mon, 3 Dec 2007 23:19:25 +0000 (23:19 +0000)]
* readelf.c (is_32bit_abs_reloc, is_32bit_pcrel_reloc): Add SPU.

16 years ago * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
Alan Modra [Mon, 3 Dec 2007 23:14:24 +0000 (23:14 +0000)]
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.

16 years agodaily update
Alan Modra [Mon, 3 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 2 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sat, 1 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoMore -fPIC options.
Ian Lance Taylor [Sat, 1 Dec 2007 06:53:32 +0000 (06:53 +0000)]
More -fPIC options.

16 years agoAdd missing space.
Ian Lance Taylor [Sat, 1 Dec 2007 06:51:45 +0000 (06:51 +0000)]
Add missing space.

16 years agoCompile shared library code with -fPIC. Also, alphabetize.
Ian Lance Taylor [Sat, 1 Dec 2007 06:50:09 +0000 (06:50 +0000)]
Compile shared library code with -fPIC.  Also, alphabetize.

16 years agoAdd casts to avoid warnings.
Ian Lance Taylor [Sat, 1 Dec 2007 06:45:21 +0000 (06:45 +0000)]
Add casts to avoid warnings.

16 years agoCompress all debug sections.
Ian Lance Taylor [Sat, 1 Dec 2007 06:34:12 +0000 (06:34 +0000)]
Compress all debug sections.

16 years agogas/
Bob Wilson [Fri, 30 Nov 2007 23:47:55 +0000 (23:47 +0000)]
gas/
* config/tc-xtensa.h (md_allow_eh_opt): Define.
gas/testsuite/
* gas/elf/elf.exp: Disable ehopt test for Xtensa.

16 years agodaily update
Alan Modra [Fri, 30 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFrom Cary Coutant: Avoid compilation warnings if no zlib.h.
Ian Lance Taylor [Fri, 30 Nov 2007 22:38:01 +0000 (22:38 +0000)]
From Cary Coutant: Avoid compilation warnings if no zlib.h.

16 years agobfd/
Richard Sandiford [Fri, 30 Nov 2007 09:01:35 +0000 (09:01 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the
ELF header to choose between 32-bit and 64-bit relocation structures.

16 years agoFrom Craig Silverstein: Add support for compressing .debug_str section.
Ian Lance Taylor [Fri, 30 Nov 2007 00:35:27 +0000 (00:35 +0000)]
From Craig Silverstein: Add support for compressing .debug_str section.

16 years agodaily update
Alan Modra [Thu, 29 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoClean up setting address and section offset.
Ian Lance Taylor [Thu, 29 Nov 2007 20:10:17 +0000 (20:10 +0000)]
Clean up setting address and section offset.

16 years ago2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Thu, 29 Nov 2007 15:36:39 +0000 (15:36 +0000)]
2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * config-ml.in: Robustify against white space in absolute file
        names.

16 years ago bfd/
Mark Shinwell [Thu, 29 Nov 2007 12:23:44 +0000 (12:23 +0000)]
bfd/
* archures.c (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* bfd-in2.h (bfd_mach_mips_loongson_2e): New.
(bfd_mach_mips_loongson_2f): New.
* cpu-mips.c: Add I_loongson_2e and I_loongson_2f to
anonymous enum.
(arch_info_struct): Add Loongson-2E and Loongson-2F entries.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E
and Loongson-2F flags.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Loongson-2E and Loongson-2F
entries.

binutils/
* readelf.c (get_machine_flags): Handle Loongson-2E and -2F
flags.

gas/
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.

gas/testsuite/
* gas/mips/mips.exp: Add loongson-2e and -2f tests.
* gas/mips/loongson-2e.d: New.
* gas/mips/loongson-2e.s: New.
* gas/mips/loongson-2f.d: New.
* gas/mips/loongson-2f.s: New.

include/elf/
* mips.h (E_MIPS_MACH_LS2E): New.
(E_MIPS_MACH_LS2F): New.

include/opcode/
* mips.h (INSN_LOONGSON_2E): New.
(INSN_LOONGSON_2F): New.
(CPU_LOONGSON_2E): New.
(CPU_LOONGSON_2F): New.
(OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags.

opcodes/
* mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F
entries.
* mips-opc.c (IL2E): New.
(IL2F): New.
(mips_builtin_opcodes): Add Loongson-2E and -2F instructions.
Allow movz and movn for Loongson-2E and -2F.  Add movnz entry.
Move coprocessor encodings to the end of the table.  Allow
certain MIPS V .ps instructions on the Loongson-2E and -2F.

16 years ago include/opcode/
Mark Shinwell [Thu, 29 Nov 2007 11:55:19 +0000 (11:55 +0000)]
include/opcode/
* mips.h (INSN_ISA*): Redefine certain values as an
enumeration.  Update comments.
(mips_isa_table): New.
(ISA_MIPS*): Redefine to match enumeration.
(OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA*
values.

opcodes/
* mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New.
(mips_builtin_opcodes): Use these new I* values.

16 years ago2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Thu, 29 Nov 2007 09:34:14 +0000 (09:34 +0000)]
2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* config/tc-s390.c (md_begin): If the -mesa option is specified
add zarch opcodes to the hash table only if there is no variant
that is available for the esa mode as well.

2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* gas/s390/esa-z9-109.d: Add check for old version of sske.
* gas/s390/esa-z9-109.s: Likewise.

16 years agoPR ld/5398
Nick Clifton [Thu, 29 Nov 2007 08:14:22 +0000 (08:14 +0000)]
PR ld/5398
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if
  there is no glue bfd, just return.

16 years agodaily update
Alan Modra [Wed, 28 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoDon't try to delete the output file if we don't know its name yet.
Ian Lance Taylor [Wed, 28 Nov 2007 19:39:40 +0000 (19:39 +0000)]
Don't try to delete the output file if we don't know its name yet.

16 years agoFrom Craig Silverstein: Fix up comments.
Ian Lance Taylor [Wed, 28 Nov 2007 19:38:35 +0000 (19:38 +0000)]
From Craig Silverstein: Fix up comments.

16 years agoFrom Craig Silverstein: Better handling of ODR violations which are
Ian Lance Taylor [Wed, 28 Nov 2007 18:01:06 +0000 (18:01 +0000)]
From Craig Silverstein: Better handling of ODR violations which are
not in a function.

16 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
Nathan Sidwell [Wed, 28 Nov 2007 13:53:05 +0000 (13:53 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with
segments at the end of memory.

16 years ago* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward...
Nick Clifton [Wed, 28 Nov 2007 13:04:18 +0000 (13:04 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover forward jumps.
* ld-mn10300/i135409-5.s: New test case.  Check for relaxation to a 16-bit backward jump instruction.
* ld-mn10300/i135409-5.t: Linker script for the new test.
* ld-mn10300/i135409-5.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.

16 years agodaily update
Alan Modra [Tue, 27 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:33:28 +0000 (15:33 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

16 years ago2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 27 Nov 2007 15:31:59 +0000 (15:31 +0000)]
2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
"tgxt"): Removed.
("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
"tgdt", "tgxt"): Removed.
        ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
* gas/s390/zarch-z9-ec.s: Likewise.

16 years agoRework merge_map for speed.
Ian Lance Taylor [Tue, 27 Nov 2007 06:13:33 +0000 (06:13 +0000)]
Rework merge_map for speed.

16 years agodaily update
Alan Modra [Mon, 26 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * cxxfilt.c (demangle_it): Don't call printf without format string.
Alan Modra [Mon, 26 Nov 2007 01:53:59 +0000 (01:53 +0000)]
* cxxfilt.c (demangle_it): Don't call printf without format string.

16 years ago * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
Alan Modra [Mon, 26 Nov 2007 01:43:43 +0000 (01:43 +0000)]
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.