aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1997-11-22Add support for PIC and APCS-FLOAT type binaries.Nick Clifton2-77/+2115
1997-11-22 * sunos.c (sunos_add_one_symbol): When overriding a definedIan Lance Taylor1-0/+3
symbol, set it to undefined, not new.
1997-11-22Sat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor2-7/+7
* evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup.
1997-11-22fix commentIan Lance Taylor1-1/+1
1997-11-22 * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABELIan Lance Taylor1-0/+5
relocs.
1997-11-21 * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.Richard Henderson1-0/+5
(sh_relax_delete_bytes): Don't kill LABEL relocs. Second bit for PR 14069.
1997-11-17 * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo.Jeff Law1-0/+5
(mn10300_elf_relax_section): Likewise.
1997-11-17 * peicode.h (coff_swap_aouthdr_in): Cast second arg ofFred Fish1-0/+15
bfd_h_get_* calls to "bfd_byte *".
1997-11-10Mon Nov 10 14:32:40 1997 Andreas Schwab ↵Ian Lance Taylor2-1/+13
<schwab@issan.informatik.uni-dortmund.de> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if a version dependency could not be found.
1997-11-04Tue Nov 4 12:05:56 1997 Klaus K"ampf <kkaempf@progis.de>Ian Lance Taylor1-8/+2
* configure.com: Get version info from configure.in
1997-10-31 * elf32-sparc.c (elf32_sparc_relocate_section): Give a helpful errorRichard Henderson1-0/+10
message instead of merely aborting. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_check_relocs): Use SEC_ALLOC to control whether we output dynamic relocs instead of SEC_DEBUGGING. (sparc64_elf_relocate_section): Likewise.
1997-10-24Fri Oct 24 11:15:58 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>Richard Henderson2-1/+92
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data): New function. Avoid mixing US1 and HAL R1 code. Set resulting memory ordering to the strongest one used. (sparc64_elf_object_p): Set bfd_mach correctly.
1997-10-24add sparclinux.hIan Lance Taylor1-0/+1
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*.