OSDN Git Service
H.J. Lu [Tue, 25 Apr 2006 17:46:15 +0000 (17:46 +0000)]
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
is NULL first.
* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
abfd->sections is NULL.
(elf32_arm_bfd_free_cached_info): New.
(bfd_elf32_bfd_free_cached_info): Defined.
* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
to _bfd_free_cached_info.
* libbfd-in.h (_bfd_free_cached_info): New.
* libbfd: Regenerated.
* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
(_bfd_free_cached_info): New.
Bob Wilson [Tue, 25 Apr 2006 17:11:10 +0000 (17:11 +0000)]
* config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
syntax instead of hardcoded opcodes with ".w18" suffixes.
(wide_branch_opcode): New.
(build_transition): Use it to check for wide branch opcodes with
either ".w18" or ".w15" suffixes.
Bob Wilson [Tue, 25 Apr 2006 16:32:56 +0000 (16:32 +0000)]
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the
frag's is_literal flag.
Nick Clifton [Tue, 25 Apr 2006 16:20:47 +0000 (16:20 +0000)]
PR 2587
* Makefile.am: Add empty rule for .m -> .o build in order to work around bug
in gmake shipped by Apple.
* Makefile.in: Regenerate.
Bob Wilson [Tue, 25 Apr 2006 15:41:16 +0000 (15:41 +0000)]
* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
H.J. Lu [Tue, 25 Apr 2006 14:06:10 +0000 (14:06 +0000)]
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
on archive.
Alan Modra [Tue, 25 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Julian Brown [Mon, 24 Apr 2006 21:34:41 +0000 (21:34 +0000)]
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
Alan Modra [Mon, 24 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Kazu Hirata [Sun, 23 Apr 2006 22:12:43 +0000 (22:12 +0000)]
* config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
config/tc-cris.c, config/tc-crx.c, config/tc-i386.c,
config/tc-ia64.c, config/tc-maxq.c, config/tc-maxq.h,
config/tc-mips.c, config/tc-msp430.c, config/tc-sh.c,
config/tc-tic4x.c, config/tc-xtensa.c: Fix comment typos.
Alan Modra [Sun, 23 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 22 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Fri, 21 Apr 2006 07:26:09 +0000 (07:26 +0000)]
* elf.c (assign_file_positions_except_relocs): Move code setting
file position of non-loaded sections..
(assign_file_positions_for_segments): ..to here.
H.J. Lu [Fri, 21 Apr 2006 03:42:47 +0000 (03:42 +0000)]
2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2537
* elf.c (bfd_section_from_shdr): Allow sections reserved for
applications. Issue an error on sections we don't know how
to handle.
Alan Modra [Fri, 21 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Paul Brook [Thu, 20 Apr 2006 12:39:51 +0000 (12:39 +0000)]
2005-04-20 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for
all targets.
(md_pseudo_table): Enable .arch, .cpu and .fpu for all targets.
gas/testsuite/
* gas/arm/arch7.d: Remove skip.
* gas/arm/svc.d: Ditto.
* gas/arm/thumb2_bcond.d: Ditto.
* gas/arm/thumb2_it_bad.d: Ditto.
Alan Modra [Thu, 20 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 19 Apr 2006 12:10:46 +0000 (12:10 +0000)]
* Makefile.am (CPU_TYPES): Add maxq and mt. Sort.
(CPU_OBJ_VALID): Change sense of COFF test to default to invalid.
Make some cpus unsupported on ELF. Run "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Wed, 19 Apr 2006 12:10:21 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Alan Modra [Wed, 19 Apr 2006 02:15:05 +0000 (02:15 +0000)]
* avr-dis.c (avr_operand): Warning fix.
Alan Modra [Wed, 19 Apr 2006 02:10:43 +0000 (02:10 +0000)]
* ldlang.c (wild): Tidy default_common_section loop.
(print_input_section): Format.
Alan Modra [Wed, 19 Apr 2006 02:06:15 +0000 (02:06 +0000)]
bfd/
* warning.m4 (--enable-werror, -build-warnings): Format help messages.
* configure: Regenerate.
binutils/
* configure: Regenerate.
gas/
* configure.in (--enable-targets): Indent help message.
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
DJ Delorie [Wed, 19 Apr 2006 00:57:59 +0000 (00:57 +0000)]
* configure.in (m32c): Build libstdc++-v3. Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.
Alan Modra [Wed, 19 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
H.J. Lu [Tue, 18 Apr 2006 17:52:37 +0000 (17:52 +0000)]
gas/
2006-04-18 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2533
* config/tc-i386.c (i386_immediate): Check illegal immediate
register operand.
gas/testsuite/
2006-04-18 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2533
* gas/i386/inval.s: Add test for illegal immediate register
operand.
* gas/i386/inval.l: Updated.
Alan Modra [Tue, 18 Apr 2006 10:11:09 +0000 (10:11 +0000)]
* config/tc-i386.c: Formatting.
(output_disp, output_imm): ISO C90 params.
Alan Modra [Tue, 18 Apr 2006 09:58:26 +0000 (09:58 +0000)]
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
Alan Modra [Tue, 18 Apr 2006 09:55:27 +0000 (09:55 +0000)]
* config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete.
(COFF_MAGIC): Delete.
Alan Modra [Tue, 18 Apr 2006 09:50:08 +0000 (09:50 +0000)]
* config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete.
Nick Clifton [Tue, 18 Apr 2006 09:41:36 +0000 (09:41 +0000)]
PR 2257
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
(process_file_header): Cope with a corrupt e_shstrndx field.
(process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
Alan Modra [Tue, 18 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 17 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:47 +0000 (18:36 +0000)]
file zh_CN.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:47 +0000 (18:36 +0000)]
file vi.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:47 +0000 (18:36 +0000)]
file ga.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:47 +0000 (18:36 +0000)]
file fi.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:45 +0000 (18:36 +0000)]
file rw.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:45 +0000 (18:36 +0000)]
file config.texi was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:44 +0000 (18:36 +0000)]
file asconfig.texi was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:43 +0000 (18:36 +0000)]
file bfin-parse.h was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:43 +0000 (18:36 +0000)]
file bfin-parse.c was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:43 +0000 (18:36 +0000)]
file bfin-lex.c was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:36:42 +0000 (18:36 +0000)]
file zh_TW.gmo was initially added on branch binutils-2_17-branch.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:25:11 +0000 (18:25 +0000)]
Update POTFILES.in.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:20:09 +0000 (18:20 +0000)]
* config.in: Regenerated.
Mark Mitchell [Sun, 16 Apr 2006 18:15:55 +0000 (18:15 +0000)]
* doc/as.texinfo: Mention that some .type syntaxes are not
supported on all architectures.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:01:02 +0000 (18:01 +0000)]
* configure.in: Update version to 2.17.50.
* configure: Regenerated.
Nick Clifton [Sun, 16 Apr 2006 11:53:00 +0000 (11:53 +0000)]
Skip ELF specific tests on non-ELF ARM targets
Alan Modra [Sun, 16 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Bob Wilson [Sat, 15 Apr 2006 00:04:15 +0000 (00:04 +0000)]
* config/tc-xtensa.c (emit_single_op): Do not relax MOVI
instructions when such transformations have been disabled.
Alan Modra [Sat, 15 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Bob Wilson [Fri, 14 Apr 2006 23:01:19 +0000 (23:01 +0000)]
* elf32-xtensa.c (build_reloc_opcodes): New.
(compute_text_actions): Use it to decode opcodes outside inner loop.
(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
it is set, use it to get the opcodes for relocations.
(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
Bob Wilson [Fri, 14 Apr 2006 21:31:16 +0000 (21:31 +0000)]
* emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
function to strip inconsistent linkonce sections.
(input_section_linked_worker, input_section_linked): New.
(is_inconsistent_linkonce_section): New.
(xtensa_strip_inconsistent_linkonce_sections): New.
Alan Modra [Fri, 14 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 13 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Wed, 12 Apr 2006 18:42:01 +0000 (18:42 +0000)]
merge from gcc
Nick Clifton [Wed, 12 Apr 2006 13:09:10 +0000 (13:09 +0000)]
PR binutils/2454
* avr-dis.c (avr_operand): Arrange for a comment to appear before the symolic
form of an address, so that the output of objdump -d can be reassembled.
Nick Clifton [Wed, 12 Apr 2006 13:06:17 +0000 (13:06 +0000)]
oops - omitted from commit of typo fix
Nick Clifton [Wed, 12 Apr 2006 13:05:36 +0000 (13:05 +0000)]
Fix typo
Alan Modra [Wed, 12 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 11 Apr 2006 10:36:26 +0000 (10:36 +0000)]
* emultempl/elf32.em: Add support for elf-hints.h on FreeBSD and Dragonfly targets.
* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
* Makefile.am (HFILES): Add elf-hints-local.h.
* elf-hints-local.h: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
Alan Modra [Tue, 11 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Mon, 10 Apr 2006 21:19:14 +0000 (21:19 +0000)]
* m32c.opc (parse_unsigned_bitbase): Take a new parameter which
decides if this function accepts symbolic constants or not.
(parse_signed_bitbase): Likewise.
(parse_unsigned_bitbase8): Pass the new parameter.
(parse_unsigned_bitbase11): Likewise.
(parse_unsigned_bitbase16): Likewise.
(parse_unsigned_bitbase19): Likewise.
(parse_unsigned_bitbase27): Likewise.
(parse_signed_bitbase8): Likewise.
(parse_signed_bitbase11): Likewise.
(parse_signed_bitbase19): Likewise.
* m32c-asm.c: Regenerate.
H.J. Lu [Mon, 10 Apr 2006 19:05:31 +0000 (19:05 +0000)]
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
Bob Wilson [Mon, 10 Apr 2006 19:00:31 +0000 (19:00 +0000)]
* config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags.
(xtensa_fix_close_loop_end_frags): Use the recorded values instead of
decoding the loop instructions. Remove current_offset variable.
(xtensa_fix_short_loop_frags): Likewise.
(min_bytes_to_other_loop_end): Remove current_offset argument.
Ben Elliston [Mon, 10 Apr 2006 03:59:57 +0000 (03:59 +0000)]
* MAINTAINERS (CGEN Maintainers): Remove myself.
Ben Elliston [Mon, 10 Apr 2006 00:41:43 +0000 (00:41 +0000)]
* contrib: Remove directory.
Alan Modra [Mon, 10 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Arnold Metselaar [Sun, 9 Apr 2006 18:08:08 +0000 (18:08 +0000)]
removed z80_optimize_expr; redundant since 2006-04-04
Alan Modra [Sun, 9 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
H.J. Lu [Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)]
2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2513
* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
(GOT_TLS_IE_IE): Likewise.
(GOT_TLS_IE_GD): Likewise.
(GOT_TLS_IE_MASK): Likewise.
(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
respectively.
(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
are set, treat tls_type as GOT_TLS_IE_BOTH.
(elf_i386_relocate_section): Likewise.
Alan Modra [Sat, 8 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Nick Clifton [Fri, 7 Apr 2006 15:18:08 +0000 (15:18 +0000)]
Add support for attiny261, attiny461, attiny861, attiny25, attiny45,
attiny85, attiny24, attiny44, attiny84, at90pwm2, at90pwm3, atmega164,
atmega324, atmega644, atmega329, atmega3290, atmega649, atmega6490,
atmega406, atmega640, atmega1280, atmega1281, at90can32, at90can64,
at90usb646, at90usb647, at90usb1286 and at90usb1287.
Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
Paul Brook [Fri, 7 Apr 2006 15:11:19 +0000 (15:11 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_operands): Set default error message.
Paul Brook [Fri, 7 Apr 2006 15:09:40 +0000 (15:09 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
Paul Brook [Fri, 7 Apr 2006 15:08:04 +0000 (15:08 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
gas/testsuite/
* gas/arm/blx-local.d: New test.
* gas/arm/blx-local.d: New test.
Paul Brook [Fri, 7 Apr 2006 15:03:45 +0000 (15:03 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (THUMB2_LOAD_BIT): Define.
(move_or_literal_pool): Handle Thumb-2 instructions.
(do_t_ldst): Call move_or_literal_pool for =N addressing modes.
gas/testsuite/
* gas/arm/thumb2_pool.d: New test.
* gas/arm/thumb2_pool.s: New test.
Nick Clifton [Fri, 7 Apr 2006 14:55:29 +0000 (14:55 +0000)]
* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
(elf64_hppa_grok_psinfo): Likewise.
(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
Nick Clifton [Fri, 7 Apr 2006 14:14:46 +0000 (14:14 +0000)]
Fix typo in documentation of --check-sections.
Kaz Kojima [Fri, 7 Apr 2006 07:03:51 +0000 (07:03 +0000)]
* ldlang.c (load_symbols): Set as_needed and add_needed according
to the corresponding script's fields while processing it.
Alan Modra [Fri, 7 Apr 2006 06:40:57 +0000 (06:40 +0000)]
PR 2512.
* config/tc-i386.c (match_template): Move 64-bit operand tests
inside loop.
DJ Delorie [Fri, 7 Apr 2006 01:08:34 +0000 (01:08 +0000)]
* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
each plt entry we create.
DJ Delorie [Fri, 7 Apr 2006 00:01:28 +0000 (00:01 +0000)]
merge from gcc
Alan Modra [Fri, 7 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Carlos O'Donell [Thu, 6 Apr 2006 21:49:35 +0000 (21:49 +0000)]
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
H.J. Lu [Thu, 6 Apr 2006 18:52:46 +0000 (18:52 +0000)]
bfd/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
section structure.
include/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
relax_pass.
ld/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
link_info.need_relax_finalize.
* ldlang.c (relax_sections): New.
(lang_process): Use. Call relax_sections link_info.relax_pass
times.
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
link_info.need_relax_finalize.
Bernd Schmidt [Thu, 6 Apr 2006 11:45:01 +0000 (11:45 +0000)]
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
Nick Clifton [Thu, 6 Apr 2006 10:09:41 +0000 (10:09 +0000)]
Updated Vietnamese translation.
Alan Modra [Thu, 6 Apr 2006 04:38:33 +0000 (04:38 +0000)]
* frags.c (frag_offset_fixed_p): Reinitialise offset before
second scan.
Alan Modra [Thu, 6 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
H.J. Lu [Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
James E Wilson <wilson@specifixinc.com>
PR ld/2442
* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
(elfNN_ia64_local_hash_entry): Add count, sorted_count and
size.
(elfNN_ia64_link_hash_entry): Likewise.
(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
and size.
(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
processing.
(elfNN_ia64_hash_hide_symbol): Likewise.
(elfNN_ia64_global_dyn_sym_thunk): Likewise.
(elfNN_ia64_local_dyn_sym_thunk): Likewise.
(elfNN_ia64_global_dyn_info_free): New function.
(elfNN_ia64_local_dyn_info_free): Likewise.
(elfNN_ia64_hash_table_free): Free local and global
elfNN_ia64_dyn_sym_info.
(addend_compare): New function.
(sort_dyn_sym_info): Likewise.
(get_dyn_sym_info): Updated to use binary search for addend.
(elfNN_ia64_check_relocs): Scan relocations to create dynamic
relocation arrays first.
Bernd Schmidt [Wed, 5 Apr 2006 20:46:15 +0000 (20:46 +0000)]
Fix -Werror problem in previous change.
Bernd Schmidt [Wed, 5 Apr 2006 19:57:36 +0000 (19:57 +0000)]
* elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
symbol.
Eric Botcazou [Wed, 5 Apr 2006 16:12:01 +0000 (16:12 +0000)]
* addr2line.c (long_options): Add new option 'section'.
(usage): Document new -j/--section option.
(find_offset_in_section): New function.
(translate_addresses): Add 'section' parameter.
If it is non-null, call find_offset_in_section on it.
(process_file): Add 'section_name' parameter.
If it is non-null, look for the section in the BFD object.
Pass the section to translate_addresses.
(main): Handle new -j option.
Pass the section name to process_file.
* doc/binutils.texi (addr2line): Document new -j/--section option.
Alan Modra [Wed, 5 Apr 2006 15:40:40 +0000 (15:40 +0000)]
* Makefile.am (GENSCRIPTS): Pass prefix.
* Makefile.in: Regenerate.
* genscripts.sh: Adjust for extra parameter.
* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
exists.
(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
* NEWS: Update.
H.J. Lu [Wed, 5 Apr 2006 13:37:32 +0000 (13:37 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2411
* elflink.c (check_dynsym): New.
(elf_link_output_extsym): Use it.
(bfd_elf_final_link): Likewise.
H.J. Lu [Wed, 5 Apr 2006 13:36:32 +0000 (13:36 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2404
* elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
symbol from the dynamic definition with the default version if
its type and the type of existing regular definition mismatch.
Richard Sandiford [Wed, 5 Apr 2006 12:41:59 +0000 (12:41 +0000)]
bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
* configure: Regenerate.
* elf32-sparc.c: Include elf-vxworks.h.
(elf32_sparc_vxworks_link_hash_table_create: New.
(elf32_sparc_vxworks_final_write_processing): New.
(TARGET_BIG_SYM): Override for VxWorks.
(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing, elf32_bed): Likewise.
* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
build_plt_entry here.
(create_got_section): Initialize sgotplt for VxWorks.
(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
plt_header_size and plt_entry_size, with new VxWorks-specific settings.
Call elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
for VxWorks. Check for the .got.plt section.
(sparc_vxworks_build_plt_entry): New function.
(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
absolute on VxWorks.
(sparc32_finish_dyn): Add special handling for DT_RELASZ
and DT_PLTGOT on VxWorks.
(sparc_vxworks_finish_exec_plt): New.
(sparc_vxworks_finish_shared_plt): New.
(_bfd_sparc_elf_finish_dynamic_sections): Call them.
Use plt_header_size and plt_entry_size.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
(elf32-sparc.lo): Likewise.
* Makefile.in: Regenerate.
* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
(_bfd_target_vector): Add a pointer to it.
gas/
* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
(GOTT_BASE, GOTT_INDEX): New.
(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
GOTT_INDEX when generating VxWorks PIC.
* configure.tgt (sparc*-*-vxworks*): Remove this special case;
use the generic *-*-vxworks* stanza instead.
gas/testsuite/
* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
* gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs.
ld/
* configure.tgt (sparc*-*-vxworks*): New stanza.
* emulparams/elf32_sparc_vxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
(eelf32_sparc_vxworks.c): New rule.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
* ld-sparc/sparc.exp: Run them.
Ben Elliston [Wed, 5 Apr 2006 01:51:15 +0000 (01:51 +0000)]
* lib/ld-lib.exp: Comment cleanups.
Alan Modra [Wed, 5 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update