Alan Modra
e9c8389dc1
daily update
2003-12-14 23:00:05 +00:00
Alan Modra
0b46f0e55a
daily update
2003-12-13 23:00:05 +00:00
Alan Modra
5c472bf80f
daily update
2003-12-12 23:00:05 +00:00
Nick Clifton
d0a5adde99
Updated Romanian translation
2003-12-12 20:42:51 +00:00
Alan Modra
ac7bbf74d3
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
...
NULL dyn_h.
2003-12-12 14:11:58 +00:00
Alan Modra
4110ab5b98
daily update
2003-12-11 23:00:06 +00:00
Nick Clifton
03394ac999
(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
2003-12-11 18:10:19 +00:00
Alan Modra
bea534c88a
daily update
2003-12-10 23:00:05 +00:00
Alan Modra
f62025164d
daily update
2003-12-09 23:00:06 +00:00
Alan Modra
ff0c0cbc9e
daily update
2003-12-08 23:00:06 +00:00
Richard Sandiford
9719ad4149
* elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
...
Remove casts that were only needed for K&R compatibility.
2003-12-08 20:04:34 +00:00
Alan Modra
754021d045
* elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
...
"elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
* elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
and pass to output_symbol_hook.
(elf_bfd_final_link): Adjust elf_link_output_sym calls.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
* elf32-v850.c (v850_elf_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.
* elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
Validate dynh->h against h.
* elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
(link_hash_newfunc): Init it.
(adjust_opd_syms): New function.
(ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
Set opd.adjust for all .opd relocs. Call adjust_opd_syms.
(ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
(ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
(ppc64_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.
2003-12-08 13:05:11 +00:00
Alan Modra
424d6be11c
daily update
2003-12-07 23:00:05 +00:00
Richard Sandiford
11a2be4ddc
* elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
...
Remove casts that were only needed for K&R compatibility.
2003-12-07 21:24:28 +00:00
Alan Modra
01617db8b6
daily update
2003-12-06 23:00:06 +00:00
Alan Modra
15466f2da7
daily update
2003-12-05 23:00:09 +00:00
Nick Clifton
d3793eaa60
Fixes for use of ARM_26D reloc in arm-wince toolchain.
2003-12-05 11:30:18 +00:00
Alan Modra
ff60b193ca
daily update
2003-12-04 23:00:07 +00:00
H.J. Lu
a070c2b16c
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
2003-12-04 22:48:20 +00:00
H.J. Lu
d9c458fcc1
bfd/
...
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.
include/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.
ld/
2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.
* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.
2003-12-04 22:43:36 +00:00
Nick Clifton
d21356d8ba
Change ARM26* to ARM_26* in comments to match definitions.
...
Replace hard-coded constants with appropriate definitions (ARM_26*).
2003-12-04 17:46:24 +00:00
Alan Modra
1a101a4220
* coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
...
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
(mn10300_elf_relax_section): Likewise.
* nlm32-alpha.c (ONES): Define.
(nlm32_alpha_howto_table): Use it to avoid warnings.
2003-12-04 12:08:42 +00:00
Alan Modra
66becf3266
* elf32-i386.c (elf_i386_object_p): Delete.
...
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
2003-12-04 03:03:27 +00:00
Alan Modra
e9485be588
daily update
2003-12-03 23:00:05 +00:00
Nick Clifton
8884595866
Add support for the M32R2 processor.
2003-12-03 17:38:48 +00:00
Nick Clifton
f8fc344381
Add vax-linux-gnu target
2003-12-03 15:07:17 +00:00
Alan Modra
2c0e1b8dad
daily update
2003-12-02 23:00:04 +00:00
Alan Modra
6ad841a183
Rename bfd_link_hash_entry field "next" -> "und_next".
2003-12-02 23:00:00 +00:00
Nick Clifton
f9d1e83fed
Add Romanian translation for bfd.
2003-12-02 10:49:10 +00:00
Alan Modra
9fa06c65f0
make "dep-am"
2003-12-02 08:14:35 +00:00
Alan Modra
13570a3db5
daily update
2003-12-01 23:00:06 +00:00
Nick Clifton
771e446b94
Set page_size to 1 instead of 0 in the case file alignment value is zero.
2003-12-01 18:46:21 +00:00
Kazu Hirata
1c3bed7b30
* coff-rs6000.c: Remove ARGSUSED and VARARGS.
...
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* elf32-vax.c: Likewise.
* hash.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* ihex.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* pdp11.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* section.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
2003-12-01 06:33:01 +00:00
Alan Modra
0eddce27a9
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
...
* elf.c (_bfd_elf_merge_sections): Adjust to suit.
(_bfd_elf_link_just_syms): Likewise.
(bfd_elf_get_needed_list): Likewise.
(bfd_elf_get_runpath_list): Likewise.
(_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
* elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
creator flavour.
(elf32_hppa_set_gp): Look up output sections rather than using htab.
* elf32-i960.c: Comment fix. Formatting.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
rather than testing creator flavour.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
is_elf_hash_table change. Remove redundant test.
(bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
testing creator flavour.
(elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
(_bfd_elf_fix_symbol_flags): Likewise.
(_bfd_elf_adjust_dynamic_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
checks. Use is_elf_hash_table rather than testing creator flavour.
Use hash_table throughout in place of info->hash.
(elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
(NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
check.
(elf_bfd_final_link): Adjust for is_elf_hash_table change.
(elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
testing creator flavour.
(elf_gc_sections): Add is_elf_hash_table check.
(elf_gc_common_finalize_got_offsets): Likewise.
(elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
redundant check.
* elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
rather than testing creator flavour.
2003-12-01 06:28:24 +00:00
Alan Modra
3e9b847674
daily update
2003-11-30 23:00:05 +00:00
Kazu Hirata
7dee875eb1
* ChangeLog: Fix typos.
...
* ecoff.c: Fix comment typos.
* ecofflink.c: Likewise.
* format.c: Likewise.
* hp300hpux.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.h: Likewise.
* mipsbsd.c: Likewise.
* oasys.c: Likewise.
* opncls.c: Likewise.
* peXXigen.c: Likewise.
* reloc.c: Likewise.
* reloc16.c: Likewise.
* section.c: Likewise.
* simple.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* syms.c: Likewise.
* targets.c: Likewise.
* tekhex.c: Likewise.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
* xcofflink.c: Likewise.
* xsym.h: Likewise.
* bfd-in2.h: Regenerate.
2003-11-30 18:40:41 +00:00
Alan Modra
50daa0894c
daily update
2003-11-28 23:00:04 +00:00
Christian Groessler
552585edcb
* cpu-z8k.c: Convert to ISO C90.
...
* coff-z8k.c: Likewise.
2003-11-28 20:07:44 +00:00
Alan Modra
fdec90e86d
daily update
2003-11-27 23:00:12 +00:00
Kazu Hirata
4cc11e7607
* elf32-arm.h: Fix comment typos.
...
* elf32-d30v.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfn32-mips.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
2003-11-27 18:49:39 +00:00
Alexandre Oliva
c84fca4d18
* elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
...
Add link info argument.
* elf32-i370.c (elf_backend_modify_segment_map): Likewise.
* elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
* elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
* elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
* elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
* elf.c (assign_file_positions_except_relocs,
assign_file_positions_for_segments): Likewise. Adjust calls.
2003-11-27 16:43:25 +00:00
Mark Kettenis
7720ba9f5c
* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
...
of the note.
2003-11-27 12:28:35 +00:00
Alan Modra
dacfaafef8
daily update
2003-11-26 23:00:04 +00:00
Richard Sandiford
0626d45128
* elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
...
(mips_elf_set_no_stub): New function.
(mips_elf_multi_got): Call it.
(_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
use mips_elf_create_dynamic_relocation to deal with any compatibility
issues. Store the adjusted addend in the GOT slot.
2003-11-26 20:58:45 +00:00
Alan Modra
a221dd44da
daily update
2003-11-25 23:00:06 +00:00
Nick Clifton
955a76eb5f
Skip N_EXCL stabs when procesing N_BINCL stabs.
2003-11-25 11:59:57 +00:00
Alan Modra
ee7de3e631
* elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
...
ppc_stub_plt_call to symbols defined in shared libs.
2003-11-25 02:14:25 +00:00
Alan Modra
f6d410d92f
daily update
2003-11-24 23:00:05 +00:00
Kazu Hirata
5c4491d385
* aix5ppc-core.c: Fix comment typos.
...
* aout-arm.c: Likewise.
* aout-ns32k.c: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
* bfdio.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* coff-i860.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-z8k.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* cofflink.c: Likewise.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-ns32k.c: Likewise.
* dwarf2.c: Likewise.
* bfd-in2.h: Regenerate.
2003-11-24 18:06:40 +00:00
Alan Modra
bf640c9003
daily update
2003-11-23 23:00:05 +00:00