OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago * dep-in.sed: Don't use \n in replacement part of s command.
Alan Modra [Thu, 4 Jun 2009 06:57:56 +0000 (06:57 +0000)]
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
* Makefile.in: Regenerate.

15 years ago * dep-in.sed: Don't use \n in replacement part of s command.
Alan Modra [Thu, 4 Jun 2009 06:57:12 +0000 (06:57 +0000)]
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
* Makefile.in: Regenerate.

15 years ago * dep-in.sed: Don't use \n in replacement part of s command.
Alan Modra [Thu, 4 Jun 2009 06:56:53 +0000 (06:56 +0000)]
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
Run "make dep-am".
* Makefile.in: Regenerate.

15 years ago2009-06-03 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 4 Jun 2009 01:31:01 +0000 (01:31 +0000)]
2009-06-03  Doug Kwan  <dougkwan@google.com>

* arm.cc (utils::sign_extend): Reverse test in gold_assert.
(utils::has_overflow): Same.

15 years ago * layout.cc (Layout::section_name_mapping): New array, replacing
Ian Lance Taylor [Thu, 4 Jun 2009 00:43:11 +0000 (00:43 +0000)]
* layout.cc (Layout::section_name_mapping): New array, replacing
Layout::linkonce_mapping.
(Layout::section_name_mapping_count): New variable, replacing
Layout::linkonce_mapping_count.
(Layout::linkonce_output_name): Remove.
(Layout::output_section_name): Rewrite.
* layout.h (class Layout): Rename Linkonce_mapping to
Section_name_mapping, linkonce_mapping to section_name_mapping,
linkonce_mapping_count to section_name_mapping_count.  Don't
declare linkonce_output_name.

15 years agodaily update
Alan Modra [Thu, 4 Jun 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Wed, 3 Jun 2009 21:02:16 +0000 (21:02 +0000)]
merge from gcc

15 years ago2009-06-03 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 3 Jun 2009 19:33:05 +0000 (19:33 +0000)]
2009-06-03  Doug Kwan  <dougkwan@google.com>

* gold/arm.cc (namespace utils): New.
(Target_arm::reloc_is_non_pic): Define new method.
(class Arm_relocate_functions): New.
(Target_arm::Relocate::relocate): Handle relocation types used by
Android.

15 years agoChangeLog:
Ulrich Weigand [Wed, 3 Jun 2009 18:08:14 +0000 (18:08 +0000)]
ChangeLog:

* mdebugread.c (mdebug_type_void, mdebug_type_char, mdebug_type_short,
mdebug_type_int, mdebug_type_int_32, mdebug_type_int_64,
mdebug_type_long_32, mdebug_type_long_64, mdebug_type_long_long_64,
mdebug_type_unsigned_char, mdebug_type_unsigned_short,
mdebug_type_unsigned_int_32, mdebug_type_unsigned_int_64,
mdebug_type_unsigned_long_32, mdebug_type_unsigned_long_64,
mdebug_type_unsigned_long_long_64, mdebug_type_adr_32,
mdebug_type_adr_64, mdebug_type_float, mdebug_type_double,
mdebug_type_complex, mdebug_type_double_complex,
mdebug_type_fixed_dec, mdebug_type_float_dec, mdebug_type_string):
Remove.

(basic_type_data): New global variable.
(basic_type): New function.
(parse_type): Remove static basic type map map_bt.  Call basic_type
to get basic types instead of using mdebug_type_ variables.

(parse_symbol): Use builtin types instead of mdebug_type_ variables.
(upgrade_type): Likewise.
(parse_procedure): Likewise.
(psymtab_to_symtab_1): Likewise.

(_initialize_mdebugread): Do not initialize mdebug_type_ variables.
Initialize basic_type_data.

include/coff/ChangeLog:

* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
btAdr64, btInt64, btUInt64): New defines.

15 years ago2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jun 2009 17:32:02 +0000 (17:32 +0000)]
2009-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-2-x86-64.d: Pass --64 to as and -melf_x86_64 to
ld.
* ld-ifunc/ifunc-5a-x86-64.d: Likewise.
* ld-ifunc/ifunc-5b-x86-64.d: Likewise.
* ld-ifunc/ifunc-6a-x86-64.d: Likewise.
* ld-ifunc/ifunc-6b-x86-64.d: Likewise.
* ld-ifunc/ifunc-7a-x86-64.d: Likewise.
* ld-ifunc/ifunc-7b-x86-64.d: Likewise.

* ld-ifunc/ifunc-8a-i386.s: New.
* ld-ifunc/ifunc-8a-x86-64.s: Likewise.
* ld-ifunc/ifunc-8b-i386.s: Likewise.
* ld-ifunc/ifunc-8b-x86-64.s: Likewise.
* ld-ifunc/ifunc-8-i386.d: Likewise.
* ld-ifunc/ifunc-8-x86-64.d: Likewise.

15 years ago2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jun 2009 16:58:12 +0000 (16:58 +0000)]
2009-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of
h->plt.refcount > 0 on STT_GNU_IFUNC symbol.
* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.

15 years ago * arm.cc (Target_arm::scan::global): Use || instead of |.
Ian Lance Taylor [Wed, 3 Jun 2009 14:05:07 +0000 (14:05 +0000)]
* arm.cc (Target_arm::scan::global): Use || instead of |.

15 years ago2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Jun 2009 12:35:18 +0000 (12:35 +0000)]
2009-06-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf_i386_relocate_section): Adjust R_386_GOT32 relocation
against STT_GNU_IFUNC symbols for static executables.
(elf_i386_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.

* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf64_x86_64_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.

15 years ago2009-06-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 3 Jun 2009 08:17:20 +0000 (08:17 +0000)]
2009-06-03  Tristan Gingold  <gingold@adacore.com>

* MAINTAINERS: Add myself as Mach-O maintainer.

15 years ago * Makefile.tpl (all): Avoid a trailing backslash.
Ralf Wildenhues [Wed, 3 Jun 2009 05:40:47 +0000 (05:40 +0000)]
    * Makefile.tpl (all): Avoid a trailing backslash.
        * Makefile.in: Regenerate.

15 years ago2009-06-02 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 3 Jun 2009 00:06:15 +0000 (00:06 +0000)]
2009-06-02  Doug Kwan  <dougkwan@google.com>

* gold/arm.cc (Target_arm::Scan::Scan):  Initialize
issued_non_pic_error_.
(class Target_arm::Scan): Declare new method check_non_pic.
Define new method symbol_needs_plt_entry.
Declare new data member issued_non_pic_error_.
(class Target_arm::Relocate): Declare new method
should_apply_static_reloc.
(Target_arm::may_need_copy_reloc): Handle STT_ARM_TFUNC.
(Target_arm::Scan::check_non_pic): Define new method.
(Target_arm::Scan::local): Handle a small subset of reloc types used
by Android.
(Target_arm::Scan::local): Same.
(Target_arm::Relocate::should_apply_statci_reloc): Define new method.

15 years agodaily update
Alan Modra [Wed, 3 Jun 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 2 Jun 2009 23:00:59 +0000 (23:00 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years agobfd/
Richard Sandiford [Tue, 2 Jun 2009 18:51:34 +0000 (18:51 +0000)]
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined
symbols to be left unimported when linking statically.
* xcofflink.c (xcoff_link_add_symbols): Ignore global linkage
code when linking statically.

ld/testsuite/
* ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s,
ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd,
ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.  Move the lineno tests to maintain
alphabetical order.

15 years agobfd/
H.J. Lu [Tue, 2 Jun 2009 17:31:42 +0000 (17:31 +0000)]
bfd/

2009-06-02  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Increment
got.refcount for R_386_GOT32/R_386_GOTOFF relocations
against STT_GNU_IFUNC symbol.
(elf_i386_allocate_dynrelocs): Set got.refcount to 0 if
local STT_GNU_IFUNC definition is used.
(elf_i386_relocate_section): Handle got.offset != -1 for
R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC
symbol.

* elf64-x86-64.c (elf64_x86_64_check_relocs): Increment
got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64
relocations against STT_GNU_IFUNC symbol.
(elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if
local STT_GNU_IFUNC definition is used.
(elf64_x86_64_relocate_section): Handle got.offset != -1
for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against
STT_GNU_IFUNC symbol.

ld/testsuite/

2009-06-02  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc-5-i386.d: Renamed to ...
* ld-ifunc/ifunc-5a-i386.d: This.

* ld-ifunc/ifunc-5-x86-64.d: Renamed to ...
* ld-ifunc/ifunc-5a-x86-64.d: This.

* ld-ifunc/ifunc-5b-i386.d: New.
* ld-ifunc/ifunc-5b-x86-64.d: Likewise.
* ld-ifunc/ifunc-6a-i386.d: Likewise.
* ld-ifunc/ifunc-6a-x86-64.d: Likewise.
* ld-ifunc/ifunc-6b-i386.d: Likewise.
* ld-ifunc/ifunc-6b-x86-64.d: Likewise.
* ld-ifunc/ifunc-6-i386.s: Likewise.
* ld-ifunc/ifunc-6-x86-64.s: Likewise.
* ld-ifunc/ifunc-7a-i386.d: Likewise.
* ld-ifunc/ifunc-7a-x86-64.d: Likewise.
* ld-ifunc/ifunc-7b-i386.d: Likewise.
* ld-ifunc/ifunc-7b-x86-64.d: Likewise.
* ld-ifunc/ifunc-7-i386.s: Likewise.
* ld-ifunc/ifunc-7-x86-64.s: Likewise.

15 years ago * po/nl.po: Updated Dutch translation.
Nick Clifton [Tue, 2 Jun 2009 16:31:59 +0000 (16:31 +0000)]
    * po/nl.po: Updated Dutch translation.

15 years ago* Makefile.tpl ([+compare-target+]): Compare all stage
Alexandre Oliva [Tue, 2 Jun 2009 08:23:45 +0000 (08:23 +0000)]
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc.
* Makefile.in: Rebuilt.

15 years ago2009-05-29 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 2 Jun 2009 07:48:05 +0000 (07:48 +0000)]
2009-05-29  Tristan Gingold  <gingold@adacore.com>

* ia64-gen.c (parse_resource_users, print_dependency_table,
add_dis_table_ent, finish_distable, insert_bit_table_ent,
add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
insert_completer_entry, print_completer_entry, print_completer_table,
opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.

15 years agomerge from gcc
DJ Delorie [Mon, 1 Jun 2009 19:40:32 +0000 (19:40 +0000)]
merge from gcc

15 years agogas/
H.J. Lu [Mon, 1 Jun 2009 16:31:00 +0000 (16:31 +0000)]
gas/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10198
* config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.

gas/testsuite/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10198
* gas/i386/jump.s: Add test for "jmp $+2".
* gas/i386/jump16.s: Likewise.

* gas/i386/jump.d: Updated.
* gas/i386/jump16.d: Likewise.

15 years agoCorrect year.
H.J. Lu [Mon, 1 Jun 2009 15:48:14 +0000 (15:48 +0000)]
Correct year.

15 years agobfd/
H.J. Lu [Mon, 1 Jun 2009 13:11:52 +0000 (13:11 +0000)]
bfd/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
(elf_i386_reloc_type_lookup): Likewise.
(R_386_tls): Removed.
(R_386_irelative): New.
(R_386_vt_offset): Updated.
(elf_i386_rtype_to_howto): Likewise.
(elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
(elf_i386_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf_i386_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rel.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_386_IRELATIVE relocation for
locally defined STT_GNU_IFUNC symbol.

* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
(x86_64_reloc_map): Likewise.
(R_X86_64_standard): Updated.
(elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
(elf64_x86_64_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf64_x86_64_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rela.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_X86_64_IRELATIVE relocation
for locally defined STT_GNU_IFUNC symbol.

* reloc.c (BFD_RELOC_386_IRELATIVE): New.
(BFD_RELOC_X86_64_IRELATIVE): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

include/elf/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* i386.h (R_386_IRELATIVE): New.
* x86-64.h (R_X86_64_IRELATIVE): Likewise.

ld/testsuite/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
Use it on executable and shared library.
Run *.d.

* ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
library_func2.
(library_func): New.

* ld-ifunc/ifunc-1-x86.d: New.
* ld-ifunc/ifunc-1-x86.s: Likewise.
* ld-ifunc/ifunc-2-i386.d: Likewise.
* ld-ifunc/ifunc-2-i386.s: Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-2-x86-64.s: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.
* ld-ifunc/ifunc-3b-x86.d: Likewise.
* ld-ifunc/ifunc-3-x86.s: Likewise.
* ld-ifunc/ifunc-4-x86.d: Likewise.
* ld-ifunc/ifunc-4-x86.s: Likewise.
* ld-ifunc/ifunc-5-i386.d: Likewise.
* ld-ifunc/ifunc-5-i386.s: Likewise.
* ld-ifunc/ifunc-5-x86-64.d: Likewise.
* ld-ifunc/ifunc-5-x86-64.s: Likewise.

15 years agobfd/
H.J. Lu [Mon, 1 Jun 2009 12:53:00 +0000 (12:53 +0000)]
bfd/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs.
(_bfd_elf_make_ifunc_reloc_section): Removed.
(_bfd_elf_is_ifunc_symbol): Likewise.
(_bfd_elf_create_static_ifunc_sections): New.

* elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC
symbol check to ...
(elf_link_add_object_symbols): Here.
(_bfd_elf_link_hash_hide_symbol): Don't clean plt on
STT_GNU_IFUNC symbol.
(elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol
if a STT_GNU_IFUNC symbol is referenced in a non-shared object.
(IFUNC_INFIX): Removed.
(get_ifunc_reloc_section_name): Likewise.
(_bfd_elf_make_ifunc_reloc_section): Likewise.
(_bfd_elf_is_ifunc_symbol): Likewise.
(_bfd_elf_create_static_ifunc_sections): New.

ld/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

* scripttempl/elf.sc (PLT): Add "*(.iplt)".
(GOT): Add "*(.igot.plt)a" and "*(.igot)".
(GOTPLT): Add "*(.igot)".
(__rel_iplt_start): New.
(__rel_iplt_end): Likewise.
(__rela_iplt_start): Likewise.
(__rela_iplt_end): Likewise.

15 years ago PR 10199
Alan Modra [Mon, 1 Jun 2009 01:50:45 +0000 (01:50 +0000)]
PR 10199
* doc/binutils.texi (nm): Correct -S description.

15 years agodaily update
Alan Modra [Mon, 1 Jun 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * incremental.cc (Incremental_inputs::report_command_line): Filter
Ian Lance Taylor [Sun, 31 May 2009 23:07:26 +0000 (23:07 +0000)]
* incremental.cc (Incremental_inputs::report_command_line): Filter
out --incremental-* options.

15 years agodaily update
Alan Modra [Sun, 31 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Sat, 30 May 2009 05:18:46 +0000 (05:18 +0000)]
merge from gcc

15 years ago2009-05-29 Doug Kwan <dougkwan@google.com>
Doug Kwan [Sat, 30 May 2009 00:55:42 +0000 (00:55 +0000)]
2009-05-29  Doug Kwan  <dougkwan@google.com>

* gold/arm.cc (Output_data_plt_arm): Forward declaration for new
template class.
(class Target_arm): Update comment.
(Target_arm::Target_arm): Initialize new data members GOT_,
PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_ and DYNBSS_.
Declare new methods Target_arm::got_section, Target_arm::make_plt_entry
and Target_arm::rel_dyn_section.
Declare new_enum Target_arm::Got_type.
Declare new data members GOT_, PLT_, GOT_PLT_, REL_DYN_, COPY_RELOCS_
and DYNBSS_.
Update commments for member do_dynsym_value.
(Target_arm::got_size, Target_arm::plt_section,
Target_arm::may_need_copy_reloc and Target_arm::copy_reloc): Define
new methods inside class defintion.
(Target_arm::got_section): Define new method.
(Target_arm::rel_dyn_section): Same.
(Output_data_plt_arm): New template class.
(Output_data_plt_arm::Output_data_plt_arm): Define constructor.
(Output_data_plt_arm:do_adjust_output_section): Define new method.
(Output_data_plt_arm::add_entry): Same.
(Output_data_plt_arm::first_plt_entry): Define new
static data member for PLT instruction template.
(Output_data_plt_arm::plt_entry): Same.
(Output_data_plt_arm::do_write): Define new method.
(Target_arm::make_plt_entry): Same.
(Target_arm::do_finalize_sections): Same.
(Target_arm::do_dynsym_value): Same.

15 years agodaily update
Alan Modra [Sat, 30 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agomerge from gcc
DJ Delorie [Fri, 29 May 2009 21:01:50 +0000 (21:01 +0000)]
merge from gcc

15 years ago2009-05-29 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 29 May 2009 20:19:14 +0000 (20:19 +0000)]
2009-05-29  Kai Tietz  <kai.tietz@onevision.com>

        * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.

15 years ago2009-05-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 May 2009 18:30:30 +0000 (18:30 +0000)]
2009-05-29  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix.
(create_got_section): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
(set_tls_module_base): Likewise.
(dtpoff_base): Likewise.
(tpoff): Likewise.
(elf_i386_link_hash_table_create): Updated.
(elf_i386_create_dynamic_sections): Likewise.
(elf_i386_check_relocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix.
(create_got_section): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
(set_tls_module_base): Likewise.
(dtpoff_base): Likewise.
(tpoff): Likewise.
(elf64_x86_64_link_hash_table_create): Updated.
(elf64_x86_64_create_dynamic_sections): Likewise.
(elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_size_dynamic_sections): Likewise.
(elf64_x86_64_relocate_section): Likewise.

15 years agomerge from gcc
DJ Delorie [Fri, 29 May 2009 03:01:15 +0000 (03:01 +0000)]
merge from gcc

15 years ago2009-05-28 Doug Kwan <dougkwan@google.com>
Doug Kwan [Fri, 29 May 2009 00:15:12 +0000 (00:15 +0000)]
2009-05-28  Doug Kwan  <dougkwan@google.com>

        * configure.ac: Support gold for target arm*-*-*.
        * configure: Regenerate.
        * gold/Makefile.am (TARGETSOURCES): Add arm.cc.
        (ALL_TARGETOBJECTS): Add arm.$(OBJEXT)
        * gold/Makefile.in: Regenerate.
        * gold/arm.cc: New file.
        * gold/configure.tgt: Add armbe*-*-*, armeb*-*-* and arm*-*-* targets.

15 years agodaily update
Alan Modra [Fri, 29 May 2009 00:00:10 +0000 (00:00 +0000)]
daily update

15 years ago[cgen]
DJ Delorie [Thu, 28 May 2009 22:53:08 +0000 (22:53 +0000)]
[cgen]
* cpu/mep.opc (parse_signed16_range): New.
(parse_unsigned16_range): New.
* cpu/mep-ivc2.cpu (imm16p0, simm16p0): Use them.
[opcodes]
* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.

15 years agoRemove a white space.
H.J. Lu [Thu, 28 May 2009 20:56:14 +0000 (20:56 +0000)]
Remove a white space.

15 years ago * po/da.po: Updated Danish translation.
Nick Clifton [Thu, 28 May 2009 11:32:51 +0000 (11:32 +0000)]
    * po/da.po: Updated Danish translation.

15 years ago2009-05-28 Nick Clifton <nickc@redhat.com>
Nick Clifton [Thu, 28 May 2009 11:30:49 +0000 (11:30 +0000)]
2009-05-28  Nick Clifton  <nickc@redhat.com>

        * targets.c (_bfd_target_vector): Only include plugin target in
        all-targets build if BFD_SUPPORTS_PLUGINS is non-zero.

2009-05-27  Rafael Avila de Espindola  <espindola@google.com>

        * plugin.c (program_name): Remove.
        (plugin_program_name): New.
        (bfd_plugin_set_program_name): New.
        (try_load_plugin): Use plugin_program_name.
        * plugin.h (bfd_plugin_set_program_name): New.

2009-05-27  Rafael Avila de Espindola  <espindola@google.com>

        * ar.c (main): Call bfd_plugin_set_program_name.
        * nm.c (main): Call bfd_plugin_set_program_name.

15 years ago * readelf.c (display_debug_section): Do not display debug sections
Nick Clifton [Thu, 28 May 2009 11:02:22 +0000 (11:02 +0000)]
    * readelf.c (display_debug_section): Do not display debug sections
        with the NOBITS section type.

15 years ago * elf32-spu.c (struct call_info): New member broken_cycle.
Ulrich Weigand [Thu, 28 May 2009 10:47:44 +0000 (10:47 +0000)]
* elf32-spu.c (struct call_info): New member broken_cycle.
(remove_cycle): Instead of physically removing call_info structures
to break call graph cycles, mark them using the broken_cycle flag.
(mark_overlay_section): Respect broken_cycle flag.
(unmark_overlay_section): Likewise.
(collect_lib_sections): Likewise.
(collect_overlays): Likewise.
(sum_stack): Likewise.

15 years ago * elf32-spu.c (insert_callee): Accumulate incoming callee->count.
Ulrich Weigand [Thu, 28 May 2009 10:42:47 +0000 (10:42 +0000)]
* elf32-spu.c (insert_callee): Accumulate incoming callee->count.
(mark_functions_via_relocs): Initialize callee->count to 1.
(pasted_function): Likewise.
(spu_elf_auto_overlay): Honor call counts when determining number
of stubs required in software i-cache mode.

15 years agodaily update
Alan Modra [Thu, 28 May 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years agold/ChangeLog
Dave Korn [Wed, 27 May 2009 18:40:56 +0000 (18:40 +0000)]
ld/ChangeLog

* deffilep.y (%union):  Add new string-type semantic value 'digits'.
(%token):  Remove NUMBER as token, add DIGITS.
(%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
(ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
(anylang_id):  New production.
(opt_digits):  Likewise.
(opt_id):  Likewise.
(NUMBER):  Likewise.
(def_lex):  Return strings of digits in raw string form as DIGITS
token, instead of converting to numeric integer type.

ld/testsuite/ChangeLog

* ld-pe/non-c-lang-syms.c:  New dump test source file.
* ld-pe/non-c-lang-syms.d:  New dump test pattern file.
* ld-pe/pe.exp:  Run new "foreign symbol" test.

15 years ago2009-05-27 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 27 May 2009 18:27:42 +0000 (18:27 +0000)]
2009-05-27  Doug Kwan  <dougkwan@google.com>

        * arm.h: New file.
        * elfcpp.h (enum SHT): Add ARM-specific special sections.
        (enum PT): Add ARM-specific section types.
        (enum SST): Add STT_ARM_TFUNC.

15 years ago2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 May 2009 17:05:53 +0000 (17:05 +0000)]
2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Update comments for dynamic tag ranges.

15 years ago * plugins.m4: New.
Nick Clifton [Wed, 27 May 2009 16:29:55 +0000 (16:29 +0000)]
* plugins.m4: New.

        * aclocal.m4: Include ../config/plugins.m4.
        * configure.in: Use AC_PLUGINS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
        * doc/Makefile.in: Regenerate.

15 years ago2009-05-26 Catherine Moore <clm@codesourcery.com>
Catherine Moore [Wed, 27 May 2009 14:14:42 +0000 (14:14 +0000)]
2009-05-26  Catherine Moore  <clm@codesourcery.com>

            gas/
            * config/tc-mips.c (check_for_24k_errata): Remove.
            (md_mips_end): Remove call to check_for_24k_errata.
            (start_noreorder): Likewise.
            (s_change_sec): Likewise.
            (s_change_section): Likewise.
            (insns_between): Add 24k errata checks.
            (append_insn): Remove declaration and references to nhdx_24k.
            Remove calls to check_for_24k_errata.

            gas/testsuite:
            * eret.s, eret.d eret.l: Remove.
            * eret-1.s, eret-1.d: New.
            * eret-2.s, eret-2.d: New.
            * eret-3.s, eret-3.d: New.
            * mips.exp: Run new tests.  Remove old tests.

15 years ago * sysdump.c (tab): Use puts rather than two printfs.
Nathan Sidwell [Wed, 27 May 2009 13:34:14 +0000 (13:34 +0000)]
* sysdump.c (tab): Use puts rather than two printfs.

15 years ago bfd/
Nathan Sidwell [Wed, 27 May 2009 13:31:24 +0000 (13:31 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_relax_section): Work with a partial
link.
* bout.c (b_out_bfd_relax_section): Reject relocatable links.
* elf32-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-avr.c (elf32_avr_relax_section): Likewise.
* elf32-frv.c (elf32_avr_relax_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relax_section): Likewise.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise.
* reloc.c (bfd_generic_relax_section): Likewise.
* reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
* vms.c (vms_bfd_relax_section): Likewise.

ld/
* ldmain.c (main): Don't reject --relax -r.
* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
partial links.

ld/testsuite/
* ld-powerpc/vxworks-relax-2.s: New.
* ld-powerpc/vxworks-relax-2.rd: New.
* ld-powerpc/powerpc.exp: Add it.

15 years ago* Makefile.tpl (all): Avoid harmless warning in make all when
Alexandre Oliva [Wed, 27 May 2009 07:30:42 +0000 (07:30 +0000)]
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

15 years ago[cgen/cpu]
DJ Delorie [Wed, 27 May 2009 01:49:46 +0000 (01:49 +0000)]
[cgen/cpu]

* cpu/mep-ivc2.cpu (h-ccr-ivc2): Enable for C3 slots, fix
accumulator names.
(f-ivc2-ccrn-c3hi): New.
(f-ivc2-ccrn-c3lo): New.
(f-ivc2-ccrn-c3): New.
(ivc2c3ccrn): Use it.

[sid/component/cgen-cpu/mep]

* mep-cop1-32-decode.cxx: Regenerate.
* mep-cop1-32-decode.h: Regenerate.
* mep-cop1-32-sem.cxx: Regenerate.
* mep-cop1-48-sem.cxx: Regenerate.

[opcodes]

* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

15 years agodaily update
Alan Modra [Wed, 27 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoAdd missing ChangeLog entry in previous check-in
Doug Kwan [Tue, 26 May 2009 23:05:00 +0000 (23:05 +0000)]
Add missing ChangeLog entry in previous check-in

15 years ago2009-05-26 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 26 May 2009 22:52:56 +0000 (22:52 +0000)]
2009-05-26  Doug Kwan  <dougkwan@google.com>

        * options.cc (General_options::parse_exclude_libs).  Fix a comment.
        (General_options::check_excluded_libs): Strip off directories in
        archive name before matching like GNU ld does.
        * testsuite/Makefile.am (MOSTLYCLEANFILES,
        exclude_libs_test_DEPENDENCIES): Add alt/libexclude_libs_test_3.a
        (exclude_libs_test_LDFLAGS): Add linker option
        -Wl,--exclude-libs,libexclude_libs_test_3
        (exclude_libs_test_LADD): Add alt/libexclude_libs_test_3.a as
        an explicit archive without using -l.
        (alt/libexclude_libs_test_3.a): New make rule.
        * testsuite/Makefile.in: Regenerate.
        * testsuite/exclude_libs_test.c : Declare lib3_default().
        (main): Call it.
        * exclude_libs_test.sh: Add tests for alt/exclude_libs_test_3.a.
        * exclude_libs_test_3.c: New file.

15 years ago2009-05-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 May 2009 22:18:22 +0000 (22:18 +0000)]
2009-05-26  H.J. Lu  <hongjiu.lu@intel.com>

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

* elf32-i386.c (is_indirect_symbol): Renamed to ...
* elflink.c (_bfd_elf_is_ifunc_symbol): This.

* elf32-i386.c (allocate_dynrelocs): Updated.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.

* elf64-x86-64.c (is_indirect_symbol): Removed.

15 years agoUpdate Indonesian translations.
Nick Clifton [Tue, 26 May 2009 16:49:41 +0000 (16:49 +0000)]
Update Indonesian translations.
Update translation templates.

15 years ago PR 10143
Nick Clifton [Tue, 26 May 2009 15:35:37 +0000 (15:35 +0000)]
    PR 10143
        * config/bfin-parse.y (error): Use "%s" as format string for error
        message.

15 years ago * Makefile.am: Run "make dep-am".
Nick Clifton [Tue, 26 May 2009 14:12:03 +0000 (14:12 +0000)]
    * Makefile.am: Run "make dep-am".
        (AM_CPPFLAGS): New.
        (LIBDL): New.
        (ALL_MACHINES): Add cpu-plugin.lo.
        (ALL_MACHINES_CFILES): Add cpu-plugin.c.
        (BFD32_BACKENDS): Add plugin.lo.
        (BFD32_BACKENDS_CFILES): Add plugin.c.
        (libbfd_la_LIBADD): Add LIBDL
        * archures.c (bfd_architecture): Add bfd_arch_plugin.
        (bfd_plugin_arch): Declare.
        * bfd-in.h (BFD_SUPPORTS_PLUGINS): New.
        * bfd.c (bfd): Add plugin_data.
        * config.bfd: Handle the plugin target.
        * configure.in: Check for --enable-plugins.
        (LT_INIT): Use the dlopen option.
        * cpu-plugin.c: New.
        * plugin.c: New.
        * plugin.h: New.
        * targets.c (plugin_vec): Declare.
        (_bfd_target_vector): Add plugin_vec.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * ar.c: Include plugin.h.
        (main): Handle the --plugin option.
        * nm.c: Include plugin.h.
        (OPTION_PLUGIN): New.
        (long_options): Add plugin.
        (main): Handle OPTION_PLUGIN.
        * NEWS: Mention  the new feature.
        * doc/binutils: Documement the new command line options.
        * configure.in: Check for --enable-plugins.
        * configure: Regenerate.

15 years ago * dep-in.sed: Output one filename per line with all lines having
Alan Modra [Tue, 26 May 2009 03:20:10 +0000 (03:20 +0000)]
* dep-in.sed: Output one filename per line with all lines having
continuation backslash.  Prefix first line with "A", following
lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
sort and uniq.
* Makefile.in: Regenerate.

15 years ago * dep-in.sed: Output one filename per line with all lines having
Alan Modra [Tue, 26 May 2009 03:19:50 +0000 (03:19 +0000)]
* dep-in.sed: Output one filename per line with all lines having
continuation backslash.  Prefix first line with "A", following
lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
sort and uniq.
(DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
Emit multi dependencies on one line.
* Makefile.in: Regenerate.

15 years ago * dep-in.sed: Don't modify .o to .lo here. Output one filename
Alan Modra [Tue, 26 May 2009 03:19:28 +0000 (03:19 +0000)]
* dep-in.sed: Don't modify .o to .lo here.  Output one filename
per line with all lines having continuation backslash.  Prefix
first line with "A", following lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, modify .o to .lo here.  Use
dep.sed here on dependencies, sort and uniq.
* Makefile.in: Regenerate.

15 years ago * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
Alan Modra [Tue, 26 May 2009 01:20:39 +0000 (01:20 +0000)]
* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.

15 years agodaily update
Alan Modra [Tue, 26 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:31:05 +0000 (13:31 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* setup.com: Complete the file with configuration and build.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:27:56 +0000 (13:27 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: New file to compile gas on VMS.

* configure.com: New file to do configuration on VMS with DCL.

15 years ago(Fix date for):
Tristan Gingold [Mon, 25 May 2009 13:24:13 +0000 (13:24 +0000)]
(Fix date for):
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: New file to compile gas on VMS.

* configure.com: New file to do configuration on VMS with DCL.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:11:33 +0000 (13:11 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: New file to compile gas on VMS.

* configure.com: New file to do configuration on VMS with DCL.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:04:40 +0000 (13:04 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
FOPEN_AUB): Use "rfm=udf,rat=none" attribute.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:03:24 +0000 (13:03 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms-in: Fix CFLAGS, add addr2line.exe target.

* configure.com: Fix it: handle alloca and define TARGET in config.h.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 12:43:48 +0000 (12:43 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OPT): New variable.
(CFLAGS): Update compilation flags.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 12:41:46 +0000 (12:41 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Add verilog.obj to object list OBJS.

15 years agodaily update
Alan Modra [Mon, 25 May 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
Alan Modra [Sun, 24 May 2009 11:47:27 +0000 (11:47 +0000)]
   * bfdio.c (bfd_seek): Formatting.  Ensure newly allocated memory
       for BFD_IN_MEMORY is cleared.
       (bfd_bwrite): Zero excess memory allocated.

15 years agodaily update
Alan Modra [Sun, 24 May 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years agogas/
Richard Sandiford [Sat, 23 May 2009 08:28:22 +0000 (08:28 +0000)]
gas/
* config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
(nops_for_insn): Likewise.

gas/testsuite/
* gas/mips/vr4130.s, gas/mips/vr4130.d: Expect part A to have nops.

15 years agogas/testsuite/
Richard Sandiford [Sat, 23 May 2009 08:24:52 +0000 (08:24 +0000)]
gas/testsuite/
* gas/mips/align.d: Use an nm test rather than an objdump one.

15 years agodaily update
Alan Modra [Sat, 23 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * testsuite/Makefile.am: Add -ffunction-sections to compile
Sriraman Tallam [Fri, 22 May 2009 20:27:52 +0000 (20:27 +0000)]
* testsuite/Makefile.am: Add -ffunction-sections to compile
gc_comdat_test files.  Add -Wl,--gc-sections to build
gc_comdat_test.
* testsuite/Makefile.in: Regenerate.
* testsuite/gc_comdat_test.sh: Fix the condition around grep.

15 years ago * object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
Sriraman Tallam [Fri, 22 May 2009 18:31:22 +0000 (18:31 +0000)]
* object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
kept comdat section was garbage collected.
* testsuite/Makefile.am: Add test gc_comdat_test.sh.
* testsuite/Makefile.in: Regenerate.
* testsuite/gc_comdat_test.sh: New file.
* testsuite/gc_comdat_test_1.cc: New file.
* testsuite/gc_comdat_test_2.cc: New file.

15 years agogas/
H.J. Lu [Fri, 22 May 2009 18:11:59 +0000 (18:11 +0000)]
gas/

2009-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.

gas/testsuite/gas/

2009-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/ifunc-1.d: New.
* gas/elf/ifunc-1.s: Likewise.

* gas/elf/elf.exp: Run ifunc-1.

15 years agoFix a typo.
H.J. Lu [Fri, 22 May 2009 17:55:55 +0000 (17:55 +0000)]
Fix a typo.

15 years agoAdd missing ChangeLog entries.
H.J. Lu [Fri, 22 May 2009 17:55:07 +0000 (17:55 +0000)]
Add missing ChangeLog entries.

15 years ago[cgen]
DJ Delorie [Fri, 22 May 2009 17:37:45 +0000 (17:37 +0000)]
[cgen]

* cpu/mep.opc (mep_examine_ivc2_insns): Fix bug in ivc2 decoder.
(mep_config_map): Regenerate.

* cpu/mep-ivc2.cpu (h-ccr-ivc2): Add generic names as well as
ivc2-specific names.
(simm8p20): New.
(cmovc): move to after field definitions, use ivc2-specific
register names.
(cpmovi_b_P0S_P1): New.

[utils/mep]

* mepcfgtool.c (do_cgen_config_opc): Propagate endianness and VLIW
size to default configuration.

[sid/component/cgen-cpu/mep]

* mep-cop1-16-decode.cxx: Regenerate.
* mep-cop1-16-decode.h: Regenerate.
* mep-cop1-16-model.cxx: Regenerate.
* mep-cop1-16-model.h: Regenerate.
* mep-cop1-16-sem.cxx: Regenerate.
* mep-cop1-64-decode.cxx: Regenerate.
* mep-cop1-64-decode.h: Regenerate.
* mep-cop1-64-model.cxx: Regenerate.
* mep-cop1-64-model.h: Regenerate.
* mep-cop1-64-sem.cxx: Regenerate.

[opcodes]

* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

15 years ago<gas changes>
Dwarakanath Rajagopal [Fri, 22 May 2009 15:57:25 +0000 (15:57 +0000)]
<gas changes>
2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
(build_modrm_byte): Remove DREX handling support.
(DREX_*): Delete.
(drex_byte): Delete.
(md_assemble): Remove DREX handling support.
(process_operands): Remove DREX, SSE5 support.
(i386_insn): Remove DREX.

<gas/testsuite changes>
2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* gas/i386/i386.exp: Remove SSE5 tests.
* gas/i386/x86-64-sse5.s: Delete. Remove SSE5 tests.
* gas/i386/x86-64-sse5.d: Ditto.
* gas/i386/arch-10-1.l: Remove SSE5 tests.
* gas/i386/arch-10-2.l: Ditto.
* gas/i386/arch-10-3.l: Ditto.
* gas/i386/arch-10-4.l: Ditto.
* gas/i386/arch-10.d: Ditto.
* gas/i386/arch-10.s: Ditto.
* gas/i386/arch-4.s: Delete. Remove SSE5 tests.
* gas/i386/arch-4.d: Ditto.
* gas/i386/arch-8.s: Ditto.
* gas/i386/arch-8.d: Ditto.
* gas/i386/arch-2.s: Remove SSE5 tests.
* gas/i386/arch-2.d: Remove SSE5 tests.
* gas/i386/x86-64-arch-2.s: Ditto.

<opcodes changes>
2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

* i386-opc.h (Cpusse5): Delete.
(i386_cpu_flags): Delete.
* i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
* i386-opc.tbl: Remove SSE5 instructions.
* i386-tbl.h: Regenerate.
* i386-init.h: Regenerate.
* i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
(print_drex_arg): Delete.
(OP_DREX4): Delete.
(OP_DREX3): Delete.
(OP_DREX_ICMP): Delete.
(OP_DREX_FCMP): Delete.
(DREX_*): Delete.
(THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.

15 years ago * ld-scripts/rgn-over7.d: Adjust expected message for recent change.
Hans-Peter Nilsson [Fri, 22 May 2009 15:54:36 +0000 (15:54 +0000)]
* ld-scripts/rgn-over7.d: Adjust expected message for recent change.

15 years ago ld/
Julian Brown [Fri, 22 May 2009 11:58:45 +0000 (11:58 +0000)]
ld/
    * emultempl/armelf.em (fix_cortex_a8): New.
    (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
    (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
    bfd_elf32_arm_set_target_relocs.
    (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
    (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
    (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
    (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
    * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.

    bfd/
    * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN):
    New macros.
    (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b)
    (elf32_arm_stub_a8_veneer_blx): New stub sequences.
    (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond,
    arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx.
    (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields.
    (a8_erratum_fix, a8_erratum_reloc): New structs.
    (elf32_arm_link_hash_table): Add a8_erratum_fixes,
    num_a8_erratum_fixes, fix_cortex_a8 fields.
    (elf32_arm_link_hash_table_create): Zero fix_cortex_a8.
    (elf32_arm_add_stub): Split into two parts, creating...
    (elf32_arm_create_or_find_stub_sec): New function.
    (elf32_arm_final_link_relocate): Add forward declaration.
    (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2
    relocations, multiple relocations per stub.
    (find_stub_size_and_template): New (using parts of
    arm_size_one_stub).
    (arm_size_one_stub): Use find_stub_size_and_template.
    (a8_reloc_compare): New.
    (find_thumb_glue): Add forward declaration.
    (cortex_a8_erratum_scan): New.
    (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support.
    (bfd_elf32_arm_set_cortex_a8_fix): New.
    (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument.
    (arm_map_one_stub): Add THUMB32_TYPE support.
    (a8_branch_to_stub_data): New.
    (make_branch_to_a8_stub): New.
    (elf32_arm_write_section): Add Cortex-A8 erratum workaround support.
    * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New.
    (bfd_elf32_arm_set_target_relocs): Add argument for controlling
    Cortex-A8 erratum workaround.
    * bfd-in2.h: Regenerate.

    ld/testsuite/
    * ld-arm/cortex-a8-arm-target.s: New.
    * ld-arm/cortex-a8-thumb-target.s: New.
    * ld-arm/cortex-a8-fix-b-rel.s: New.
    * ld-arm/cortex-a8-fix-b-rel-arm.d: New.
    * ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
    * ld-arm/cortex-a8-fix-b.s: New.
    * ld-arm/cortex-a8-fix-b.d: New.
    * ld-arm/cortex-a8-fix-bl-rel.s: New.
    * ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
    * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
    * ld-arm/cortex-a8-fix-bl.s: New.
    * ld-arm/cortex-a8-fix-bl.d: New.
    * ld-arm/cortex-a8-fix-bcc-rel.s: New.
    * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
    * ld-arm/cortex-a8-fix-bcc.s: New.
    * ld-arm/cortex-a8-fix-bcc.d: New.
    * ld-arm/cortex-a8-fix-blx-rel.s: New.
    * ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
    * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
    * ld-arm/cortex-a8-fix-blx.s: New.
    * ld-arm/cortex-a8-fix-blx.d: New.
    * ld-arm/arm-elf.exp: Add new tests.

15 years ago * ldlang.c (lang_check_section_addresses): Ignore non-loadable
Nathan Sidwell [Fri, 22 May 2009 11:27:44 +0000 (11:27 +0000)]
* ldlang.c (lang_check_section_addresses): Ignore non-loadable
sections when checking for overlap.  Clarify error message
concerns load address.

testsuite/
* ld-scripts/rgn-at4.t: New.
* ld-scripts/rgn-at4.d: New.

15 years agoRun "make dep-am" and regenerate
Alan Modra [Fri, 22 May 2009 09:33:16 +0000 (09:33 +0000)]
Run "make dep-am" and regenerate

15 years agodaily update
Alan Modra [Fri, 22 May 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * ld-pe/aligncomm-1.c (_alloca): Add dummy definition to
Dave Korn [Thu, 21 May 2009 16:28:45 +0000 (16:28 +0000)]
* ld-pe/aligncomm-1.c (_alloca):  Add dummy definition to
satisfy final link on Windows targets when using gcc-3.
* ld-pe/aligncomm-2.c (_alloca):  Likewise.
* ld-pe/aligncomm-3.c (_alloca):  Likewise.
* ld-pe/aligncomm-4.c (_alloca):  Likewise.

15 years ago * elflink.c (elf_link_input_bfd): Correct *pindex change in last
Alan Modra [Thu, 21 May 2009 14:32:29 +0000 (14:32 +0000)]
* elflink.c (elf_link_input_bfd): Correct *pindex change in last
commit.

15 years ago * elf-bfd.h (struct elf_backend_data
Alan Modra [Thu, 21 May 2009 14:15:50 +0000 (14:15 +0000)]
* elf-bfd.h (struct elf_backend_data
<elf_backend_link_output_symbol_hook>): Return an int.
* elf64-ppc.c (ppc64_elf_output_symbol_hook): Return 2 to drop
symbols on deleted .opd entries.
* elflink.c (elf_link_output_sym): Return without outputting sym
if output_symbol_hook returns 2.
(elf_link_output_extsym): Don't assign h->indx when symbol discarded.
Abort if we must not discard sym.
(elf_link_input_bfd): Similarly, don't set finfo->indices for
local syms.
(bfd_elf_final_link): Adjust elf_link_output_sym calls.
* elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Adjust for
elf_backend_link_output_symbol_hook return type change.
* elf32-arm.c (output_arch_syminfo): Likewise.
(elf32_arm_output_map_sym, elf32_arm_output_stub_sym): Likewise.
(elf32_arm_output_arch_local_syms): Likewise.
* elf32-cr16c.c (elf32_cr16c_link_output_symbol_hook): Likewise.
* elf32-score.c (s3_bfd_score_elf_link_output_symbol_hook): Likewise.
(bfd_score_elf_link_output_symbol_hook): Likewise.
* elf32-score.h (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
* elf32-score7.c (s7_bfd_score_elf_link_output_symbol_hook): Likewise.
* elf32-sh64.c (sh64_elf_link_output_symbol_hook): Likewise.
* elf32-spu.c (spu_elf_output_symbol_hook): Likewise.
* elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
* elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.

15 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on
Alan Modra [Thu, 21 May 2009 13:49:11 +0000 (13:49 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't segfault on
out of range .opd symbols.