aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-07-29 * elf64-ppc.c (func_desc_adjust): Give linker created functionAlan Modra2-1/+9
descriptor symbols a size and type. (ppc64_elf_relocate_section): Correct lq insn test.
2003-07-292003-07-28 Eric Christopher <echristo@redhat.com>Eric Christopher2-200/+459
* elf32-ppc.c (R_PPC_RELAX32): New relocation. (ppc_elf_install_value): New function. (ppc_elf_sort_rela): Remove. (ppc_elf_relax_section): Rewrite. Remove old relaxation and replace with out of range branch stubs. (ppc_elf_relocate_section): Handle R_PPC_RELAX32. 2003-07-28 Eric Christopher <echristo@redhat.com> * ppc.h (R_PPC_RELAX32): New. Fake relocation.
2003-07-29* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash tableAlexandre Oliva2-2/+7
from input_bfd.
2003-07-29daily updateAlan Modra1-1/+1
2003-07-28 * elf.c (special_sections): Set attributes for .got and .plt.Alan Modra2-6/+10
2003-07-28daily updateAlan Modra1-1/+1
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