OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years agooops - accidentally omitted from check-in of LM32 port.
Nick Clifton [Tue, 30 Dec 2008 10:35:59 +0000 (10:35 +0000)]
oops - accidentally omitted from check-in of LM32 port.

15 years ago2008-12-30 Martin Schwidefsky <schwidefskyy@de.ibm.com>
Martin Schwidefsky [Tue, 30 Dec 2008 10:00:47 +0000 (10:00 +0000)]
2008-12-30  Martin Schwidefsky  <schwidefskyy@de.ibm.com>

* s390-opc.txt: Add ptff instruction.

15 years agodaily update
Alan Modra [Tue, 30 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoFix copy-paste bug that caused z80-objdump to issue warnings about stabs debugging...
Arnold Metselaar [Mon, 29 Dec 2008 17:06:46 +0000 (17:06 +0000)]
Fix copy-paste bug that caused z80-objdump to issue warnings about stabs debugging symbols rather than to show them.

15 years agodaily update
Alan Modra [Mon, 29 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sun, 28 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 27 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years agodaily update reverse-20081226-branchpoint
Alan Modra [Fri, 26 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Thu, 25 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoFix the LM32 port entry timestamp for the time of its application.
Jan Kratochvil [Wed, 24 Dec 2008 10:06:43 +0000 (10:06 +0000)]
Fix the LM32 port entry timestamp for the time of its application.

15 years agoopcodes/
Jan Kratochvil [Wed, 24 Dec 2008 09:58:03 +0000 (09:58 +0000)]
opcodes/
* Makefile.am (CFILES, ALL_MACHINES): Add LM32 source and object files.
* Makefile.in: Regenerate.

15 years ago * gold.cc (gold_exit): Call plugin cleanup handlers on exit.
Cary Coutant [Wed, 24 Dec 2008 06:17:18 +0000 (06:17 +0000)]
* gold.cc (gold_exit): Call plugin cleanup handlers on exit.
* plugin.cc (Plugin_manager::finish): Rename as
layout_deferred_objects.  Move cleanup to separate function.
(Plugin_manager::cleanup): New function.
(Plugin_finish::run): Call layout_deferred_objects and cleanup
separately.
* plugin.h (Plugin_manager::finish): Rename as
layout_deferred_objects.
(Plugin_manager::cleanup): New function.
(Plugin_manager::cleanup_done): New field.

15 years agodaily update
Alan Modra [Wed, 24 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * plugin.cc (is_visible_from_outside): New function.
Cary Coutant [Tue, 23 Dec 2008 23:46:55 +0000 (23:46 +0000)]
* plugin.cc (is_visible_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
so we don't return "IR only" status for exported symbols or -r links.

* testsuite/Makefile.am (plugin_test_3): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test_3.sh: New file.

15 years agoAdd LM32 port. cgen-snapshot-20090101
Nick Clifton [Tue, 23 Dec 2008 19:10:25 +0000 (19:10 +0000)]
Add LM32 port.

15 years agogas/
H.J. Lu [Tue, 23 Dec 2008 15:14:15 +0000 (15:14 +0000)]
gas/

2008-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Changed to return
 const template *.  Handle i.swap_operand for 3 operands.
 (build_vex_prefix): Take const template *.  Swap operand for
 2-byte VEX prefix if possible.
 (md_assemble): Updated.
 (build_modrm_byte): Handle RegMem bit for SSE2AVX.

gas/testsuite/

2008-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-avx-swap and x86-64-avx-swap-intel.

* gas/i386/opts.s: Add tests for movsd, movss, vmovsd and
vmovss.
* gas/i386/x86-64-opts.s: Likewise.

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

* gas/i386/x86-64-avx-swap.d: New.
* gas/i386/x86-64-avx-swap.s: Likewise.
* gas/i386/x86-64-avx-swap-intel.d: Likewise.

opcodes/

2008-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EXdS): New.
(EXdVexS): Likewise.
(EXqVexS): Likewise.
(d_swap_mode): Likewise.
(q_mode): Updated.
(prefix_table): Use EXdS on movss and EXqS on movsd.
(vex_len_table): Use EXdVexS on vmovss and EXqVexS on vmovsd.
(intel_operand_size): Handle d_swap_mode.
(OP_EX): Likewise.

* i386-opc.h (S): Update comments.

* i386-opc.tbl: Add S to movss, movsd, vmovss and vmovsd.
* i386-tbl.h: Regenerated.

15 years ago2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 23 Dec 2008 14:36:40 +0000 (14:36 +0000)]
2008-12-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/7036
* elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will
always insert 32byte between the .plt and .text sections after
the the first relaxation pass.

15 years ago2008-12-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 23 Dec 2008 13:52:58 +0000 (13:52 +0000)]
2008-12-23  Tristan Gingold  <gingold@adacore.com>

* Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h
* Makefile.in: Regenerate.

15 years ago PR 7093
Nick Clifton [Tue, 23 Dec 2008 11:46:17 +0000 (11:46 +0000)]
    PR 7093
        * elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
        object files.

15 years ago * lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles.
Hans-Peter Nilsson [Tue, 23 Dec 2008 11:45:25 +0000 (11:45 +0000)]
* lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles.
* ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d,
ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New
tests.

15 years ago2008-12-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 23 Dec 2008 11:32:45 +0000 (11:32 +0000)]
2008-12-23  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
.eh_frame for __TEXT.__eh_frame so that it is recognized by gdb.
Use shorter sections name for well known sections.
(bfd_mach_o_scan_read_dylinker): Only put dylinker name in the
section content.
(bfd_mach_o_scan_read_segment): Use shorter sections name for
well known segments.
(bfd_mach_o_scan_read_command): Ignore some new commands.
(bfd_mach_o_openr_next_archived_file): Use more descriptive names
for members filename.
(bfd_mach_o_fat_extract): New function to easily extract members
of a fat binary.
* mach-o.h (bfd_mach_o_load_command_type): Add new constants.
(bfd_mach_o_dylinker_command): Fix comment and reindent.
(bfd_mach_o_fat_extract): New prototype.

15 years ago * coffcode.h (coff_write_object_contents): Always initialise
Nick Clifton [Tue, 23 Dec 2008 10:59:56 +0000 (10:59 +0000)]
        * coffcode.h (coff_write_object_contents): Always initialise
            section.s_page.

            * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.

15 years ago* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.
Andreas Schwab [Tue, 23 Dec 2008 10:23:53 +0000 (10:23 +0000)]
* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.
(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and
SYMBOL_REFERENCES_LOCAL.
(elf_m68k_relocate_section): Likewise.

15 years ago2008-12-23 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Tue, 23 Dec 2008 10:00:31 +0000 (10:00 +0000)]
2008-12-23  Kai Tietz  <kai.tietz@onevision.com>

* rcparse.y (rcdata_data): Allow empty comma elements.

15 years ago * po/ga.po: Updated Irish translation.
Nick Clifton [Tue, 23 Dec 2008 09:54:26 +0000 (09:54 +0000)]
    * po/ga.po: Updated Irish translation.

15 years ago * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
Nick Clifton [Tue, 23 Dec 2008 09:51:38 +0000 (09:51 +0000)]
    * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
        atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
        atmega64m1, atmega32u6, atmega128rfa1,  at90pwm81, at90scr100,
        m3000f, m3000s and m3001b devices.
        * doc/c-avr.texi: Likewise.

15 years agoRemove STT_IFUNC support.
Nick Clifton [Tue, 23 Dec 2008 09:01:51 +0000 (09:01 +0000)]
Remove STT_IFUNC support.

15 years ago * object.cc (Sized_relobj::layout_section): New function.
Cary Coutant [Tue, 23 Dec 2008 02:02:20 +0000 (02:02 +0000)]
* object.cc (Sized_relobj::layout_section): New function.
(Sized_relobj::do_layout): Defer layout of input sections until after
plugin has provided replacement files.
(Sized_relobj::do_layout_deferred_sections): New function.
* object.h (Relobj::set_section_offset): Remove virtual keyword.
(Relobj::layout_deferred_sections): New function.
(Relobj::do_layout_deferred_sections): New function.
(Sized_relobj::do_layout_deferred_sections): New function.
(Sized_relobj::layout_section): New function.
(Sized_relobj::Deferred_layout): New structure.
(Sized_relobj::deferred_layout_): New field.
* plugin.cc (Plugin_manager::finish): Renamed, was cleanup.
Change all callers.  Layout deferred sections.
(class Plugin_finish): Renamed, was Plugin_cleanup.  Change all
references.
(Plugin_hook::run): Move code from do_plugin_hook inline.
(Plugin_hook::do_plugin_hook): Remove.
* plugin.h (Plugin_manager::Plugin_manager): Add missing initializers.
(Plugin_manager::finish): Renamed, was cleanup.
(Plugin_manager::should_defer_layout): New function.
(Plugin_manager::add_deferred_layout_object): New function.
(Plugin_manager::Deferred_layout_list): New type.
(Plugin_manager::deferred_layout_objects_): New field.
(Plugin_hook::do_plugin_hook): Remove.

15 years agodaily update
Alan Modra [Tue, 23 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Mon, 22 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.
Hans-Peter Nilsson [Sun, 21 Dec 2008 20:18:06 +0000 (20:18 +0000)]
* gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.

15 years ago * config/tc-cris.c (s_cris_dtpoff): New function.
Hans-Peter Nilsson [Sun, 21 Dec 2008 20:16:47 +0000 (20:16 +0000)]
* config/tc-cris.c (s_cris_dtpoff): New function.
(md_pseudo_table): Add "dtpoffd".

15 years agoAdd missing ChangeLog entries for my last commit. newlib-1_17_0
Ralf Wildenhues [Sun, 21 Dec 2008 12:45:53 +0000 (12:45 +0000)]
Add missing ChangeLog entries for my last commit.

15 years agodaily update
Alan Modra [Sun, 21 Dec 2008 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 20 Dec 2008 18:20:16 +0000 (18:20 +0000)]
2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (parse_insn): Optimize ".s" handling.

15 years agogas/
H.J. Lu [Sat, 20 Dec 2008 17:40:51 +0000 (17:40 +0000)]
gas/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (_i386_insn): Add swap_operand.
(parse_insn): Handle ".s".
(match_template): Handle swap_operand.

* doc/c-i386.texi: Document .s suffix.

gas/testsuite/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts,
sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel,
x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel.

* gas/i386/opts.d: New.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/opts.s: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.

opcodes/

2008-12-20  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EbS): New.
(EvS): Likewise.
(EMS): Likewise.
(EXqS): Likewise.
(EXxS): Likewise.
(b_swap_mode): Likewise.
(v_swap_mode): Likewise.
(q_swap_mode): Likewise.
(x_swap_mode): Likewise.
(v_mode): Updated.
(w_mode): Likewise.
(t_mode): Likewise.
(xmm_mode): Likewise.
(swap_operand): Likewise.
(dis386): Use EbS on movB.  Use EvS on moveS.
(dis386_twobyte): Use EXxS on movapX.
(prefix_table): Use EXxS on movups, movupd, movdqu, movdqa,
vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq.
(vex_table): Use EXxS on vmovapX.
(vex_len_table): Use EXqS on vmovq.
(intel_operand_size): Handle b_swap_mode, v_swap_mode,
q_swap_mode and x_swap_mode.
(OP_E_register): Handle b_swap_mode and v_swap_mode.
(OP_EM): Handle v_swap_mode.
(OP_EX): x_swap_mode and q_swap_mode.

* i386-gen.c (opcode_modifiers): Add S.

* i386-opc.h (S): New.
(Modrm): Updated.
(i386_opcode_modifier): Add s.

* i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq,
movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq.
* i386-tbl.h: Regenerated.

15 years ago * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:30:39 +0000 (00:30 +0000)]
* ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,
ld-cris/tls-ie-8e1.d: New tests.

15 years ago * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:28:58 +0000 (00:28 +0000)]
* gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
decoration on double-indirect.
* gas/cris/tls-err-1.s: Test :IE on wrong-size operand.

15 years ago * config/tc-cris.c (cris_process_instruction): Handle
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:27:35 +0000 (00:27 +0000)]
* config/tc-cris.c (cris_process_instruction): Handle
BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
(get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
"double indirect" addressing mode.
(cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
(cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.

15 years ago * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:26:36 +0000 (00:26 +0000)]
* elf32-cris.c  (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
(cris_reloc_map): Similarly.
(cris_elf_relocate_section, cris_elf_gc_sweep_hook)
(cris_elf_check_relocs): Handle R_CRIS_32_IE.
* reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
* bfd-in2.h, libbfd.h: Regenerate.

15 years ago * cris.h (R_CRIS_32_IE): New relocation.
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:24:16 +0000 (00:24 +0000)]
* cris.h (R_CRIS_32_IE): New relocation.

15 years agodaily update
Alan Modra [Sat, 20 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Fri, 19 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agogas/testsuite/
H.J. Lu [Thu, 18 Dec 2008 22:47:32 +0000 (22:47 +0000)]
gas/testsuite/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/intel.d: Remove trailing white spaces after nop.
* gas/i386/intelpic.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/nops-3-i386.d: Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/reloc.d: Likewise.
* gas/i386/tlsnopic.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.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.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

ld/testsuite/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlsld1.dd: Remove trailing white spaces after nop.

opcodes/

2008-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (mnemonicendp): New.
(op): Likewise.
(print_insn): Use mnemonicendp.
(OP_3DNowSuffix): Likewise.
(CMP_Fixup): Likewise.
(CMPXCHG8B_Fixup): Likewise.
(CRC32_Fixup): Likewise.
(OP_DREX_FCMP): Likewise.
(OP_DREX_ICMP): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(PCLMUL_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(MOVBE_Fixup): Likewise.
(putop): Update mnemonicendp.
(oappend): Use stpcpy.
(simd_cmp_op): Changed to struct op.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.

15 years ago Backport link test fix from upstream Libtool:
Ralf Wildenhues [Thu, 18 Dec 2008 21:36:47 +0000 (21:36 +0000)]
Backport link test fix from upstream Libtool:

* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
Add cache variables to tests that require the linker to work.
For shlibpath_overrides_runpath, this also changes the semantics
to let the result from the C compiler take precedence.
compiler take precedence.

binutils/

* configure: Regenerate.

opcodes/

* configure: Regenerate.

bfd/

* configure: Regenerate.

gas/

* configure: Regenerate.

gprof/

* configure: Regenerate.

ld/

* configure: Regenerate.

15 years agomerge from gcc
DJ Delorie [Thu, 18 Dec 2008 15:56:12 +0000 (15:56 +0000)]
merge from gcc

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Thu, 18 Dec 2008 03:26:46 +0000 (03:26 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago * options.h (class General_options): Add --no case for
Ian Lance Taylor [Thu, 18 Dec 2008 01:53:38 +0000 (01:53 +0000)]
* options.h (class General_options): Add --no case for
--export-dynamic.

15 years agodaily update
Alan Modra [Thu, 18 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Dec 2008 23:16:07 +0000 (23:16 +0000)]
2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

15 years ago (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
Hans-Peter Nilsson [Wed, 17 Dec 2008 02:31:16 +0000 (02:31 +0000)]
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.

15 years ago * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
Hans-Peter Nilsson [Wed, 17 Dec 2008 02:15:34 +0000 (02:15 +0000)]
* ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
tests.

15 years ago * elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
Hans-Peter Nilsson [Wed, 17 Dec 2008 02:14:30 +0000 (02:14 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
action for symbols other than bfd_link_hash_indirect.

15 years agodaily update
Alan Modra [Wed, 17 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
Cary Coutant [Tue, 16 Dec 2008 19:19:16 +0000 (19:19 +0000)]
* plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
vector.
(Plugin_manager::claim_file): Create plugin object even if
plugin did not call the add_symbols callback.
(Plugin_obj::get_symbol_resolution_info): Guard against plugin
asking for more symbols than were added.
* testsuite/Makefile.am (plugin_test_1): Add test case with
no global symbols.
(empty.syms): New target.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c (claim_file_hook): Add new debug
message. Don't call add_symbols if no globals.
(all_symbols_read_hook): Don't provide replacement for empty
claimed file.

15 years ago2008-12-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 16 Dec 2008 12:31:18 +0000 (12:31 +0000)]
2008-12-16  Paolo Bonzini  <bonzini@gnu.org>

Sync with GCC:

2008-12-12  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (ppllibs): Add by default the lib flags.
* configure: Regenerate.

2008-12-04  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Add double brackets on darwin[912].
        * configure: Regenerate.

2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Expand to darwin10 and later.
        * configure: Regenerate.

15 years agodaily update
Alan Modra [Tue, 16 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoopcodes:
Richard Earnshaw [Mon, 15 Dec 2008 17:24:13 +0000 (17:24 +0000)]
opcodes:
* arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using
unified syntax.
gas/testsuite:
* gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses
unified syntax.
* gas/arm/vfp-non-overlap.d: Likewise.
* gas/arm/vfp-neon-syntax.d: Likewise.
* gas/arm/vfp-neon-syntax_t2.d: Likewise.
* gas/arm/vfp1.d: Likewise.
* gas/arm/vfp1_t2.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
* gas/arm/vfpv3-32drs.d: Likewise.
* gas/arm/vfpv3-const-conv.d: Likewise.
ld/testsuite:
* ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses
unified syntax.
* ld-arm/vfp11-fix-vector.d: Likewise.

15 years ago * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
Hans-Peter Nilsson [Mon, 15 Dec 2008 03:17:49 +0000 (03:17 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define to above.

15 years ago * ld-cris/libdso-13b.d: New test.
Hans-Peter Nilsson [Mon, 15 Dec 2008 02:33:38 +0000 (02:33 +0000)]
* ld-cris/libdso-13b.d: New test.

15 years ago * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
Hans-Peter Nilsson [Mon, 15 Dec 2008 02:32:22 +0000 (02:32 +0000)]
* elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
r_type.  Fix formatting.
(cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
<R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
emitted as a dynamic one.
(cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
from PCREL relocs code and simplify; don't fall through.
<R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
pcrel only.  For non-local or overridable symbols in a DSO, always
keep count of relocs, not just when -Bsymbolic.  Don't emit
message nor mark as TEXTREL here.
(elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
TEXTREL here, if there are nondiscarded pcrel relocs.

15 years ago * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
Hans-Peter Nilsson [Mon, 15 Dec 2008 02:10:27 +0000 (02:10 +0000)]
* elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
using ibfd, not abfd.

15 years ago * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,
Hans-Peter Nilsson [Mon, 15 Dec 2008 01:36:21 +0000 (01:36 +0000)]
* ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,
ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New
tests.

15 years ago * ld-cris/got7.s: Correct .size expression.
Hans-Peter Nilsson [Mon, 15 Dec 2008 01:30:57 +0000 (01:30 +0000)]
* ld-cris/got7.s: Correct .size expression.
* ld-cris/tls-e-20a.d: Adjust accordingly.

15 years agodaily update
Alan Modra [Mon, 15 Dec 2008 00:00:45 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sun, 14 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 13 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * target-reloc.h (Default_scan_relocatable_relocs): Only discard
Ian Lance Taylor [Fri, 12 Dec 2008 16:33:05 +0000 (16:33 +0000)]
* target-reloc.h (Default_scan_relocatable_relocs): Only discard
r_type == 0 for a local symbol with r_sym == 0.
(scan_relocatable_relocs): Pass r_sym to
local_non_section_strategy.
* reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add
r_sym parameter.

15 years ago * configure.ac: Update test for TLS descriptors: they are
Ian Lance Taylor [Fri, 12 Dec 2008 16:23:27 +0000 (16:23 +0000)]
* configure.ac: Update test for TLS descriptors: they are
supported as of glibc 2.9.
* configure: Rebuild.

15 years ago PR 7091
Ian Lance Taylor [Fri, 12 Dec 2008 02:41:39 +0000 (02:41 +0000)]
PR 7091
* target-reloc.h (Default_scan_relocatable_relocs): For each
function, map r_type == 0 to RELOC_DISCARD.

15 years agodaily update
Alan Modra [Fri, 12 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 7041
Alan Modra [Thu, 11 Dec 2008 10:14:40 +0000 (10:14 +0000)]
PR 7041
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function
descriptors.  Similarly correct making function descriptors dynamic.

15 years agodaily update
Alan Modra [Thu, 11 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Wed, 10 Dec 2008 23:28:19 +0000 (23:28 +0000)]
merge from gcc

15 years ago * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacement
Cary Coutant [Wed, 10 Dec 2008 19:50:14 +0000 (19:50 +0000)]
* layout.cc (Layout::add_comdat): Allow COMDAT group from a replacement
object to override a kept COMDAT group from a plugin object.

15 years agobfd/
Alan Modra [Wed, 10 Dec 2008 13:36:41 +0000 (13:36 +0000)]
bfd/
* elf32-spu.h (struct spu_elf_params): Add num_regions.
* elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions.
ld/
* emultempl/spuelf.em (params): Init new field.
(OPTION_SPU_NUM_REGIONS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions.
(PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.

15 years agobfd/
Alan Modra [Wed, 10 Dec 2008 06:32:52 +0000 (06:32 +0000)]
bfd/
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New.
(spu_elf_setup): Declare.
(spu_elf_create_sections, spu_elf_size_stubs): Update prototype.
(spu_elf_build_stubs, spu_elf_check_vma): Likewise.
* elf32-spu.c (struct spu_link_hash_table): Add "params". Remove
various other fields now in "params".  Adjust code throughout.
(struct call_info, struct function_info): Move earlier in file.
(struct spu_elf_stack_info): Likewise.
(spu_elf_setup): New function.
(spu_elf_create_sections): Remove args other than "info".
(spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise.
(maybe_needs_stubs): Remove "output_bfd" arg.  Adjust all calls.
(interesting_section): Similarly with "obfd" arg.
(needs_ovl_stub): Adjust output_section test.
(allocate_spuear_stubs): Likewise.
(OVL_STUB_SIZE): Don't define.
(ovl_stub_size): New function, use in place of OVL_STUB_SIZE.
(build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE.
(spu_elf_auto_overlay): Remove args other than "info".  Make use
of size returned from spu_elf_load_ovl_mgr.
(spu_elf_stack_analysis): Remove args other than "info".
(spu_elf_relocate_section): Tidy setting of "ea".
ld/
* emultempl/spuelf.em (params): New var, used instead of various others.
Adjust use throughout file.
(spu_after_open): Call spu_elf_setup.
(spu_place_special_section): Tidy.
(spu_elf_load_ovl_mgr): Return total size of sections loaded.  Move
code setting overlay section alignment to..
(spu_before_allocation): ..here.

15 years ago * elf32-spu.c (define_ovtab_symbol): Don't abort on symbols
Alan Modra [Wed, 10 Dec 2008 03:49:02 +0000 (03:49 +0000)]
* elf32-spu.c (define_ovtab_symbol): Don't abort on symbols
defined in linker scripts.
(discover_functions): Consider STT_SECTION symbols too.
(collect_lib_sections): Don't cut short call tree traversal
when function size is too large.

15 years ago * elf32-spu.c (find_function_stack_adjust): Don't limit number
Alan Modra [Wed, 10 Dec 2008 00:37:11 +0000 (00:37 +0000)]
* elf32-spu.c (find_function_stack_adjust): Don't limit number
of insns scanned.  Correct sp tests.  Handle "fsmbi" and "andbi".
(mark_detached_root): New function.
(build_call_tree): Call it.
(sort_calls): Don't do void* arithmetic.

15 years agodaily update
Alan Modra [Wed, 10 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agobfd
Tom Tromey [Tue, 9 Dec 2008 18:59:54 +0000 (18:59 +0000)]
bfd
* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc
4.4.
binutils
* srconv.c (wr_hd): Add parens to placate gcc 4.4.

15 years ago PR 7088
Ian Lance Taylor [Tue, 9 Dec 2008 16:09:32 +0000 (16:09 +0000)]
PR 7088
* yyscript.y (file_cmd): Handle INPUT.

15 years ago * testsuite/initpri1.c: Change all declarations to be full
Ian Lance Taylor [Tue, 9 Dec 2008 16:03:47 +0000 (16:03 +0000)]
* testsuite/initpri1.c: Change all declarations to be full
prototypes by adding void, to avoid compiler warnings.

15 years ago2008-12-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 9 Dec 2008 09:51:08 +0000 (09:51 +0000)]
2008-12-09  Tristan Gingold  <gingold@adacore.com>

* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.

15 years ago2008-12-09 Andrew Stubbs <ams@codesourcery.com>
Andrew Stubbs [Tue, 9 Dec 2008 08:34:29 +0000 (08:34 +0000)]
2008-12-09  Andrew Stubbs  <ams@codesourcery.com>

* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
(arm_attr_tag_WMMX_arch): Add "WMMXv2".
(arm_attr_tag_NEON_arch): Rename to ...
(arm_attr_tag_Advanced_SIMD_arch): ... official name.
(arm_attr_tag_ABI_PCS_config): Rename to ...
(arm_attr_tag_PCS_config): ... official name.
(arm_attr_tag_ABI_PCS_RO_DATA): Rename to ...
(arm_attr_tag_ABI_PCS_RO_data): ... official name.
(arm_attr_tag_ABI_FP_denormal): Add "Sign only".
(arm_attr_tag_CPU_unaligned_access): New array.
(arm_attr_tag_T2EE_use): New array.
(arm_attr_tag_Virtualization_use): New array.
(arm_attr_tag_MPextension_use): New array.
(arm_attr_publ): NEON_arch -> Advanced_SIMD_arch.
ABI_PCS_config -> PCS_config.
ABI_PCS_RO_DATA -> ABI_PCS_RO_data.
Add CPU_unaligned_access, nodefaults, also_compatible_with,
T2EE_use, conformance, Virtualization_use and MPextension_use.
(display_arm_attribute): Handle Tag_nodefaults and
Tag_also_compatible_with.

15 years agodaily update
Alan Modra [Tue, 9 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago2008-12-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Dec 2008 18:07:26 +0000 (18:07 +0000)]
2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Move VexNDS before VexNDD.

15 years ago2008-12-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Dec 2008 17:59:00 +0000 (17:59 +0000)]
2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Remove an extra blank
line.

15 years ago2008-12-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Dec 2008 17:43:06 +0000 (17:43 +0000)]
2008-12-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (putop): Remove strayed comments.

15 years agodaily update
Alan Modra [Mon, 8 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sun, 7 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 6 Dec 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago2008-12-05 Rafael Avila de Espindola <espindola@google.com>
Cary Coutant [Fri, 5 Dec 2008 21:34:54 +0000 (21:34 +0000)]
2008-12-05  Rafael Avila de Espindola  <espindola@google.com>

* options.cc (General_options::parse_plugin_opt): New.
(General_options::add_plugin): The argument now is just the filename.
(General_options::add_plugin_option): New.
* options.h (plugin_opt): New.
(add_plugin): Change argument name.
(add_plugin_option): New.
* plugin.cc (Plugin::load): Don't parse the plugin option.
* plugin.h (Plugin::Plugin): Rename argument. Init filename_.
(Plugin::add_option): New.
(Plugin::args_): Change type.
(Plugin::filename_): New.
(Plugin_manager::add_plugin_option): New.
* testsuite/Makefile.am (plugin_test_1): Use new syntax.
* testsuite/Makefile.in: Regenerate.

15 years ago * layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
Cary Coutant [Fri, 5 Dec 2008 21:13:35 +0000 (21:13 +0000)]
* layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
Handle --strip-lto-sections option.
* options.h (strip_lto_sections): New option.

15 years agodaily update
Alan Modra [Fri, 5 Dec 2008 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64).
Nick Clifton [Thu, 4 Dec 2008 11:00:18 +0000 (11:00 +0000)]
    * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64).
        * ld-x86-64/ifunc.s: Source file for new test.
        * ld-x86-64/x86-64.exp: Run the new test.
        * ld-i386/ifunc.d: Tidy up regexps for expected output.

15 years agoopcodes/
Ben Elliston [Thu, 4 Dec 2008 10:29:16 +0000 (10:29 +0000)]
opcodes/
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE
for -Mbooke.
(print_ppc_disassembler_options): Update usage.
* ppc-opc.c (DE, DES, DEO, DE_MASK): Remove.
(BOOKE64): Remove.
(PPCCHLK64): Likewise.
(powerpc_opcodes): Remove all BOOKE64 instructions.

gas/
* config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
usage strings.
(ppc_setup_opcodes): Likewise, remove booke64 support.
* doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
* doc/as.texinfo (Overview): Likewise.

binutils/
* doc/binutils.texi (objdump): Update booke documentation.
* NEWS: Document user-visible changes to command line options.

15 years ago* doc/as.texinfo (Type): Reword description of STT_IFUNC type.
Nick Clifton [Thu, 4 Dec 2008 08:53:39 +0000 (08:53 +0000)]
* doc/as.texinfo (Type): Reword description of STT_IFUNC type.

15 years ago2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Thu, 4 Dec 2008 08:43:26 +0000 (08:43 +0000)]
2008-12-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c (elf_s390_check_relocs): Initialize
htab->elf.dynobj if necessary.

15 years ago* objdump.c (dump_reloc_set): Append "()" to symbol names which
Nick Clifton [Thu, 4 Dec 2008 08:04:47 +0000 (08:04 +0000)]
* objdump.c (dump_reloc_set): Append "()" to symbol names which
  have the BSF_INDIRECT_FUNCTION type.
  * readelf.c (print_symbol): Fix handling of negative widths.
  (dump_relocations): Append "()" to symbol names which have the
  STT_IFUNC type. Display negative offsets as a positive number with
  a "-" prefix.
  (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
  * doc/binutils.texi: Document 'i' symbol type.