aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1998-04-21Arm specific code changed to conform to BFD coding conventions.Nick Clifton6-206/+432
1998-04-21* elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed fromRichard Henderson2-15/+30
elf64_alpha_relax_find_reloc_ofs. Changed all callers. (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss. (elf64_alpha_size_got_sections): Don't merge .got sections twice.
1998-04-21* archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.Richard Henderson1-25/+38
1998-04-18 * elf32-mips.c (mips_elf_relocate_section): Do not complain aboutJeff Law1-0/+5
an out of range pc-relative jump/call to an undefined weak symbol.
1998-04-16 * archive.c (bfd_generic_archive_p): If a slurp subroutine returnsIan Lance Taylor1-0/+4
an error other than bfd_error_system_call, set the error to bfd_error_wrong_format.
1998-04-16* elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdispRichard Henderson1-0/+5
comparisons signed.
1998-04-16 * targets.c (bfd_target_vector) [SELECT_VECS not defined]: AddIan Lance Taylor1-0/+3
bfd_elf32_powerpcle_vec.
1998-04-16 * elf.c (copy_private_bfd_data): If all the p_paddr fields in theIan Lance Taylor1-0/+5
program segments are zero, don't set p_paddr_valid.
1998-04-16 * elf64-alpha.c: Initial implementation of relaxation --Richard Henderson2-67/+814
(struct alpha_elf_link_hash_entry): Add use_count member. (elf64_alpha_check_relocs): Initialize and increment it. (elf64_alpha_can_merge_gots): Check it when considering merging. (elf64_alpha_merge_gots): Drop entries with zero use. (elf64_alpha_calc_got_offsets_for_symbol): Likewise. (elf64_alpha_always_size_sections): Split out got sizing ... (elf64_alpha_size_got_sections): ... here. New function. (elf64_alpha_relax_find_reloc_ofs): New function. (elf64_alpha_relax_with_lituse): Likewise. (elf64_alpha_relax_without_lituse): Likewise. (elf64_alpha_relax_opt_call): Likewise. (elf64_alpha_relax_section): Likewise. (elf64_alpha_add_symbol_hook): Likewise. (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16. (elf64_alpha_relocate_section): Likewise. (bfd_elf64_bfd_relax_section): Define. (elf_backend_add_symbol_hook): Likewise.
1998-04-15 * elf.c (prep_headers): Use new EM_SPARCV9 symbol.Richard Henderson2-5/+13
* elf64-sparc.c (ELF_MACHINE_CODE): Likewise. (ELF_MACHINE_ALT1): New. Set to EM_OLD_SPARC64.
1998-04-15 * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32.Ian Lance Taylor1-0/+5
* configure: Rebuild.
1998-04-13 * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.Ian Lance Taylor3-84/+258
(libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@. * configure.in: Define and substitute WIN32LDFLAGS and WIN32LIBADD. * aclocal.m4: Rebuild with new libtool. * configure, Makefile.in: Rebuild.
1998-04-10 * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbolIan Lance Taylor1-0/+5
before any other symbols in the same section. Required by Visual C++ linker, and specified in PE documentation.
1998-04-08Do not add PowerPC NT support by default to PowerPC ELF systemsMichael Meissner2-6/+11
1998-04-07 * dwarf2.c (comp_unit): Move it earlier in the source. AddGavin Romig-Koch2-80/+102
addr_size. (read_address): Replace 'bdf*' argument with 'comp_unit*' argument. Use addr_size for address size, rather than sizeof(bfd_vma). (read_attribute): Replace bdf* argument with 'comp_unit*' argument. Fix call to read_address. (decode_line_info): Replace bdf* argument with 'comp_unit*' argument. Scrap other unneeded arguments. Fix call to read_address. (scan_unit_for_functions): Fix call to read_attribute. (parse_comp_unit): We now handle more values for addr_size. Set addr_size in unit. Fix call to read_attribute and decode_line_info.
1998-04-07 * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null.Gavin Romig-Koch2-0/+1458
1998-04-07 * archures.c (bfd_default_scan): Add m68k cases back to defaultIan Lance Taylor1-0/+6
switch, reverting patch of March 25, since IEEE support depends upon them.
1998-04-06xIan Lance Taylor1-0/+5
1998-04-06 * Makefile.am (diststuff): New target.Ian Lance Taylor2-0/+4
* Makefile.in: Rebuild.
1998-04-06 * Makefile.am (STAGESTUFF): Remove variable.Ian Lance Taylor2-45/+109
(CLEANFILES): Don't remove $(STAGESTUFF). (DISTCLEANFILES, MAINTAINERCLEANFILES): New variables. * Makefile.in: Rebuild.
1998-04-05 * som.c (som_bfd_ar_write_symbol_stuff): Fix computation ofJeff Law1-0/+5
som_offset when we have an extended name table.
1998-04-05Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>Ian Lance Taylor3-76/+95
* Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before trying to copy it. * Makefile.in: Rebuild.
1998-04-03Fri Apr 3 11:09:42 1998 Andreas Schwab ↵Ian Lance Taylor1-0/+14
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section symbols when creating a shared library. (elf_m68k_adjust_dynindx): New function, used by above code. (elf_m68k_finish_dynamic_sections): Initialize the section symbols. (elf_m68k_relocate_section): Change abort to BFD_ASSERT.
1998-04-01Wed Apr 1 13:36:58 1998 Andreas Schwab ↵Ian Lance Taylor1-0/+5
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix assertion.
1998-04-01xIan Lance Taylor1-11/+12
1998-04-01Changes required to emit Elf Rela structuresCatherine Moore2-110/+175
for relocation.
1998-03-31 * elf-m10300.c (mn10300_elf_relax_section): Correctly handleJeff Law1-0/+5
absolute symbols.
1998-03-30 * configure.in: Set version to 2.9.1.Ian Lance Taylor1-0/+20
* configure: Rebuild.
1998-03-30 * elf.c (_bfd_elf_copy_private_section_data): CallIan Lance Taylor1-0/+3
copy_private_bfd_data once we've seen the last SEC_ALLOC section. Fixes strip on Irix 6. Without this, a stripped program would report 22964:g++: rld: Warning: This object has a DT_MIPS_OPTIONS tag, but no corresponding program header. This could be the result of file corruption or faulty compilation/linking.
1998-03-30 * cpu-mips.c: Remove trailing comma at end of enumeration list.Ian Lance Taylor1-0/+4
1998-03-28 * coff-arm.c: Define all globally visible variables and functionsIan Lance Taylor1-0/+8
only when COFF_WITH_PE is not defined. * configure.in (armpe_little_vec, armpe_big_vec): Add coff-arm.lo. * configure: Rebuild.
1998-03-27Fix gcc -Wall warnings. See ChangeLog for details.Ian Lance Taylor4-31/+126
1998-03-26Remove (most of the) target dependent code from peicode.hNick Clifton2-13/+43
1998-03-26fix tipo in ifdefIan Lance Taylor1-1/+1
1998-03-25Support interworking for thumb-pe and arm-pe targets.Nick Clifton4-122/+262
1998-03-25 * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather thanIan Lance Taylor2-10/+28
plain numbers. (sunos_write_object_contents): Likewise. * aoutx.h (NAME(aout,machine_type)): Likewise. * coffcode.h (coff_set_arch_mach_hook): Likewise.
1998-03-25Wed Mar 25 13:59:24 1998 Andreas Schwab ↵Ian Lance Taylor4-144/+194
<schwab@issan.informatik.uni-dortmund.de> * archures.c (bfd_mach_m68*): Add definitions for various m68k variants. (bfd_default_scan): Remove m68k special cases. * bfd-in2.h: Rebuild. * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m680* instead of plain numbers. * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. * cpu-m68k.c (arch_info_struct): Likewise. Add entry for m68k:68000. (bfd_m68k_arch): Set mach field to zero to signal no explicit selection, change printable_name to just "m68k" and make that the default instead of m68k:68020.
1998-03-25Wed Mar 25 13:59:24 1998 Andreas Schwab ↵Ian Lance Taylor1-0/+12
<schwab@issan.informatik.uni-dortmund.de> * aout-tic30.c (NAME): Define this to avoid multiple definitions from aoutx.h. (MY_get_section_contents): Define as aout_32_get_section_contents rather than NAME(aout,get_section_contents). * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com> * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change byte_count to unsigned int. (mn10300_elf_relax_section): Initialize internal_relocs. Remove unused local variables.
1998-03-25Wed Mar 25 13:59:24 1998 Andreas Schwab ↵Ian Lance Taylor2-4/+13
<schwab@issan.informatik.uni-dortmund.de> * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha and call bfd_default_set_arch_mach to do the real work. Wed Mar 25 13:59:05 1998 Ian Lance Taylor <ian@cygnus.com> * evax-alpha.c (evax_close_and_cleanup): Remove unused local variables er and er1.
1998-03-25 * cpu-v850.c: Include <ctype.h>.Ian Lance Taylor1-0/+3
(scan): Case isdigit argument to unsigned char. Also fix v850e/v850ea sanitization.
1998-03-25 * bout.c (BALX): Include return register g14 as part of the insn.Richard Henderson1-0/+6
(BALX_MASK): New. (calljx_callback): Use it. PR 15310
1998-03-25 From Yan Meroth <YAN.MEROTH@st.com>:Ian Lance Taylor1-0/+9
* ihex.c (ihex_scan): Add extbase variable so that getting an extended linear address record does not ignore any previous extended address. (ihex_write_object_contents): When writing out an extended linear address record, zero out any previous extended address.
1998-03-24Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de>Ian Lance Taylor1-0/+6
* ieee.c (do_one): Check section before dereferencing it. (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive.
1998-03-23Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com>Ian Lance Taylor1-0/+4
* config.bfd: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23Add interworking support (untested) to pe backends.Nick Clifton2-50/+86
1998-03-22 * elf32-mips.c (R_MIPS15_S3): New relocation type.Jeff Law1-1/+1
(elf_mips_howto_table): Add R_MIPS15_S3. (mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3. * reloc.c (BFD_RELOC_MIPS15_S3): New relocation type. * bfd-in2.h, libbfd.h: Rebuilt.
1998-03-20 * configure.in: Use AM_DISABLE_SHARED.Ian Lance Taylor2-281/+355
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-20Fixes for PR15358 and 15373Nick Clifton1-0/+9
1998-03-20 * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): RevertRichard Henderson1-0/+6
part of Feb 22 change controling when to override the existing symbol with the .plt entry.
1998-03-18Add thumb-pe supportNick Clifton2-8/+32