aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1997-10-23 * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16.Richard Henderson2-1/+40
(sparc64_elf_check_relocs): Handle them. (sparc64_elf_relocate_section): Likewise. Before emitting a dyn reloc, check alignment and transmute R_SPARC_x<->R_SPARC_UAx.
1997-10-23 * configure.in (sparc*-*-linux*): Use trad-core and ...Richard Henderson3-106/+120
* hosts/sparclinux.h: New file.
1997-10-23 * config.bfd (sparc64-*-linux*): New target.Richard Henderson3-44/+1748
* elf-bfd.h (struct elf_backend_data): Add plt_alignment member. * elflink.c (_bfd_elf_create_got_section): Set .got alignment based on arch_size. (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections. Set .plt alignment from new plt_alignment. * elflink.h (elf_link_create_dynamic_sections): Set version section alignment to LOG_FILE_ALIGN. * elfxx-target.h (elf_backend_plt_alignment): Provide default. (elfXX_bed): Init plt_alignment. * elf64-sparc.c (sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections, sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol, sparc64_elf_finish_dynamic_sections): New functions. (sparc64_elf_howto_table): Fix a few name strings. (ELF_DYNAMIC_INTERPRETER): New definition. (sparc64_elf_relocate_section): Handle shared libraries. * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry, sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol): PLT definitions sparc64-linux originally choose. These will go away soon in favour of the official abi definitions.
1997-10-22 * coff-sh.c (coff_small_object_p): New static function.Ian Lance Taylor4-16/+39
(coff_small_new_section_hook): New static function. (bfd_coff_small_swap_table): New static const structure. (coff_small_close_and_cleanup): Define. (coff_small_bfd_free_cached_info): Define. (coff_small_get_section_contents): Define. (coff_small_get_section_contents_in_window): Define. (shcoff_small_vec): New static structure. (shlcoff_small_vec): New static structure. * targets.c (bfd_target_vector): Add shcoff_small_vec and shlcoff_small_vec. * config.bfd (sh-*-elf*): Add shcoff_small_vec and shlcoff_small_vec to targ_selvecs. (sh-*-*): Likewise. * configure.in: Add shcoff_small_vec and shlcoff_small_vec cases. * configure: Rebuild. PR 13580.
1997-10-20various evax patchesIan Lance Taylor8-39/+215
1997-10-20Mon Oct 20 15:01:27 1997 Klaus K"ampf <kkaempf@progis.de>Ian Lance Taylor2-7/+22
* evax-egsd.c: make section flags dec c compatible
1997-10-20 * som.c (normalize): Delete function.Jeff Law1-0/+7
(som_bfd_ar_write_symbol_stuff): New parameter elength. All callers changed. Use passed in elength to determine size of the extended name table instead of computing it again.
1997-10-20fix ChangeLog entryIan Lance Taylor1-4/+3
1997-10-20 * peicode.h (coff_swap_scnhdr_out): Don't clobber other flagIan Lance Taylor1-0/+6
settings when setting IMAGE_SCN_MEM_READ. From Jim Wilson <wilson@cygnus.com>.
1997-10-20 * som.c (som_bfd_ar_write_symbol_stuff): Account for trailingJeff Law2-68/+94
'/' in the extended name table.
1997-10-17 * elflink.h (elf_link_assign_sym_version): For explicitly versionedRichard Henderson2-16/+31
symbols, check globals list before matching on locals.
1997-10-16fix typoMichael Meissner1-1/+1
1997-10-16Fix mangled patchMichael Meissner2-12/+7
1997-10-15 * peicode.h (pe_mkobject_hook): Set DLL flag.Ian Lance Taylor2-1/+8
(pe_bfd_copy_private_bfd_data): Copy DLL flag.
1997-10-15 * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLEIan Lance Taylor2-3/+18
for .stab* sections. Replace strlen of constant strings with number.
1997-10-14 * elf64-alpha.c (elf64_alpha_merge_ind_symbols): New function toRichard Henderson1-0/+12
merge got and reloc entries from ind syms to their target. (elf64_alpha_always_size_sections): Call it. (elf64_alpha_check_relocs): Operate on the target of indirect symbols. (elf64_alpha_can_merge_gots): Likewise. (elf64_alpha_merge_gots): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Back out HJ's change, as it is insufficient to handle the relocation changes as well.
1997-10-14 * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVERichard Henderson2-5/+31
relocs for symbols in shlibs that have been forced local. (elf64_alpha_relocate_section): Output RELATIVEs in .got for same.
1997-10-14 * bfd/elf64-alpha.c (elf64_alpha_relocate_section): Use theRichard Henderson2-31/+242
got_enties of the default symbol for the default versioned symbol. Patch from hjl@gnu.ai.mit.edu, modified not to use alloca in the loop.
1997-10-14RELOC_22_PCREL only uses bottom 24 bits of PC.Nick Clifton1-0/+5
1997-10-10Fixed bugs exposed by compiling NEC sample sources.Nick Clifton2-11/+35
1997-10-09 * elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.David Edelsohn2-63/+277
(sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs.
1997-10-08 * elfcore.h (bfd_prstatus): Pedanticly, alignment_power shouldRichard Henderson1-0/+5
be LOG_FILE_ALIGN.
1997-10-08 * config.bfd: Missed one alpha* change.Richard Henderson2-6/+18
1997-10-07 * som.c (som_construct_extended_name_table): Remove staticIan Lance Taylor1-0/+5
function, and define as macro instead.
1997-10-06Remove sanitized-out Magic Cap support, will never be releasedStan Shebs1-14/+0
1997-10-03 * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess nowRichard Henderson2-9/+13
recognizes alphaev5 etc. * configure.host: Likewise.
1997-10-03 Make ld -s work on AIX:Ian Lance Taylor1-0/+11
* xcofflink.c (xcoff_link_add_symbols): Don't create the .debug section if we are stripping. (bfd_xcoff_size_dynamic_sections): Don't set the .debug section size if we are stripping. (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos, and don't write out relocs, if we are stripping. (xcoff_link_input_bfd): Don't set up reloc if we are stripping. (xcoff_write_global_symbol): Don't write out symbol or reloc if we are stripping.
1997-10-03 * configure.in: Don't include elf.lo again for ELF targets; it'sIan Lance Taylor2-1/+7
always in the library anyhow. * configure: Rebuild.
1997-10-03 * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, notIan Lance Taylor2-2/+9
char *, when calling bfd_get_32 and bfd_put_32. * sunos.c (sunos_scan_dynamic_symbol): Cast contents to char * when calling strcpy.
1997-10-02 * reloc.c (bfd_check_overflow): New function.David Edelsohn2-1/+26
(bfd_perform_relocation, bfd_install_relocation): Use it. (BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs. (BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
1997-10-02 * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMPDavid Edelsohn1-0/+12
renamed to R_SPARC_UNUSED_42. (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. * elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP renamed to R_SPARC_UNUSED_42. (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. * reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete. * bfd-in2.h: Regenerated. * libbfd.h: Regenerated.
1997-10-02 * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for anIan Lance Taylor1-0/+5
unrecognized section. From Jon Thackray <jont@harlequin.co.uk>.
1997-10-01 * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h.Ian Lance Taylor1-0/+13
(stmp-bfd-h): Rename from stmp-bfd.h. (BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables. ($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h. (stmp-bin2-h): New target. ($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h. (stmp-lbfd-h): New target. ($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h. (stmp-lcoff-h): New target. (CLEANFILES): Change stmp-bfd.h to stmp-bfd-h. Add stmp-bin2.h, stmp-lbfd-h, and stmp-lcoff-h. * Makefile.in: Rebuild.
1997-10-01 * configure.in: Use a diversion to set enable_shared before theIan Lance Taylor3-205/+229
arguments are parsed. * configure: Rebuild.
1997-09-30 * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMPDavid Edelsohn5-183/+166
renamed to R_SPARC_UNUSED_42. (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. * elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP renamed to R_SPARC_UNUSED_42. (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. * reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete. * bfd-in2.h: Regenerated. * libbfd.h: Regenerated.
1997-09-25 * elflink.h (elf_merge_symbol): Don't check the hash creator untilIan Lance Taylor1-5/+5
after we have set *sym_hash.
1997-09-24Wed Sep 24 16:52:28 1997 Joel Sherrill <joel@oarcorp.com>Ian Lance Taylor1-0/+4
* config.bfd (sh*-*-rtems*): New target, like sh-*-*elf*.
1997-09-24 * Makefile.am (libbfd_a_SOURCES): Define.Ian Lance Taylor1-0/+3
* Makefile.in: Rebuild.
1997-09-24 * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL.Ian Lance Taylor1-0/+6
* aclocal.m4: Rebuild with new libtool. * configure: Rebuild.
1997-09-23 * elf.c (map_sections_to_segments): Even if we are not demandIan Lance Taylor1-0/+14
paged, don't put a loadable section after a nonloadable section. (assign_file_positions_for_segments): Increment the file offset for a section with contents, even if it is not loadable. PR 13139.
1997-09-20Removed v850eq sanitization.Nick Clifton3-53/+14
Changed mismatch architecture message to a warning.
1997-09-18Improved error message to include symbol's name.Nick Clifton2-9/+15
1997-09-18v850 files that weren't being removed if !keep-v850Felix Lee1-2/+6
1997-09-17Added support for the call table relocations.Nick Clifton3-17/+144
1997-09-17Catch relocations against non-existant symbols.Nick Clifton2-0/+23
1997-09-16Add support for a 16 bit reloc against the TDA pointer!Nick Clifton5-0/+59
1997-09-15merge from d30v-970225-branchKen Raeburn4-6/+75
1997-09-15Fix sanitization.Andrew Cagney1-1/+1
1997-09-10Removed spurious error return.Nick Clifton2-2/+4
1997-09-10New function: bfd_arch_list cf bfd_target_list.Andrew Cagney3-40/+123
Make bfd_default_scan (arch) more flexable in its match of name to arch, remove some of the dead code.