aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-08-08Add MSP430 variantsNick Clifton5-57/+76
2003-08-08daily updateAlan Modra1-1/+1
2003-08-07 * elfxx-target.h: Remove PTR cast.Alan Modra29-107/+137
* targets.c (bfd_target): Make backend_data const void *. * elf-bfd.h: Constify all occurrences of struct elf_backend_data. * elf-m10300.c: Likewise. * elf.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i386.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-sh64.c: Likewise. * elf32-sparc.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-mips.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. * elfxx-mips.h: Likewise. * elf.c (prep_headers): Remove useless check for null backend_data. * bfd-in2.h: Regenerate.
2003-08-07 * elf-bfd.h: Remove PARAMS macro. Replace PTR with void *.Alan Modra9-1016/+641
(NAME): Use ## rather than CONCAT4 macro. * elfcode.h: Remove one remaining PARAMS macro. * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes. * elf-strtab.c: Likewise. * elf-hppa.h: Likewise. * elf32-hppa.h: Likewise. * elf32-hppa.c: Likewise. (elf32_hppa_add_symbol_hook): Delete. (elf_backend_add_symbol_hook): Don't define. * libhppa.h: Convert to C90. Replace INLINE with inline.
2003-08-07daily updateAlan Modra1-1/+1
2003-08-06 * elf64-ppc.c (ppc_stub_name): Tweak names for better readability.Alan Modra2-43/+84
(ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against function descriptors, but warn. (ppc_build_one_stub): Remove a couple of vars. Move code creating stub syms so that we can avoid a stub sym if we already have a plt sym. Do not redefine an existing symbol. (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for glink.
2003-08-06Updated French translationsNick Clifton2-3/+7
2003-08-06Fix typoNick Clifton1-1/+1
2003-08-06 * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss withAlan Modra2-1/+6
SEC_LINKER_CREATED.
2003-08-06daily updateAlan Modra1-1/+1
2003-08-05 * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.Daniel Jacobowitz2-8/+29
(elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it.
2003-08-05Detect and issue a warning message if the line number table could not be read.Nick Clifton2-0/+12
2003-08-05daily updateAlan Modra1-1/+1
2003-08-04Prefix .gnu.warning section messages with "warning: ".Nick Clifton2-3/+12
2003-08-04 * elfcode.h: Convert to C90, remove unneeded casts and prototypes.Alan Modra6-719/+474
* elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elf.c (sym_is_global): Remove INLINE. (align_file_position): Replace INLINE with inline. * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE. (elf_file_p): Replace INLINE with inline.
2003-08-04daily updateAlan Modra1-1/+1
2003-08-03daily updateAlan Modra1-1/+1
2003-08-02 * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.Kaz Kojima2-2/+4
* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.
2003-08-02daily updateAlan Modra1-1/+1
2003-08-012003-08-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+8
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
2003-08-012003-08-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use ElfNN_External_Rela instead of Elf64_External_Rela.
2003-08-01Add code to catch obsolete configurations and warn about them unlessNick Clifton2-0/+20
--enable-obsolete is used. Use this to mark vax-vms port as obsolete.
2003-08-01daily updateAlan Modra1-1/+1
2003-07-31 * elf32-ppc.c (ppc_elf_install_value): Tidy.Alan Modra3-163/+144
(ppc_elf_relax_section): Remove dead code. Remove unnecessary casts. Formatting. * elfxx-target.h: Remove PARAMS macro. Formatting.
2003-07-31 * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.Alan Modra3-179/+197
* elf64-ppc.c (get_fdh): New function, split out from ppc64_elf_edit_opd. (ppc64_elf_check_relocs): Use get_fdh. (func_desc_adjust): Likewise. Tidy. (ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error exit. Use get_fdh. Account for superfluous dynamic relocs. (ppc64_elf_relocate_section): Warning fix.
2003-07-31daily updateAlan Modra1-1/+1
2003-07-302003-07-30 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-25/+18
* coff-i860.c: Convert to ISO C90. Remove superflous prototypes.
2003-07-30bfd:Jason Eckhardt2-83/+43
2003-07-30 Jason Eckhardt <jle@rice.edu> * elf32-i860.c: Convert to ISO C90. Remove superflous prototypes. gas: 2003-07-30 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c: Convert to ISO C90.
2003-07-30 * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.Alan Modra3-3/+23
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.
2003-07-30 * elf.c: Convert to C90, remove unnecessary prototypes and casts.Alan Modra2-657/+386
Replace PTR with void *. Formatting. (_bfd_elf_assign_file_position_for_section): Remove INLINE. (make_mapping): Likewise.
2003-07-30daily updateAlan Modra1-1/+1
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.