aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-09-252003-09-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+29
* 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-24* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,DJ Delorie2-57/+304
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-23 * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobberedBob Wilson2-2/+7
dynamic relocation offsets.
2003-09-23 * simple.c (bfd_simple_get_relocated_section_contents): Free theAlan Modra2-1/+6
hash table using _bfd_generic_link_hash_table_free.
2003-09-23 * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". ChangeAlan Modra17-250/+202
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-21 * elf64-alpha.c (elf64_alpha_create_got_section): InitializeDaniel Jacobowitz2-2/+12
->got if the section already exists.
2003-09-20daily updateAlan Modra1-1/+1
2003-09-19 * dwarf2.c (decode_line_info): Cope with an initially emptyNathan Sidwell2-1/+6
filename table.
2003-09-192003-09-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-351/+501
* 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 * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)Alan Modra2-6/+11
since some ABIs round up the size of the struct.
2003-09-19daily updateAlan Modra1-1/+1
2003-09-182003-09-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+11
* elflink.c (_bfd_elf_merge_symbol): Allow type change if the old symbol is undefined and the new symbol is defined.
2003-09-18 * simple.c (bfd_simple_get_relocated_section_contents): UseAndreas Schwab2-1/+7
_bfd_generic_link_hash_table_create instead of bfd_link_hash_table_create.
2003-09-18daily updateAlan Modra1-1/+1
2003-09-17daily updateAlan Modra1-1/+1
2003-09-16daily updateAlan Modra1-1/+1
2003-09-15daily updateAlan Modra1-1/+1
2003-09-14daily updateAlan Modra1-1/+1
2003-09-13daily updateAlan Modra1-1/+1
2003-09-12daily updateAlan Modra1-1/+1
2003-09-11daily updateAlan Modra1-1/+1
2003-09-102003-09-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
2003-09-10 * elf32-hppa.c (struct elf32_hppa_link_hash_entry,Dave Anglin2-144/+112
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-10daily updateAlan Modra1-1/+1
2003-09-09daily updateAlan Modra1-1/+1
2003-09-08 * archures.c: Add new machine names for hppa.Joel Brobecker4-6/+20
* bfd-in2.h: Regenerate. * cpu-hppa.c: Use the new machine names.
2003-09-08daily updateAlan Modra1-1/+1
2003-09-07daily updateAlan Modra1-1/+1
2003-09-06 * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): RemoveStephane Carrez3-63/+22
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 * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.Stephane Carrez3-2/+31
(elf_backend_special_sections): Define.a PR savannah/4950: * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors section is read-only.
2003-09-06daily updateAlan Modra1-1/+1
2003-09-05daily updateAlan Modra1-1/+1
2003-09-04Add binutils support for v850e1 processorNick Clifton6-3/+42
2003-09-04daily updateAlan Modra1-1/+1
2003-09-03Do not skip section symbols that are used in relocs.Nick Clifton2-5/+9
2003-09-03Add *kfreebsd-gnu configuration supportNick Clifton4-82/+92
2003-09-03daily updateAlan Modra1-1/+1
2003-09-02daily updateAlan Modra1-1/+1
2003-09-01daily updateAlan Modra1-1/+1
2003-08-31fixed comment for i860_howto_pc26_relocChristian Groessler1-2/+1
2003-08-31 * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation hereChristian Groessler2-2/+47
instead of returning bfd_reloc_continue.
2003-08-31 * merge.c: Update to ISO C90.Andreas Jaeger2-82/+33
2003-08-31daily updateAlan Modra1-1/+1
2003-08-30daily updateAlan Modra1-1/+1
2003-08-29daily updateAlan Modra1-1/+1
2003-08-28daily updateAlan Modra1-1/+1
2003-08-27 * configure.in: Check for strtoull.Ian Lance Taylor5-83/+151
* bfd.c (bfd_scan_vma): Use strtoull when available. * configure, config.in: Regenerate.
2003-08-27 * configure.in: Define and substitute BFD_HOST_LONG_LONG.Ian Lance Taylor7-119/+176
* bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than __GNUC__ when deciding whether to use long long for BFD_HOST_64_BIT. * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.
2003-08-272003-08-27 Christian Groessler <chris@groessler.org>Christian Groessler2-6/+206
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, i860_howto_splitn_reloc, i860_howto_highadj_reloc): New functions. (elf32_i860_howto_table): Insert the new functions as 'special_function's in the proper reloc type entries.
2003-08-27 * elf32-frv.c (elf32_frv_relocate_section): UseRichard Sandiford2-3/+6
_bfd_elf_rela_local_sym.