aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-07-27 * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocsAlan Modra2-37/+46
on function descriptors. (ELIMINATE_COPY_RELOCS): Expand comment. (ppc64_elf_special_sections): Move. Don't include non-ppc64 sections. Do include ".toc1".
2003-07-27daily updateAlan Modra1-1/+1
2003-07-26bfd/H.J. Lu2-11/+21
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf.c (_bfd_elf_new_section_hook): Set the default section type to SHT_NULL. (elf_fake_sections): Set the section type based on asect->flags if it is SHT_NULL. Don't abort on processor specific section types. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_change_section): Update elf_section_type and elf_section_flags only when they are specified.
2003-07-26daily updateAlan Modra1-1/+1
2003-07-252003-07-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+8
* bfd-in2.h: Regenerated.
2003-07-25bfd/H.J. Lu19-63/+527
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_special_section): New. (elf_backend_data): Add special_sections, a pointer to bfd_elf_special_section. (elf_section_type). New. (elf_section_flags): New. (_bfd_elf_get_sec_type_attr): New. * elf.c (_bfd_elf_make_section_from_shdr): Always use the real section type/flags. (special_sections): New. (get_special_section): New. (_bfd_elf_get_sec_type_attr): New. (_bfd_elf_new_section_hook): Check special_section to set elf_section_type and elf_section_flags. (elf_fake_sections): Don't use section name to set ELF section data. * elf32-m32r.c (m32r_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. (elf_backend_special_sections): Defined. * elf32-mcore.c (mcore_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-ppc.c (ppc_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-sh64.c (sh64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-v850.c (v850_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-xtensa.c (elf_xtensa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-alpha.c (elf64_alpha_special_sections): New. (elf_backend_special_sections): Defined. * elf64-hppa.c (elf64_hppa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-ppc.c (ppc64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf64-sh64.c (sh64_elf64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-ia64.c (elfNN_ia64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-mips.c (_bfd_mips_elf_special_sections): New. * elfxx-mips.h (_bfd_mips_elf_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-target.h (elf_backend_special_sections): New. Default to NULL. (elfNN_bed): Initialize special_sections. * section.c (bfd_abs_section): Remove const. (bfd_und_section): Likewise. (bfd_com_section): Likewise. (bfd_ind_section): Likewise. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (special_sections): Removed. (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set elf_section_type and elf_section_flags. (elf_frob_file): Set SHT_GROUP. * config/obj-elf.h (obj_sec_set_private_data): New. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. * config/tc-ia64.h: Likewise. * config/tc-m32r.h: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-mcore.h: Likewise. * config/tc-mips.h: Likewise. * config/tc-ppc.h: Likewise. * config/tc-sh64.h: Likewise. * config/tc-v850.h: Likewise. * config/tc-xtensa.h: Likewise. * config/tc-v850.h (SHF_V850_GPREL): Removed. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise. * subsegs.c (subseg_get): Call obj_sec_set_private_data if it is defined. include/elf/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * v850.h (SHF_V850_GPREL): New. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise.
2003-07-25Include SEC_CODE so that code sections are assigned the LOAD attribute.Nick Clifton2-2/+7
2003-07-25 * elf32-sh.c: Convert to C90. Replace PTR with void *.Kaz Kojima6-497/+318
* elf32-sh64-com.c: Likewise. * elf32-sh64.c: Likewise. * elf32-sh64.h: Likewise. * elf64-sh64.c: Likewise.
2003-07-25daily updateAlan Modra1-1/+1
2003-07-24 * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.Kaz Kojima2-24/+15
(allocate_dynrelocs): Likewise. (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL. (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
2003-07-24Updated French translationsNick Clifton2-627/+915
2003-07-24 * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and moveBob Wilson2-16/+29
near the beginning of the file. Swap order of arguments. Call _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0. (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call. (elf_xtensa_relocate_section): Likewise. (shrink_dynamic_reloc_sections): Likewise.
2003-07-24 * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.Bob Wilson2-13/+43
(elf_xtensa_size_dynamic_sections): Use elf_discarded_section. (elf_xtensa_combine_prop_entries): Avoid returning non-zero without first printing an error message. (elf_xtensa_finish_dynamic_sections): Likewise. (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when discarding literal table entries. (elf_xtensa_merge_private_bfd_data): Remove newline from error message. (elf_xtensa_do_asm_simplify): Likewise.
2003-07-24daily updateAlan Modra1-1/+1
2003-07-23 * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash whenStephane Carrez2-2/+8
we have a local symbol in common section.
2003-07-23daily updateAlan Modra1-1/+1
2003-07-222003-07-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+5
* elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for weak symbols.
2003-07-22Add C_TCSYM and C_ECOML to expected RS6000 storage classes.Nick Clifton2-0/+7
2003-07-22daily updateAlan Modra1-1/+1
2003-07-212003-07-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark output_bfd unused to silence gcc.
2003-07-21Updated Swedish translationNick Clifton2-5/+9
2003-07-21 * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..Alan Modra7-18/+74
(_bfd_elf_symbol_refs_local_p): ..this. Declare. * elflink.c (_bfd_elf_symbol_refs_local_p): New function. * elf32-i386.c (elf_i386_relocate_section): Remove h NULL test now done in _bfd_elf_symbol_refs_local_p. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2003-07-21daily updateAlan Modra1-1/+1
2003-07-20daily updateAlan Modra1-1/+1
2003-07-192003-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+8
* elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.
2003-07-192003-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+14
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo. (SYMBOL_CALLS_LOCAL): Likewise. * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE immediately if symbol isn't defined locally.
2003-07-19daily updateAlan Modra1-1/+1
2003-07-18 * elflink.c (_bfd_elf_dynamic_symbol_p): New.Richard Henderson7-154/+120
* elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it. (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it. * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise. * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise. Update all callers to provide the relocation being resolved.
2003-07-18daily updateAlan Modra1-1/+1
2003-07-17Define ARM_COFF_BUGFIX for arm-wince-pe targetsNick Clifton2-1/+6
2003-07-17Update translationsNick Clifton5-1619/+2178
2003-07-17daily updateAlan Modra1-1/+1
2003-07-16 * config.bfd, configure.host, configure.in: Remove ia64-aix support.Richard Henderson7-488/+318
* elfxx-ia64.c, targets.c: Likewise.
2003-07-16 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return falseRichard Henderson2-5/+9
for symbols defined locally plus -Bsymbolic. Tidy logic.
2003-07-16daily updateAlan Modra1-1/+1
2003-07-15include/opcode/Richard Sandiford5-0/+14
* mips.h (CPU_RM7000): New macro. (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. bfd/ * archures.c (bfd_mach_mips7000): New. * bfd-in2.h: Regenerated. * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. (mips_mach_extensions): Add an entry for it. opcodes/ * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. gas/ * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. (mips_cpu_info_table): Add rm7000 and rm9000 entries. gas/testsuite/ * gas/mips/rm7000.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-07-15daily updateAlan Modra1-1/+1
2003-07-14Update Turkish translation files for bfd, gas and opcodesNick Clifton6-940/+1231
2003-07-14Missing from 2003-07-11 commit.Richard Sandiford1-0/+35
2003-07-14daily updateAlan Modra1-1/+1
2003-07-13daily updateAlan Modra1-1/+1
2003-07-12Set maxpagesize for NTO targets to 4kNick Clifton5-1/+21
2003-07-12Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.Nick Clifton2-1/+8
2003-07-12daily updateAlan Modra1-1/+1
2003-07-11bfd/Richard Sandiford5-76/+50
* bfd-in.h (bfd_h8300_pad_address): Declare. * bfd-in2.h: Regenerate. * cpu-h8300.c (bfd_h8300_pad_address): New function. * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize addresses before checking whether they can be relaxed. (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check. Don't complain about overflows in general 8-bit relocations. * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address. Fix handling of R_H8_DIR24A8. ld/testsuite/ * ld-h8300/relax-3{.s,.d,-coff.d}: New test. * ld-h8300/h8300.exp: Run it.
2003-07-11 * elf32-h8300.c: Convert function prototypes and definitionsRichard Sandiford4-175/+116
to C90 syntax. * coff-h8300.c: Likewise. * cpu-h8300.c: Likewise.
2003-07-11Update pot files.Alan Modra3-452/+495
2003-07-11daily updateAlan Modra1-1/+1
2003-07-10bfd ChangeLog:Bob Wilson2-32/+141
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new .got.loc section. Do not set SEC_ALLOC or SEC_LOAD flags for the .xt.lit.plt section. (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section and allocate memory for it. (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output section to the .got.loc section. (elf_xtensa_finish_dynamic_sections): Fix up call to elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to the address of .got.loc. (relax_property_section): Shrink .got.loc to match changes in any literal table section. (xtensa_is_property_section): Change to match xtensa_get_property_section_name. (xtensa_is_littable_section): New. ld ChangeLog: * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit with new .got.loc section. (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for non-relocating links. (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce sections separate for non-relocating links; likewise for .xt.insn.
2003-07-102003-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of -1LL.