Alan Modra
001f9831f4
daily update
2003-10-17 00:00:06 +00:00
H.J. Lu
3e0e1ef196
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.
2003-10-16 21:05:32 +00:00
H.J. Lu
9da84788da
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
use the last CIE from a different section.
(_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
size of the output section.
2003-10-16 21:04:04 +00:00
Roland McGrath
ac39399582
.
2003-10-16 18:55:52 +00:00
Roland McGrath
57e24cbffc
2003-10-07 Roland McGrath <roland@redhat.com>
...
* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
new section from p_align header field.
2003-10-16 18:55:48 +00:00
H.J. Lu
7aaa0689cc
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-xtensa.c (xtensa_read_table_entries): The external size
of entry is 8 bytes.
2003-10-16 15:25:54 +00:00
Andrew Cagney
6cee3f79e4
Index: doc/ChangeLog
...
2003-10-15 Andrew Cagney <cagney@redhat.com>
* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.
2003-10-15 Andrew Cagney <cagney@redhat.com>
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.
2003-10-16 04:11:10 +00:00
Alan Modra
e446598032
daily update
2003-10-16 00:00:05 +00:00
Kazu Hirata
6288878d4b
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.
2003-10-15 19:08:10 +00:00
Kaz Kojima
46e993b970
[bfd]
...
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.
* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.
[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.
2003-10-15 06:23:55 +00:00
Alan Modra
210cf1716c
daily update
2003-10-15 00:00:05 +00:00
Kaz Kojima
9bf7216d00
* elf-bfd.h (struct elf_backend_data): New function pointer member
...
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
* elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
(elfNN_bed): Add that to the initializer.
2003-10-14 22:43:10 +00:00
Bob Wilson
b614a7028d
bfd ChangeLog:
...
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section. Remove unused bfd parameter. Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name. Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.
gas ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name. Formatting.
include ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf/xtensa.h: Formatting. Fix comments about property section
names for linkonce sections.
2003-10-14 22:28:28 +00:00
Alan Modra
8723da3b74
daily update
2003-10-14 00:00:28 +00:00
Richard Sandiford
98a8deaf8a
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
...
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
(_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't
handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations
that were needed.
(_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
(_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
2003-10-13 19:51:10 +00:00
H.J. Lu
3f7deb8a34
bfd/
...
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
(bfd_elf64_ia64_after_parse): Likewise.
* bfd-in2.h: Regenerated.
* elfxx-ia64.c (oor_ip): New.
(oor_branch_size): Likewise.
(bfd_elfNN_ia64_after_parse): Likewise.
(elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
equals sizeof (oor_ip).
ld/
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (eelf64_ia64.c): Also depend on
$(srcdir)/emultempl/ia64elf.em.
* Makefile.in: Regenerated.
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
* emultempl/ia64elf.em: New.
2003-10-13 15:55:51 +00:00
Kaz Kojima
0c72ffe04b
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
...
renumbering of some relocation numbers.
2003-10-13 05:11:30 +00:00
Alan Modra
a852636504
daily update
2003-10-13 00:00:26 +00:00
Alan Modra
ee9c017cad
daily update
2003-10-12 00:00:25 +00:00
Alan Modra
27c5d6c91a
* bfd.texinfo: Remove spurious backslash.
2003-10-11 13:10:24 +00:00
Alan Modra
8d6ad26e17
* coff-sh.c: Move definition of MAP and guard more code with
...
COFF_IMAGE_WITH_PE.
2003-10-11 13:08:44 +00:00
Alan Modra
16b79bec1d
Oops. missed a line.
2003-10-11 12:33:50 +00:00
Alan Modra
a7f49d812f
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
...
* bfd-in2.h: Regenerate.
2003-10-11 12:32:18 +00:00
Alan Modra
cb227dc0c2
daily update
2003-10-11 00:00:19 +00:00
H.J. Lu
ede6aaf391
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.
2003-10-10 15:29:50 +00:00
Alan Modra
a7948360c6
daily update
2003-10-10 00:00:19 +00:00
H.J. Lu
a3aa444856
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
...
* cofflink.c: Include "safe-ctype.h".
(coff_link_add_symbols): Use ISDIGIT instead of isdigit.
2003-10-09 18:15:59 +00:00
Alan Modra
ff8755a0e5
daily update
2003-10-09 00:00:19 +00:00
Dave Brolley
9c8ee6396f
2003-10-08 Dave Brolley <brolley@redhat.com>
...
On behalf of Michael Snyder <msnyder@redhat.com>
* archures.c: Add FRV fr550 machine.
* cpu-frv.c: Ditto.
* elf32-frv.c: Ditto.
* bfd-in2.h: Regenerate.
2003-10-08 17:57:59 +00:00
Thiemo Seufer
6a69177919
* elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
...
for non-SGI N64 ABI. Improve code consitency.
2003-10-08 17:36:19 +00:00
Nick Clifton
afa105f875
Include bfd_elf64_sparc_vec if BFD64 is enabled.
2003-10-08 13:50:23 +00:00
Alan Modra
737646b59a
daily update
2003-10-08 00:00:17 +00:00
Alexandre Oliva
b15b52efa3
* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
...
rightshift to 2.
2003-10-07 19:17:23 +00:00
Nathan Sidwell
29ca8dc5bb
bfd/Changelog:
...
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
parameter.
* cofflink.c (coff_link_add_symbols): Deal with split stab
sections.
* elflink.h (elf_link_add_object_symbols): Deal with split stab
sections.
* stabs.c (_bfd_link_section_stabs): Add string offset parameter.
* libbfd.h: Regenerated.
ld/ChangeLog:
* ldwrite.c (unsplittable_name): New.
(clone_section): Strip existing numeric suffix. Only truncate names
for coff targets.
(split_sections): Use unsplittable_name.
binutils/ChangeLog:
* objdump.c (read_section_stabs): Just read one section, return
pointer to it. Add size parameter.
(print_section_stabs): Add string offset parameter. Adjust.
(struct stab_section_names): Add string offset member.
(find_stabs_sections): Correct check for split section suffix,
adjust read_section_stabs and print_section_stabs calls.
(dump_stabs_section): Clear string_offset, free string table.
2003-10-07 08:53:42 +00:00
Nathan Sidwell
cd339148de
* coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
...
overflow, set reloc start position to after the count
reloc. Subtract one from num relocs. Give error on 0xffff relocs
and no overflow.
* cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
overflow.
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
0xffff.
2003-10-07 08:49:11 +00:00
Alan Modra
af983fa3e0
daily update
2003-10-07 00:00:18 +00:00
H.J. Lu
10cf14ea3d
2003-10-06 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
last CIE/FDE if needed.
2003-10-06 18:10:48 +00:00
Nick Clifton
85cf2a8a15
Change target of hppa-netbsd port
2003-10-06 11:01:36 +00:00
Nick Clifton
4615568e51
Add i386-knetbsd-gnu triplet.
2003-10-06 09:12:39 +00:00
Alan Modra
53c4dcd4e7
daily update
2003-10-06 00:00:15 +00:00
Alan Modra
6e9d894a7f
daily update
2003-10-05 00:00:15 +00:00
Christian Groessler
8b7cf393a5
2003-10-04 Christian Groessler <chris@groessler.org>
...
* coff-z8k.c (extra_case): Fix displacement length check for R_JR
and R_CALLR.
2003-10-04 21:09:29 +00:00
Stephane Carrez
0a6a3ebe97
* elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
...
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68hc1x.h: Likewise.
2003-10-04 21:02:53 +00:00
Stephane Carrez
17e58af002
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
...
of flags between HC12 and HCS12.
2003-10-04 20:07:24 +00:00
Nick Clifton
27c630ba7a
Set SEC_EXCLUDE flag on sections which become empty after merging.
2003-10-04 10:19:26 +00:00
Alan Modra
8e3e591dd4
daily update
2003-10-04 00:00:14 +00:00
Alan Modra
d350957a20
daily update
2003-10-03 00:00:13 +00:00
Alan Modra
d810ef4636
daily update
2003-10-02 00:00:12 +00:00
Alan Modra
6464e7db62
daily update
2003-10-01 00:00:12 +00:00
Jakub Jelinek
1fc0d17365
* elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
...
R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.
2003-09-30 21:18:46 +00:00
Chris Demetriou
5f74bc130d
[ bfd/ChangeLog ]
...
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* archures.c (bfd_mach_mipsisa64r2): New define.
* bfd-in2.h: Regenerate.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
* cpu-mips.c (I_mipsisa64r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa64r2.
* elfxx-mips.c (_bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
(mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
(mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
[ gas/Changelog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
* configure: Regenerate.
* config/tc-mips.c (imm2_expr): New variable.
(md_assemble, mips16_ip): Initialize imm2_expr.
(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
(macro): Handle M_DEXT and M_DINS.
(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
(mips_ip): Likewise.
(OPTION_MIPS64R2): New define.
(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
(md_parse_option): Handle OPTION_MIPS64R2.
(s_mipsset): Handle setting "mips64r2" ISA.
(mips_cpu_info_table): Add mips64r2.
(md_show_usage): Document -mips64r2 option.
* doc/as.texinfo: Docuemnt -mips64r2 option.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0-names-mips64r2.d: New file.
* gas/mips/cp0sel-names-mips64r2.d: New file.
* gas/mips/elf_arch_mips64r2.d: New file.
* gas/mips/hwr-names-mips64r2.d: New file.
* gas/mips/mips32r2-ill-fp64.l: New file.
* gas/mips/mips32r2-ill-fp64.s: New file.
* gas/mips/mips64r2-ill.l: New file.
* gas/mips/mips64r2-ill.s: New file.
* gas/mips/mips64r2.d: New file.
* gas/mips/mips64r2.s: New file.
* gas/mips/mips.exp: Define "mips64r2" arch, and run new tests.
[ include/elf/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h (E_MIPS_ARCH_64R2): New define.
[ include/opcode/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h: Document +E, +F, +G, +H, and +I operand types.
Update documentation of I, +B and +C operand types.
(INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines.
(M_DEXT, M_DINS): New enum values.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Ignore "-mips64r2".
[ ld/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips-elf-flags.exp: Add tests for combinations
with MIPS64r2.
[ opcodes/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_arch_choices): Add entry for "mips64r2"
(print_insn_args): Add handing for +E, +F, +G, and +H.
* mips-opc.c (I65): New define for MIPS64r2.
(mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins",
"dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh",
and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to
be supported on MIPS64r2.
2003-09-30 16:17:15 +00:00
Alan Modra
f18b1227dd
daily update
2003-09-30 00:00:11 +00:00
H.J. Lu
b59dd4a540
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New.
Handle SHN_IA_64_ANSI_COMMON.
(elf_backend_section_from_bfd_section): Defined.
2003-09-29 23:25:08 +00:00
Alan Modra
1c0915057e
daily update
2003-09-29 00:00:10 +00:00
Alan Modra
029304eb48
daily update
2003-09-28 00:00:10 +00:00
Alan Modra
30a7295910
daily update
2003-09-27 00:00:09 +00:00
H.J. Lu
243ef1e0a5
2003-09-26 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.c (elf_link_read_relocs_from_section): Add an argument
of a pointer to section. Check bad symbol index.
(_bfd_elf_link_read_relocs): Modify calls to
elf_link_read_relocs_from_section.
2003-09-25 07:10:42 +00:00
DJ Delorie
d38eb334b6
* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
...
R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces.
(R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL): New.
* elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8,
R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces,
R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL added.
(sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8.
(sh_elf_relocate_section): Support new relocs.
2003-09-24 02:27:57 +00:00
Bob Wilson
f0578e28d6
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
...
dynamic relocation offsets.
2003-09-23 20:23:55 +00:00
Alan Modra
010b84c1d3
* simple.c (bfd_simple_get_relocated_section_contents): Free the
...
hash table using _bfd_generic_link_hash_table_free.
2003-09-23 03:59:25 +00:00
Alan Modra
7dcb9820ee
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
...
type of prefix_length and suffix_length to int. Rename "attributes"
to "attr". Comment.
(_bfd_elf_get_sec_type_attr): Update prototype.
* elf.c (get_special_section): Rewrite.
(_bfd_elf_get_sec_type_attr): Return struct rather than passing in
attr and type pointers.
(_bfd_elf_new_section_hook): Adjust for above.
(special_sections): Merge suffix with prefix. Set
prefix_length for all entries. Set suffix_length appropriately.
* elf32-m32r.c (m32r_elf_special_sections): Likewise.
* elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise.
* elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise.
* elf32-mcore.c (mcore_elf_special_sections): Likewise.
* elf32-sh64.c (sh64_elf_special_sections): Likewise.
* elf32-v850.c (v850_elf_special_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_special_sections): Likewise.
* elf64-alpha.c (elf64_alpha_special_sections): Likewise.
* elf64-hppa.c (elf64_hppa_special_sections): Likewise.
* elf64-ppc.c (ppc64_elf_special_sections): Likewise.
* elf64-sh64.c (sh64_elf64_special_sections): Likewise.
* elfxx-ia64.c (elfNN_ia64_special_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise.
* elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags.
2003-09-23 00:40:49 +00:00
Daniel Jacobowitz
61bcf37398
* elf64-alpha.c (elf64_alpha_create_got_section): Initialize
...
->got if the section already exists.
2003-09-21 19:24:52 +00:00
Alan Modra
99f24a0cc6
daily update
2003-09-20 00:00:06 +00:00
Nathan Sidwell
8bfd78b3d0
* dwarf2.c (decode_line_info): Cope with an initially empty
...
filename table.
2003-09-19 09:01:53 +00:00
H.J. Lu
6726e1ea5d
2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
...
* acinclude.m4: Include ../config/accross.m4.
* aclocal.m4: Regenerated.
* configure.host (HOST_64BIT_TYPE): Remove if it is set to long
or long long.
(HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long.
(host64): Remove if HOST_64BIT_TYPE is set to long.
* configure.in (HOST_64BIT_TYPE): Set according to the size of
long and long long.
(HOST_U_64BIT_TYPE): Likewise.
(host64): Likewise.
* configure: Regenerated.
2003-09-19 03:55:40 +00:00
Alan Modra
5de3bf9096
* elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
...
since some ABIs round up the size of the struct.
2003-09-19 02:08:35 +00:00
Alan Modra
fdeb2c9fb7
daily update
2003-09-19 00:00:06 +00:00
H.J. Lu
9e4d8df340
2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.c (_bfd_elf_merge_symbol): Allow type change if
the old symbol is undefined and the new symbol is defined.
2003-09-18 19:01:46 +00:00
Andreas Schwab
228ce06419
* simple.c (bfd_simple_get_relocated_section_contents): Use
...
_bfd_generic_link_hash_table_create instead of
bfd_link_hash_table_create.
2003-09-18 09:10:41 +00:00
Alan Modra
5fb63ea8e6
daily update
2003-09-18 00:00:05 +00:00
Alan Modra
35a5f9c838
daily update
2003-09-17 00:00:05 +00:00
Alan Modra
b3b9bb97ad
daily update
2003-09-16 00:00:06 +00:00
Alan Modra
5c584c0bd2
daily update
2003-09-15 00:00:06 +00:00
Alan Modra
54612ecd11
daily update
2003-09-14 00:00:06 +00:00
Alan Modra
eddbf8500e
daily update
2003-09-13 00:00:06 +00:00
Alan Modra
3573e347d9
daily update
2003-09-12 00:00:05 +00:00
Alan Modra
60022f723a
daily update
2003-09-11 00:00:15 +00:00
H.J. Lu
fdbdabdda5
2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
...
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
2003-09-10 20:48:32 +00:00
Dave Anglin
a252afa4cd
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
...
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions. Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions. Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link. Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.
2003-09-10 18:46:08 +00:00
Alan Modra
cd39598c88
daily update
2003-09-10 00:00:35 +00:00
Alan Modra
1b23b01f8e
daily update
2003-09-09 00:00:06 +00:00
Joel Brobecker
42acdc7c30
* archures.c: Add new machine names for hppa.
...
* bfd-in2.h: Regenerate.
* cpu-hppa.c: Use the new machine names.
2003-09-08 16:46:02 +00:00
Alan Modra
6e1ccdbeda
daily update
2003-09-08 00:00:06 +00:00
Alan Modra
ff8aebd45c
daily update
2003-09-07 00:00:06 +00:00
Stephane Carrez
2a0e29b406
* elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
...
all_local_syms member.
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms
to get the local symbols.
2003-09-06 21:09:40 +00:00
Stephane Carrez
3f533aa9ec
* elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
...
(elf_backend_special_sections): Define.a
PR savannah/4950:
* elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
section is read-only.
2003-09-06 20:55:50 +00:00
Alan Modra
cc1b3dc7b2
daily update
2003-09-06 00:00:13 +00:00
Alan Modra
4db070aa57
daily update
2003-09-05 00:00:05 +00:00
Nick Clifton
8ad30312ff
Add binutils support for v850e1 processor
2003-09-04 11:04:38 +00:00
Alan Modra
331a33edeb
daily update
2003-09-04 00:00:06 +00:00
Nick Clifton
3922a8c154
Do not skip section symbols that are used in relocs.
2003-09-03 16:06:12 +00:00
Nick Clifton
13dfd2d039
Add *kfreebsd-gnu configuration support
2003-09-03 09:32:21 +00:00
Alan Modra
902a241b02
daily update
2003-09-03 00:00:06 +00:00
Alan Modra
8308626d33
daily update
2003-09-02 00:00:05 +00:00
Alan Modra
ca972297ff
daily update
2003-09-01 00:00:06 +00:00
Christian Groessler
32d920dd70
fixed comment for i860_howto_pc26_reloc
2003-08-31 18:25:09 +00:00
Christian Groessler
1c0881ddd9
* elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
...
instead of returning bfd_reloc_continue.
2003-08-31 18:22:06 +00:00
Andreas Jaeger
ac0e732ef3
* merge.c: Update to ISO C90.
2003-08-31 10:07:47 +00:00
Alan Modra
7274f0d79a
daily update
2003-08-31 00:00:05 +00:00
Alan Modra
eac8c92310
daily update
2003-08-30 00:00:07 +00:00