OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years agodaily update
Alan Modra [Sat, 22 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
Nick Clifton [Fri, 21 Jul 2006 09:56:40 +0000 (09:56 +0000)]
* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
   being tested.

18 years ago* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.
Nick Clifton [Fri, 21 Jul 2006 09:46:15 +0000 (09:46 +0000)]
* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.

18 years agodaily update
Alan Modra [Fri, 21 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agoUpdate amd family 10 instructions to add appropriate alignment for cygwin
Michael Meissner [Thu, 20 Jul 2006 23:09:32 +0000 (23:09 +0000)]
Update amd family 10 instructions to add appropriate alignment for cygwin

18 years ago * config/tc-mips.c (md_parse_option): Don't infer optimisation
Thiemo Seufer [Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)]
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.

18 years ago [ bfd/ChangeLog ]
Thiemo Seufer [Thu, 20 Jul 2006 16:46:30 +0000 (16:46 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
instead of mips16_jump_reloc.
* elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
_bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.

[ gas/ChangeLog ]
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
(tc_gen_reloc): Handle mips16 jumps to section symbol offsets.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-call-global-1.s,
ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Test linking of external mips16 jumps.
* ld-mips-elf/mips-elf.exp: Run new test.

18 years agodaily update
Alan Modra [Thu, 20 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago2006-07-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 19 Jul 2006 17:06:06 +0000 (17:06 +0000)]
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
for stages after the first.
* Makefile.in: Regenerate.

config:
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Support --with-build-libsubdir and AC_SUBST
build_libsubdir.

18 years ago2006-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Jul 2006 12:53:33 +0000 (12:53 +0000)]
2006-07-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Fix rbit Arm opcode.
gas/testsuite/
* gas/arm/archv6t2.d: Adjust expected output for rbit.
opcodes/
* armd-dis.c (arm_opcodes): Fix rbit opcode.

18 years ago * ld-selective/selective.exp: Fix selective testcases for MIPS.
Thiemo Seufer [Wed, 19 Jul 2006 11:49:32 +0000 (11:49 +0000)]
* ld-selective/selective.exp: Fix selective testcases for MIPS.

18 years agobfd/
Alan Modra [Wed, 19 Jul 2006 01:50:23 +0000 (01:50 +0000)]
bfd/
* bfd-in.h (enum notice_asneeded_action): Define.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_add_object_symbols): Call linker "notice"
function with NULL name for as-needed handling.
ld/
* ld.h (handle_asneeded_cref): Declare.
* ldcref.c: Include objalloc.h.
(old_table, old_count, old_tab, alloc_mark): New variables.
(tabsize, entsize, refsize, old_symcount): Likewise.
(add_cref): Use bfd_hash_allocate for refs.
(handle_asneeded_cref): New function.
* ldmain.c (notice): Call handle_asneeded_cref for NULL name.

18 years agodaily update
Alan Modra [Wed, 19 Jul 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agogas/testsuite/
H.J. Lu [Tue, 18 Jul 2006 20:25:41 +0000 (20:25 +0000)]
gas/testsuite/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opcode.s: Add sldt, smsw and str.
* gas/i386/x86-64-opcode.s: Likewise.

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

opcodes/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
"sldt", "str" and "smsw".

18 years ago2006-07-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 18 Jul 2006 16:44:47 +0000 (16:44 +0000)]
2006-07-18  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.

18 years ago * gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test. Change
Thiemo Seufer [Tue, 18 Jul 2006 14:06:10 +0000 (14:06 +0000)]
* gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test.  Change
arguments for "madd.s" so that the instruction is correct for mips1
and still matches "bc3*".

18 years ago * bfd.texinfo: Add @section for "What to Put Where".
Thiemo Seufer [Tue, 18 Jul 2006 13:20:42 +0000 (13:20 +0000)]
* bfd.texinfo: Add @section for "What to Put Where".

18 years ago* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
Nick Clifton [Tue, 18 Jul 2006 08:56:44 +0000 (08:56 +0000)]
* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
  Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common sections.
* elfxx-mips.h  (_bfd_mips_elf_common_definition): Prototype.

18 years agodaily update
Alan Modra [Tue, 18 Jul 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * Makefile.def: Add dependencies for configure-opcodes
Jakub Jelinek [Mon, 17 Jul 2006 17:04:21 +0000 (17:04 +0000)]
* Makefile.def: Add dependencies for configure-opcodes
on configure-intl and all-opcodes on all-intl.
* Makefile.in: Regenerated.

18 years ago * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
Alan Modra [Mon, 17 Jul 2006 12:49:50 +0000 (12:49 +0000)]
* symbols.c (report_op_error): Fix pasto.  Don't use as_bad_where
when file and line unknown.

18 years ago * read.c (s_struct): Use IS_ELF.
Thiemo Seufer [Mon, 17 Jul 2006 10:40:11 +0000 (10:40 +0000)]
* read.c (s_struct): Use IS_ELF.
* config/tc-mips.c (md_begin, mips16_mark_labels, mips_ip,
md_parse_option, s_change_sec, pic_need_relax, mips_fix_adjustable,
tc_gen_reloc, mips_frob_file_after_relocs, s_mips_end, s_mips_frame,
s_mips_mask): Likewise.

18 years agodaily update
Alan Modra [Mon, 17 Jul 2006 00:00:13 +0000 (00:00 +0000)]
daily update

18 years ago * read.c (s_struct): Handle ELF section changing.
Thiemo Seufer [Sun, 16 Jul 2006 10:19:19 +0000 (10:19 +0000)]
* read.c (s_struct): Handle ELF section changing.
* config/tc-mips.c (s_align): Leave enabling auto-align to the
generic code.
(s_change_sec): Try section changing only if we output ELF.

18 years agodaily update
Alan Modra [Sun, 16 Jul 2006 00:00:12 +0000 (00:00 +0000)]
daily update

18 years agoAdd missing ChangeLog entry.
H.J. Lu [Sat, 15 Jul 2006 16:58:36 +0000 (16:58 +0000)]
Add missing ChangeLog entry.

18 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:33:24 +0000 (16:33 +0000)]
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2829
* i386-dis.c (GRP11_C6): NEW.
(GRP11_C7): Likewise.
(GRP12): Updated.
(GRP13): Likewise.
(GRP14): Likewise.
(GRP15): Likewise.
(GRP16): Likewise.
(GRPAMD): Likewise.
(GRPPADLCK1): Likewise.
(GRPPADLCK2): Likewise.
(dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7,
respectively.
(grps): Add entries for GRP11_C6 and GRP11_C7.

18 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:32:48 +0000 (16:32 +0000)]
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Remove Cpu086, CpuAthlon and
CpuAmdFam10.
(smallest_imm_type): Remove Cpu086.
(i386_target_format): Likewise.

* config/tc-i386.h: Remove Cpu086, CpuAthlon and CpuAmdFam10.
Update CpuXXX.

18 years agodaily update
Alan Modra [Sat, 15 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago2006-07-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 14 Jul 2006 16:15:27 +0000 (16:15 +0000)]
2006-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Remove InvMem from maskmovq, movhlps,
movlhps, movmskps, pextrw, pmovmskb, movmskpd, maskmovdqu,
movdq2q and movq2dq.

18 years ago * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
Daniel Jacobowitz [Fri, 14 Jul 2006 15:26:36 +0000 (15:26 +0000)]
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
typo setting targ_extra_libpath.

18 years ago * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
Jakub Jelinek [Fri, 14 Jul 2006 13:48:06 +0000 (13:48 +0000)]
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.

18 years ago* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
Mark Kettenis [Fri, 14 Jul 2006 11:00:59 +0000 (11:00 +0000)]
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
to the start of a block.

18 years agodaily update
Alan Modra [Fri, 14 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoAdd amdfam10 instructions
Michael Meissner [Thu, 13 Jul 2006 22:25:48 +0000 (22:25 +0000)]
Add amdfam10 instructions

18 years ago2006-07-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 13 Jul 2006 18:13:36 +0000 (18:13 +0000)]
2006-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (Size64): Fix a typo in comment.

18 years ago * ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
Thiemo Seufer [Thu, 13 Jul 2006 10:58:47 +0000 (10:58 +0000)]
* ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got:
Update TLS testcases.

18 years ago* coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info() returning a NULL
Nick Clifton [Thu, 13 Jul 2006 09:07:36 +0000 (09:07 +0000)]
* coff-sh.c (_bfd_sh_align_load_span): Catch sh_insn_info() returning a NULL
  value.

18 years agodaily update
Alan Modra [Thu, 13 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agobfd/
H.J. Lu [Wed, 12 Jul 2006 15:45:33 +0000 (15:45 +0000)]
bfd/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* elflink.c (_bfd_elf_merge_symbol): Copy the symbol info from
the old versioned dynamic definition to the new one with
non-default visibility.  Hide the symbol if it is hidden or
internal.

ld/testsuite/

2006-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2884
* ld-elf/begin.c: New file.
* ld-elf/end.c: Likewise.
* ld-elf/endhidden.c: Likewise.
* ld-elf/endprotected.c: Likewise.
* ld-elf/foo.c: Likewise.
* ld-elf/foo.map: Likewise.
* ld-elf/hidden.out: Likewise.
* ld-elf/main.c: Likewise.
* ld-elf/normal.out: Likewise.
* ld-elf/shared.exp: Likewise.

* lib/ld-lib.exp (run_cc_link_tests): New.

18 years agobfd/
Richard Sandiford [Wed, 12 Jul 2006 12:47:00 +0000 (12:47 +0000)]
bfd/
2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>

* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.

ld/testsuite/
2006-07-12  Richard Sandiford  <richard@codesourcery.com>

* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.

18 years agoFix grammatical error in ChangeLog entry
Nick Clifton [Wed, 12 Jul 2006 09:08:34 +0000 (09:08 +0000)]
Fix grammatical error in ChangeLog entry

18 years ago* config/tc-sh.c (md_apply_fix): Do not allow the generic code in
Nick Clifton [Wed, 12 Jul 2006 09:02:00 +0000 (09:02 +0000)]
* config/tc-sh.c (md_apply_fix): Do not allow the generic code in
  fixup_segment() to repeat a range check on a value that have already
  been checked here.
* gas/sh/basic.exp: Run "too_large" dump test.
* gas/sh/too_large.s: New test file.  Check that .byte directives do not
  generate a bogus overflow message.
* gas/sh/too_large.s: New test control file.

18 years agodaily update
Alan Modra [Wed, 12 Jul 2006 00:00:11 +0000 (00:00 +0000)]
daily update

18 years ago * ld-cris/libdso-2.d: Adjust for recent hash-related changes.
Hans-Peter Nilsson [Tue, 11 Jul 2006 21:47:41 +0000 (21:47 +0000)]
* ld-cris/libdso-2.d: Adjust for recent hash-related changes.

18 years agodaily update
Alan Modra [Tue, 11 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agoinclude/
Jakub Jelinek [Mon, 10 Jul 2006 21:40:25 +0000 (21:40 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
emit_gnu_hash bitfields.
include/elf/
* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
* scripttempl/elf.sc: Add .gnu.hash section.
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
(gld${EMULATION_NAME}_handle_option): Handle it.
(gld${EMULATION_NAME}_list_options): Document it.
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
* ld.texinfo: Document --hash-style option.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
Handle SHT_GNU_HASH.
(special_sections_g): Include .gnu.hash section.
(bfd_elf_gnu_hash): New function.
* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
(struct elf_backend_data): Add elf_hash_symbol method.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
only if info->emit_hash, create .gnu.hash section if
info->emit_gnu_hash.
(struct collect_gnu_hash_codes): New type.
(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
_bfd_elf_hash_symbol): New functions.
(compute_bucket_count): Don't compute HASHCODES array, instead add
that and NSYMS as arguments.  Use bed->s->sizeof_hash_entry
instead of bed->s->arch_size / 8.  Fix .hash size estimation.
When not optimizing, use the number of hashed symbols rather than
dynsymcount.
(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
and ADD DT_GNU_HASH if info->emit_gnu_hash.
(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
adjust compute_bucket_count caller.  Create and populate .gnu.hash
section if info->emit_gnu_hash.
(elf_link_output_extsym): Only populate .hash section if
finfo->hash_sec != NULL.
(bfd_elf_final_link): Adjust assertion.  Handle DT_GNU_HASH.
* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
(elfNN_bed): Add elf_backend_hash_symbol.
* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
* elf32-i386.c (elf_i386_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
binutils/
* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
(get_section_type_name): Handle SHT_GNU_HASH.
(dynamic_info_DT_GNU_HASH): New variable.
(process_dynamic_section): Handle DT_GNU_HASH.
(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
* ld-powerpc/tlsso32.r: Adjust.
* ld-powerpc/tlsso32.d: Adjust.
* ld-powerpc/tlsso32.g: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlsso.g: Adjust.
* ld-powerpc/tlstocso.g: Adjust.

18 years ago* po/zh_TW.po: New Chinese (traditional) translation.
Nick Clifton [Mon, 10 Jul 2006 14:30:41 +0000 (14:30 +0000)]
* po/zh_TW.po: New Chinese (traditional) translation.
* configure.in (ALL_LINGUAS): Add zh_TW.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Mon, 10 Jul 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 9 Jul 2006 00:00:43 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 8 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoAdd Broadcom SB-1A support.
Jim Wilson [Fri, 7 Jul 2006 23:17:55 +0000 (23:17 +0000)]
Add Broadcom SB-1A support.
* config/tc-mips.c (mips_cpu_info_table): Add sb1a.

18 years agoPR ld/2874
Nick Clifton [Fri, 7 Jul 2006 11:18:51 +0000 (11:18 +0000)]
PR ld/2874
* ld.texinfo: Remove "Using LD" from the title since it is redundant.

18 years agodaily update
Alan Modra [Fri, 7 Jul 2006 00:00:10 +0000 (00:00 +0000)]
daily update

18 years agoPR ld/2877
Nick Clifton [Thu, 6 Jul 2006 10:46:46 +0000 (10:46 +0000)]
PR ld/2877
* ld.texinfo: Fix spelling mistakes.

18 years agoPR binutils/2877
Nick Clifton [Thu, 6 Jul 2006 10:34:02 +0000 (10:34 +0000)]
PR binutils/2877
* doc/as.texi: Fix spelling typo: branchs => branches.
* doc/c-m68hc11.texi: Likewise.
* config/tc-m68hc11.c: Likewise.
  Support old spelling of command line switch for backwards compatibility.

18 years ago2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
Nick Clifton [Thu, 6 Jul 2006 10:04:09 +0000 (10:04 +0000)]
2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>

PR binutils/2875
* doc/binutils.texi (readelf): Fix spelling typo.

18 years agoPR binutils/2879
Nick Clifton [Thu, 6 Jul 2006 09:49:56 +0000 (09:49 +0000)]
PR binutils/2879
* doc/binutils.texi: Document -T shorthand for --target switch.
* strings.c: Update comment to include -T option.

18 years agodaily update
Alan Modra [Thu, 6 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
Julian Brown [Wed, 5 Jul 2006 17:08:47 +0000 (17:08 +0000)]
* arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.

18 years ago * gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
Julian Brown [Wed, 5 Jul 2006 17:08:09 +0000 (17:08 +0000)]
* gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
    * gas/arm/vfp-neon-syntax_t2.d: Likewise.
    * gas/arm/vfp2.d: Likewise.
    * gas/arm/vfp2_t2.d: Likewise.

18 years ago * ld-mips-elf/multi-got-1.d, ld-mips-elf/tls-multi-got-1.got,
Thiemo Seufer [Wed, 5 Jul 2006 16:01:38 +0000 (16:01 +0000)]
* ld-mips-elf/multi-got-1.d, ld-mips-elf/tls-multi-got-1.got,
ld-mips-elf/tls-multi-got-1.r: Update multigot testcases.

18 years agoPR ld/2659
Nick Clifton [Wed, 5 Jul 2006 10:21:39 +0000 (10:21 +0000)]
PR ld/2659
* cofflink.c (_bfd_coff_link_input_bfd): Fix selection of aux entry when
  multiple definitions of a symbol are encountered.

18 years agodaily update
Alan Modra [Wed, 5 Jul 2006 00:00:10 +0000 (00:00 +0000)]
daily update

18 years agoChangeLog:
Alexandre Oliva [Tue, 4 Jul 2006 20:31:03 +0000 (20:31 +0000)]
ChangeLog:
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.

18 years ago * config/tc-mips.c (s_is_linkonce): New function.
Thiemo Seufer [Tue, 4 Jul 2006 17:22:11 +0000 (17:22 +0000)]
* config/tc-mips.c (s_is_linkonce): New function.
(mips16_mark_labels): Don't adjust mips16 symbol addresses for
weak, external, and linkonce symbols.
(pic_need_relax): Use s_is_linkonce.

18 years ago * gas/mips/e32-rel2.d, gas/mips/e32-rel4.d: Use -mabi=32 for as.
Thiemo Seufer [Tue, 4 Jul 2006 16:39:08 +0000 (16:39 +0000)]
* gas/mips/e32-rel2.d, gas/mips/e32-rel4.d: Use -mabi=32 for as.
* gas/mips/mips.exp: Move mips16e testcase to ELF only tests.
Run elf{el}-rel2 and elf-rel4 for all arches with gpr64. Run
e32-rel2 and e32-rel4 also for 64 bit configurations.

18 years agodaily update
Alan Modra [Tue, 4 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jul 2006 11:22:03 +0000 (11:22 +0000)]
2006-07-03  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Fix thinkos in previous check-in.
* configure: Regenerate.

18 years ago2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jul 2006 09:26:24 +0000 (09:26 +0000)]
2006-07-03  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Fix thinko in previous check-in.
* configure: Regenerate.

18 years ago2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jul 2006 07:58:12 +0000 (07:58 +0000)]
2006-07-03  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:

2007-07-03  Paolo Bonzini  <bonzini@gnu.org>

PR other/27063
* configure.in: Test subdir_requires and give an appropriate
error message.
* configure: Regenerate.

2006-06-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

PR target/27540
* configure.in: Only enable libgomp on IRIX 6.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Mon, 3 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 2 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 1 Jul 2006 00:00:11 +0000 (00:00 +0000)]
daily update

18 years agobfd/
H.J. Lu [Fri, 30 Jun 2006 14:16:13 +0000 (14:16 +0000)]
bfd/

2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Use xchg %ax,%ax
instead of 2 nops.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_plt0_entry): Use nopl 0(%rax) instead of 4 nops.

ld/testsuite/

2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlsbindesc.dd: Updated to expect xchg %ax,%ax instead
of 2 nops.
* ld-i386/tlsdesc.dd: Likewise.
* ld-i386/tlsgdesc.dd: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlsdesc.dd: Likewise.
* ld-x86-64/tlsdesc.pd: Likewise.
* ld-x86-64/tlsgdesc.dd: Likewise.

18 years ago* dwarf.c (display_debug_frames): Catch a corrupt length field generating an
Nick Clifton [Fri, 30 Jun 2006 13:38:57 +0000 (13:38 +0000)]
* dwarf.c (display_debug_frames): Catch a corrupt length field generating an
    end of block address that is beyond the end of the section.
  When encountering a corrupt CIE pointer do not reset the start pointer as
    more data still has to be read.
  Do not warn about user defined call frame instructions.

18 years agodaily update
Alan Modra [Fri, 30 Jun 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago* readelf.c (process_section_headers): Add H8/300 support.
DJ Delorie [Thu, 29 Jun 2006 18:32:05 +0000 (18:32 +0000)]
* readelf.c (process_section_headers): Add H8/300 support.

18 years ago PR ld/2513
Jakub Jelinek [Thu, 29 Jun 2006 12:34:37 +0000 (12:34 +0000)]
PR ld/2513
* elf32-i386.c (GOT_TLS_MASK, GOT_TLS_IE_IE, GOT_TLS_IE_GD,
GOT_TLS_IE_MASK, elf_i386_check_relocs, allocate_dynrelocs): Revert
2006-04-08 changes.
(elf_i386_relocate_section): Likewise.  For GD->IE transition
change subl into addl whenever tls_type is GOT_TLS_IE_POS.

* ld-i386/tlsbin.dd: Fix expected output.

18 years agodaily update
Alan Modra [Thu, 29 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Wed, 28 Jun 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago* emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum length of
Nick Clifton [Tue, 27 Jun 2006 11:45:21 +0000 (11:45 +0000)]
* emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum length of
  format strings in the libname_fmt[] array, rather than relying upon a
  statically chosen value.  Adjust xmalloc call to use this longest length.

18 years ago(-rpath-link): Clarify distinction between -rpath and -rpath-link.
Nick Clifton [Tue, 27 Jun 2006 08:52:38 +0000 (08:52 +0000)]
(-rpath-link): Clarify distinction between -rpath and -rpath-link.

18 years agodaily update
Alan Modra [Tue, 27 Jun 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Mon, 26 Jun 2006 00:00:36 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 25 Jun 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago2006-06-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 24 Jun 2006 18:25:10 +0000 (18:25 +0000)]
2006-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* doc/as.texinfo (Org): Remove space.
(P2align): Add "@var{abs-expr},".

18 years agobinutils/testsuite/
Richard Sandiford [Sat, 24 Jun 2006 09:10:04 +0000 (09:10 +0000)]
binutils/testsuite/
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.

18 years agodaily update
Alan Modra [Sat, 24 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agogas/
H.J. Lu [Fri, 23 Jun 2006 21:47:36 +0000 (21:47 +0000)]
gas/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch_tune_set): New.
(cpu_arch_isa): Likewise.
(i386_align_code): Use xchg %ax,%ax for 2 byte nop. Optimize
nops with short or long nop sequences based on -march=/.arch
and -mtune=.
(set_cpu_arch): Set cpu_arch_isa.  If cpu_arch_tune_set is 0,
set cpu_arch_tune and cpu_arch_tune_flags.
(md_parse_option): For -march=, set cpu_arch_isa and set
cpu_arch_tune and cpu_arch_tune_flags if cpu_arch_tune_set is
0.  Set cpu_arch_tune_set to 1 for -mtune=.
(i386_target_format): Don't set cpu_arch_tune.

gas/testsuite/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops-1, nops-1-i386, nops-1-i686,
nops-1-merom, nops-2, nops-2-i386, nops-2-merom, x86-64-nops-1,
x86-64-nops-1-k8, x86-64-nops-1-nocona and x86-64-nops-1-merom.

* gas/i386/nops-1.s: New file.
* gas/i386/nops-2.s: Likewise.
* gas/i386/nops-1-i386.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-1-merom.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-1.s: Likewise.
* gas/i386/x86-64-nops-1-k8.d: Likewise.
* gas/i386/x86-64-nops-1-merom.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.

* gas/i386/sse2.d: Updated to expect xchg %ax,%ax as 2 byte
nop.

18 years ago * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
Thiemo Seufer [Fri, 23 Jun 2006 18:31:17 +0000 (18:31 +0000)]
* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.

18 years ago * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
Daniel Jacobowitz [Fri, 23 Jun 2006 18:11:47 +0000 (18:11 +0000)]
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
targ_extra_libpath.

18 years ago * config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
Thiemo Seufer [Fri, 23 Jun 2006 16:26:13 +0000 (16:26 +0000)]
* config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
label_list.
* config/tc-mips.c (label_list): Define per-segment label_list.
(mips_clear_insn_labels, mips_move_labels, mips16_mark_labels,
append_insn, s_align, s_cons, s_float_cons, s_gpword, s_gpdword,
mips_from_file_after_relocs, mips_define_label): Use per-segment
label_list.

18 years agobinutils/
Richard Sandiford [Fri, 23 Jun 2006 16:23:09 +0000 (16:23 +0000)]
binutils/
* objcopy.c (localize_hidden): New variable.
(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
(copy_options): Add --localize-hidden.
(copy_usage): Mention --localize-hidden.
(is_hidden_symbol): New function.
(filter_symbols): Handle localize_hidden.
(copy_object): Call filter_symbols if localize_hidden.
(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
* doc/binutils.texi (--localize-hidden): Document new option.

binutils/testsuite/
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.

18 years ago * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
Daniel Jacobowitz [Fri, 23 Jun 2006 14:30:59 +0000 (14:30 +0000)]
* Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
(dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
* Makefile.in: Regenerate.

18 years ago* pe-dll.c (pe_details_type): Add new pointer for symbols list autofilter.
Nick Clifton [Fri, 23 Jun 2006 11:20:15 +0000 (11:20 +0000)]
* pe-dll.c (pe_details_type): Add new pointer for symbols list autofilter.
  (autofilter_symbollist): Split into autofilter_symbollist_generic and
    autofilter_symbollist_i386.
  (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
    autofilter_symbollist_generic for all the others.
  (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
    cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3,
    environ, into autofilter_symbollist_i386.
  (auto_export): Get autofilter_symbollist from pe_details.

18 years ago * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
Alan Modra [Fri, 23 Jun 2006 06:04:37 +0000 (06:04 +0000)]
* Makefile.am (*_DEPENDENCIES): Add missing dependencies.
* Makefile.in: Regenerate.

18 years ago PR ld/2754
Alan Modra [Fri, 23 Jun 2006 02:58:01 +0000 (02:58 +0000)]
PR ld/2754
* elf.c (bfd_elf_mkobject): Don't alloc if already done.  Set
program_header_size to -1.
(_bfd_elf_map_sections_to_segments): Adjust program_header_size check.
(assign_file_positions_for_load_sections ): Likewise.
(_bfd_elf_sizeof_headers): Use saved program_header_size if
available.
* elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't
alloc if already done.
* elf32-i386.c (elf_i386_mkobject): Likewise.
* elf32-ppc.c (ppc_elf_mkobject): Likewise.
* elf32-s390.c (elf_s390_mkobject): Likewise.
* elf32-sh.c (sh_elf_mkobject): Likewise.
* elf64-alpha.c (elf64_alpha_mkobject): Likewise.
* elf64-ppc.c (ppc64_elf_mkobject): Likewise.
* elf64-s390.c (elf_s390_mkobject): Likewise.
* elf64-x86-64.c (elf64_x86_64_mkobject): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.

18 years agodaily update
Alan Modra [Fri, 23 Jun 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agoPR ld/2757
Nick Clifton [Thu, 22 Jun 2006 16:25:36 +0000 (16:25 +0000)]
PR ld/2757
* emultempl/pe.em (gld_$_after_open): When reporting non PE format output
  files mention the file name and the fact that it is an output file.