Alan Modra
e54fdaa5c9
* opncls.c (bfd_make_readable): Call bfd_section_list_clear.
...
* xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise.
2002-04-26 13:43:10 +00:00
Alan Modra
a50c18456e
* elflink.h (elf_bfd_final_link): Ensure input bfd class is the
...
same as the output before calling elf_link_input_bfd.
2002-04-26 12:59:23 +00:00
Alan Modra
fd55a5dffb
typo fix in last change
2002-04-26 06:01:20 +00:00
Alan Modra
eba9104496
* coffcode.h (coff_compute_section_file_positions): Set
...
section_tail after shuffling section list.
2002-04-26 03:16:43 +00:00
Alan Modra
d5ba2a0169
daily update
2002-04-26 00:00:05 +00:00
Nick Clifton
3c25c5f6e8
The patch contains mostly fixes for the disassembler. It also fixes
...
a crash of the assembler with some malformed source input.
Long segmented addresses are now correctly relocated.
Finally it updates my email address in the MAINTAINERS file.
2002-04-25 10:59:24 +00:00
Alan Modra
96c4b5e0c7
daily update
2002-04-25 00:00:08 +00:00
Chris Demetriou
40d32fc608
2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
...
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or
MIPS-16 ASE flags are set, print something to indicate that.
2002-04-24 18:49:00 +00:00
Alan Modra
9146f2980c
daily update
2002-04-24 00:00:05 +00:00
Alan Modra
067fa4a66b
* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
...
under which a plt call stub is used.
(final_link_relocate): Similarly.
(allocate_plt_static): Clear h-plabel except when plt entry is
exclusively used for a plabel.
(allocate_dynrelocs): Use the above to simplify plt sizing.
(struct elf32_hppa_link_hash_table): Add has_22bit_branch.
(elf32_hppa_link_hash_table_create): Init.
(BL22_RP): Define.
(hppa_build_one_stub): Use BL22_RP if has_22bit_branch.
(elf32_hppa_check_relocs): Set has_22bit_branch.
* elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message.
(final_link_relocate): Likewise.
2002-04-23 05:11:23 +00:00
Alan Modra
bfa37dc8d3
daily update
2002-04-23 00:00:07 +00:00
Jakub Jelinek
af40ce3c79
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build
...
search table if some FDE is DW_EH_PE_aligned encoded either.
(_bfd_elf_write_section_eh_frame): Handle terminating FDE specially.
2002-04-22 21:37:48 +00:00
Jakub Jelinek
09ae86c216
* elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.
...
(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel
encoded personality.
(_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality
for CIE/FDE removal.
2002-04-22 12:06:01 +00:00
Alan Modra
eaa7db9139
daily update
2002-04-22 00:03:58 +00:00
Alan Modra
1efdf8039d
daily update
2002-04-21 00:00:05 +00:00
Tom Rix
deeb2cd7e6
Fix C_FILE auxent on xcoff64.
2002-04-20 06:47:24 +00:00
Alan Modra
aa3d5824a4
* archures.c (bfd_lookup_arch): Move the list order comment..
...
(struct bfd_arch_info): ..to where it belongs.
2002-04-20 03:25:20 +00:00
Alan Modra
99dc00929f
* archures.c (bfd_lookup_arch): Add comment on list order.
...
(bfd_default_set_arch_mach): Use bfd_lookup_arch.
* cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default
is always at head of list.
2002-04-20 02:54:26 +00:00
Alan Modra
40911fc00e
daily update
2002-04-20 00:00:05 +00:00
Alan Modra
05924ed4b9
daily update
2002-04-19 00:00:06 +00:00
Nick Clifton
7831a7758e
Fix problems building arm-wince-pe toolchain.
2002-04-18 09:28:29 +00:00
Alan Modra
26505dde2d
daily update
2002-04-18 00:00:06 +00:00
Joern Rennecke
a44d7f9cfb
Re-enable linking for sh5:
...
ld:
* emulparams/shelf32.sh (MACHINE): Now sh5.
bfd:
* cpu-sh.c (scan_mach): Delete.
(arch_info_struct): Replace scan_mach with bfd_default_scan.
(bfd_sh_arch): Likewise.
2002-04-17 19:31:53 +00:00
Alan Modra
2be0d1d9cd
daily update
2002-04-17 00:00:06 +00:00
Nick Clifton
3d8dbe36e2
Fix test for records crossing a 64K boundary
2002-04-16 10:18:14 +00:00
Alan Modra
4ab8270019
* elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table
...
type rather than just assuming entries are ELF.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise.
* elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry
rather than elf_link_hash_entry.
2002-04-16 04:58:12 +00:00
Richard Henderson
036fe0fe8e
* elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow
...
n32 binaries.
2002-04-16 00:57:00 +00:00
Alan Modra
b7ae17ce92
daily update
2002-04-16 00:00:05 +00:00
Nick Clifton
c4f3d13082
Write contents if writeable.
2002-04-15 14:32:28 +00:00
Alan Modra
272423870a
* elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type.
2002-04-15 08:47:03 +00:00
Alan Modra
57bf4c4605
daily update
2002-04-15 00:00:06 +00:00
Alan Modra
a29216ec3c
daily update
2002-04-14 00:00:05 +00:00
Alan Modra
7e3cc7d4d0
daily update
2002-04-13 00:00:05 +00:00
Michael Snyder
0c04d16993
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
* bfd-in.h (bfd_get_section_lma): New access macro.
Minor white-space fix-up.
2002-04-12 23:02:12 +00:00
Alan Modra
89d4966ff8
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
...
header pad.
2002-04-12 03:30:56 +00:00
Alan Modra
728f70c465
daily update
2002-04-12 00:00:05 +00:00
Alan Modra
ab22415894
daily update
2002-04-11 00:00:05 +00:00
DJ Delorie
8d0da3c2f5
* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.
2002-04-10 16:45:31 +00:00
Alan Modra
0e994e6610
daily update
2002-04-10 00:00:06 +00:00
Nick Clifton
05793179d7
Compute checksum for PE images.
2002-04-09 16:43:26 +00:00
Alan Modra
3a36d7ae63
daily update
2002-04-09 00:00:04 +00:00
Alan Modra
46fe4e66d4
* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
...
(elf32_hppa_final_link): Split out sorting logic to..
* elf-hppa.h (elf_hppa_sort_unwind): ..here.
(elf_hppa_final_link): Call elf_hppa_sort_unwind.
2002-04-08 11:01:43 +00:00
Alan Modra
04c61bf388
daily update
2002-04-08 00:00:06 +00:00
Andrew Cagney
3b5b409c5c
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
...
pattern.
* configure: Re-generate.
2002-04-07 21:49:09 +00:00
Andrew Cagney
ac7b6ceb87
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
...
is greater or equal to 4.3.3.
* configure: Regenerate.
Fix PR gdb/344.
2002-04-07 21:42:32 +00:00
Alan Modra
239ea0b4e3
daily update
2002-04-07 00:00:05 +00:00
Alan Modra
6adce8c596
daily update
2002-04-06 00:00:08 +00:00
Hans-Peter Nilsson
44aa49bb65
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
...
R_CRIS_32_PCREL>: Fix typo in name.
(cris_elf_check_relocs): Always create .rela.got here when
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen.
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here;
assume it's created.
2002-04-05 23:11:32 +00:00
Alan Modra
2b9dd17b2f
daily update
2002-04-05 00:00:04 +00:00
Daniel Jacobowitz
e2d34d7de2
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
...
* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define.
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally
define.
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise.
* bfd.c (bfd_link_hash_table_free): Define.
* binary.c (binary_bfd_link_hash_table_free): Define.
* bout.c (b_out_bfd_link_hash_table_free): Define.
* coff-rs6000.c (rs6000coff_vec): Include
_bfd_generic_link_hash_table_free.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define.
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally
define.
* i386msdos.c (msdos_bfd_link_hash_table_free): Define.
* i386os9k.c (os9k_bfd_link_hash_table_free): Define.
* ieee.c (ieee_bfd_link_hash_table_free): Define.
* ihex.c (ihex_bfd_link_hash_table_free): Define.
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define.
(_bfd_generic_link_hash_table_free): Add prototype.
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype.
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define.
* linker.c (_bfd_generic_link_hash_table_free): New function.
* mmo.c (mmo_bfd_link_hash_table_free): Define.
* nlm-target.h (nlm_bfd_link_hash_table_free): Define.
* oasys.c (oasys_bfd_link_hash_table_free): Define.
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define.
* som.c (som_bfd_link_hash_table_free): Define.
* srec.c (srec_bfd_link_hash_table_free): Define.
* tekhex.c (tekhex_bfd_link_hash_table_free): Define.
* versados.c (versados_bfd_link_hash_table_free): Define.
* vms.c (vms_bfd_link_hash_table_free): New function.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function.
* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc
instead of bfd_alloc.
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise.
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise.
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
* elf.c (_bfd_elf_link_hash_table_create): Likewise.
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise.
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise.
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise.
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* linker.c (_bfd_generic_link_hash_table_create): Likewise.
* m68klinux.c (linux_link_hash_table_create): Likewise.
* sparclinux.c (linux_link_hash_table_create): Likewise.
* sunos.c (sunos_link_hash_table_create): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.
* targets.c: Add _bfd_link_hash_table_free to xvec.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
2002-04-04 19:53:38 +00:00