Nick Clifton
2889e75bfb
Take into account MEMORY regions when creating a segment map.
2007-02-21 16:43:50 +00:00
Alan Modra
7885946881
* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.
2007-02-21 02:48:22 +00:00
Alan Modra
96a724796f
daily update
2007-02-20 23:00:06 +00:00
Thiemo Seufer
ae0d26161b
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove
...
translation marker from untranslatable strings.
2007-02-20 12:35:19 +00:00
Alan Modra
0d0fb2a07a
daily update
2007-02-19 23:00:09 +00:00
Alan Modra
6bfdb61b0c
* elf-bfd.h (struct elf_backend_data): Add default_execstack.
...
* elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack.
* elfxx-target.h (elf_backend_default_execstack): Define to 1.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_default_execstack): Define to 0.
2007-02-19 12:44:18 +00:00
Alan Modra
798b24ae27
daily update
2007-02-18 23:00:06 +00:00
Joseph Myers
92f01d6100
top level:
...
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
* configure: Regenerate.
bfd:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.in (--with-pkgversion): New option.
* configure: Regenerate.
* Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
* Makefile.in: Regenerate.
* version.h (BFD_VERSION_STRING): Define using
@bfd_version_package@.
bfd/doc:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* Makefile.in: Regenerate.
binutils:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* bucomm.h: Remove include of bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* ar.c (usage): Pass s to list_supported_targets. Don't print
empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
* cxxfilt.c (usage): Print bug url when giving help.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c ((usage): Likewise. Add STREAM argument. Adjust
callers.
* size.c (usage): Don't print empty REPORT_BUGS_TO.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.
gas:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* dep-in.sed: Remove bin-bugs.h.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
(DEP_INCLUDES): Likewise.
($(OBJS)): No longer depend on bin-bugs.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove include of bin-bugs.h.
gprof:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.in (--with-pkgversion, --with-bugurl): New options.
* configure: Regenerate.
* Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
(INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
(main): Include PKGVERSION in version output.
* gprof.h: Remove include of bin-bugs.h.
include:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* bin-bugs.h: Remove.
ld:
2007-02-17 Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com
Joseph Myers <joseph@codesourcery.com>
* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* ld.h: Remove include of bin-bugs.h.
* lexsup.c (help): Don't print empty REPORT_BUGS_TO.
2007-02-17 13:33:57 +00:00
Alan Modra
76dbc4a0d1
daily update
2007-02-16 23:00:09 +00:00
Carlos O'Donell
c0e3f241cd
bfd/
...
2007-02-16 Carlos O'Donell <carlos@codesourcery.com>
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
and EF_MIPS_UCODE.
2007-02-16 17:48:12 +00:00
Alan Modra
ab4add91d7
daily update
2007-02-15 23:00:10 +00:00
Alan Modra
72f6ea61c5
* libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
...
declare.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* libbfd.h: Regenerate.
* libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function.
(_bfd_norelocs_canonicalize_reloc): Likewise.
* binary.c (binary_bfd_reloc_type_lookup): Don't define.
(binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise.
(binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS.
* ihex.c: Similarly.
* mach-o-target.c: Similarly.
* mach-o.c: Similarly.
* mmo.c: Similarly.
* pef.c: Similarly.
* ppcboot.c: Similarly.
* srec.c: Similarly.
* xsym.c: Similarly.
2007-02-15 08:33:53 +00:00
Alan Modra
e28ab0f081
daily update
2007-02-14 23:00:07 +00:00
H.J. Lu
fab4a87f1b
bfd/
...
2007-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3953
* elflink.c (_bfd_elf_add_default_symbol): Check warning symbol
when adding default symbol.
ld/testsuite/
2007-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3953
* ld-elf/beginwarn.c: New file.
* ld-elf/warn.out: Likewise.
* ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
(run_tests): Add "Run warn with versioned libfoo.so".
* lib/ld-lib.exp (default_ld_relocate): Make exec_output global
and remove target first.
(default_ld_link): Likewise.
(default_ld_simple_link): Likewise.
(run_ld_link_exec_tests): Take an optional linker warning and
check it.
(default_ld_link): Check pruned linker output.
2007-02-14 14:15:52 +00:00
Alan Modra
97182d3694
daily update
2007-02-13 23:00:07 +00:00
Alan Modra
e4e0193e2b
bfd/
...
* elf64-ppc.c (create_linkage_sections): Use section ".branch_lt"
for branch lookup table.
ld/
* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
* emultempl/ppc64elf.em (ppc_add_stub_section): Create without
SEC_RELOC flag set.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.
2007-02-13 01:53:03 +00:00
Alan Modra
50a8fa413a
daily update
2007-02-12 23:00:09 +00:00
Alan Modra
84f5d08e6b
bfd/
...
* elf64-ppc.c (create_linkage_sections): Don't create
.rela.rodata.brlt for --emit-relocs.
(ppc_build_one_stub): Create relocs for brlt --emit-relocs here.
(ppc_size_one_stub): Count them. Simplify test of stub type
when counting stub relocs. Set SEC_RELOC too.
(ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC.
(ppc64_elf_finish_dynamic_sections): Output brlt relocs.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update.
2007-02-12 12:02:58 +00:00
Alan Modra
4aac632ee9
* elflink.c (evaluate_complex_relocation_symbols): Ignore relocs
...
with a zero symbol index.
2007-02-12 11:18:11 +00:00
Alan Modra
8da3dbc59a
* elflink.c (bfd_elf_discard_info): Tidy setting of "eh".
2007-02-12 11:14:01 +00:00
Alan Modra
e4df382d47
daily update
2007-02-11 23:00:06 +00:00
Alan Modra
9ae235b34c
daily update
2007-02-10 23:00:06 +00:00
Alan Modra
6051b19507
daily update
2007-02-09 23:00:05 +00:00
Alan Modra
9225443afa
daily update
2007-02-08 23:00:07 +00:00
Alan Modra
63faeedbf1
daily update
2007-02-07 23:00:08 +00:00
Alan Modra
47d1687ac6
daily update
2007-02-06 23:00:07 +00:00
Dave Brolley
e382d1741b
Fix entries for MeP port and complex relocations.
2007-02-06 18:10:34 +00:00
Dave Brolley
b31847af93
2007-02-05 Dave Brolley <brolley@redhat.com>
...
Stan Cox <scox@redhat.com>
PR ld/3972
* elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
2007-02-05 23:15:38 +00:00
Alan Modra
3c0e097380
daily update
2007-02-05 23:00:10 +00:00
H.J. Lu
74e880a7a8
Remove white spaces at the end of line.
2007-02-05 20:53:09 +00:00
Dave Brolley
722b0ff75c
Add correct entrty for the addition of MeP.
2007-02-05 19:55:14 +00:00
Dave Brolley
d93525185c
Support for Toshiba MeP and for complex relocations.
2007-02-05 19:50:12 +00:00
Bob Wilson
f1ab23406b
* elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
...
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
(elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
(elf_xtensa_allocate_got_size): Replace these with...
(elf_xtensa_allocate_dynrelocs): ...this new function.
(elf_xtensa_size_dynamic_sections): Use it.
2007-02-05 17:42:38 +00:00
Bob Wilson
e5f131d1dc
* elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
...
<R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
Set src_mask to zero.
<R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask.
<R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
2007-02-05 17:18:39 +00:00
Alan Modra
687d783f86
daily update
2007-02-04 23:00:07 +00:00
Alan Modra
72cd8fd433
daily update
2007-02-03 23:00:07 +00:00
Bob Wilson
4608f3d995
* elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
...
(elf_xtensa_dynamic_symbol_p): ...this.
2007-02-03 06:34:22 +00:00
Bob Wilson
f0e6fdb270
* elf32-xtensa.c (plt_reloc_count): Move into link hash table.
...
(struct elf_xtensa_link_hash_table): New.
(elf_xtensa_hash_table): New.
(elf_xtensa_link_hash_table_create): New.
(elf_xtensa_check_relocs): Update plt_reloc_count references.
Update arguments to add_extra_plt_sections.
(elf_xtensa_create_dynamic_sections): Record new sections in the hash
table. Update for plt_reloc_count and add_extra_plt_sections.
(add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
argument with link info. Update calls to elf_xtensa_get_plt_section
and elf_xtensa_get_gotplt_section.
(elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
(elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
(elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
(relax_property_section): Get sections from the hash table and update
function calls.
(elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
dynobj argument with link info. Get sections for first plt chunk from
the hash table.
(bfd_elf32_bfd_link_hash_table_create): Define.
2007-02-03 06:25:00 +00:00
Alan Modra
24325aea77
daily update
2007-02-02 23:00:07 +00:00
H.J. Lu
fc523535b3
Fix typos in year.
2007-02-02 22:15:52 +00:00
Jakub Jelinek
c15f73f931
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
...
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms. Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it. If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.
2007-02-02 21:10:50 +00:00
Alan Modra
900235cd31
daily update
2007-02-01 23:00:08 +00:00
Nick Clifton
effdf42a7b
PR ld/3852
...
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the
elf_link_hash_table structure.
2007-02-01 09:03:25 +00:00
Alan Modra
183e98bed2
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
...
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above. Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
2007-02-01 05:35:58 +00:00
Alan Modra
4675b29460
daily update
2007-01-31 23:00:07 +00:00
H.J. Lu
16cecee58c
2076-01-31 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
(elf32_bed): Defined for elf32-us-cris.
* elf64-sh64.c (elf64_bed): Defined for Linux.
(INCLUDED_TARGET_FILE): Removed.
* elfxx-target.h (elfNN_bed): Always define. Don't check
INCLUDED_TARGET_FILE.
2007-01-31 14:28:03 +00:00
DJ Delorie
c9b57b7eb8
* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
...
message for dangerous relocs, special case the common user error.
2007-01-31 06:11:48 +00:00
Alan Modra
33738e41d9
daily update
2007-01-30 23:00:07 +00:00
H.J. Lu
53020534c8
2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.
2007-01-30 15:47:19 +00:00
Alan Modra
758dc83b9a
daily update
2007-01-29 23:00:10 +00:00