aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-04-05note that pa support is elf onlyKen Raeburn1-1/+43
1994-04-05sparc, doc/Makefile.in changesKen Raeburn1-0/+11
1994-04-05(install-info-as, install-info-gasp): New targets, now explicitly checkingKen Raeburn1-23/+41
$(srcdir) for info files. (install-info): Depend on both of them; do nothing more.
1994-04-05(s_reserve): If section passed isn't bss, don't spew remainder of input file inKen Raeburn1-2/+8
error message. (tc_gen_reloc): If bfd_reloc_type_lookup returns null, print error message with reloc type and try to process remainder of file.
1994-04-05 * elf32-mips.c (mips_elf_final_link): Don't remove empty sections.Ian Lance Taylor1-0/+6
It turns out not to be required on Irix 5, and it causes problems if the sections happen to contain symbols.
1994-04-05 * elfcode.h (write_shdrs_and_ehdr): Correct bfd_write check.Ian Lance Taylor1-1/+1
1994-04-05 * ldmain.c (main): Check the return value of bfd_close.Ian Lance Taylor1-0/+4
1994-04-05 * aoutx.h (NAME(aout,canonicalize_reloc)): Don't error out ifIan Lance Taylor11-26/+26
section->relocation is NULL; malloc might have returned NULL when given a zero size if there were no relocations. * bout.c (b_out_canonicalize_reloc): Likewise. * coffcode.h (coff_canonicalize_reloc): Likewise. * ecoff.c (ecoff_canonicalize_reloc): Likewise. * elfcode.h (elf_canonicalize_reloc): Likewise. * mipsbsd.c (MY(canonicalize_reloc)): Likewise. * i386lynx.c (NAME(lynx,canonicalize_reloc)): Likewise. * nlmcode.h (nlm_canonicalize_reloc): Likewise. * som.c (som_canonicalize_reloc): Likewise. * hp300hpux.c (MY(slurp_reloc_table)): Likewise. Also, if malloc returns NULL, don't report an error if we asked for zero bytes. * i386lynx.c (NAME(lynx,slurp_reloc_table)): If malloc returns NULL, don't report an error if we asked for zero bytes. * nlmcode.h (nlm_slurp_reloc_fixups): Likewise.
1994-04-05 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losingJeff Law7-9/+15
makes (osf1) in which the value of MACHINE can not be changed. * config/*.mt: Changed appropriately.
1994-04-05* build-all.mk: Document all useful targets.David Edelsohn2-1/+40
If canonhost is sparc-sun-solaris2.3, change it to sparc-sun-solaris2. If canonhost is mips-sgi-irix4.0.5H, change it to mips-sgi-irix4.
1994-04-05 * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.Jeff Law2-3/+6
1994-04-04 * aoutx.h (NAME(aout,bfd_free_cached_info)): Don't free anythingIan Lance Taylor2-0/+6
if we don't have a bfd_object.
1994-04-04* sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".David Edelsohn1-0/+4
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor22-369/+429
checks the return value and handled bfd_error correctly. These changes are not itemised.
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor1-35/+64
checks the return value and handled bfd_error correctly. These changes are not itemised. Also: * srec.c (srec_write_record): Change return type to boolean. (srec_write_header): Likewise. Also, check srec_write_record return value. (srec_write_section, srec_write_terminator): Likewise. (srec_write_symbols): Change return type to boolean. (internal_srec_write_object_contents): Check return value of srec_write_symbols, srec_write_header, srec_write_section, and srec_write_terminator.
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor1-68/+123
checks the return value and handled bfd_error correctly. These changes are not itemised. Also: * oasys.c (oasys_read_record): Change return type to boolean. (oasys_slurp_symbol_table: Check oasys_read_record return value. (oasys_object_p, oasys_slurp_section_data): Likewise. (oasys_write_record): Change return type to boolean. (oasys_write_syms): Likewise. Also, check oasys_write_record return value. (oasys_write_sections): Check oasys_write_record return value. (oasys_write_header): Change return type to boolean. Check oasys_write_record return value. (oasys_write_end, oasys_write_data): Likewise. (oasys_write_object_contents): Check return values of oasys_write_header, oasys_write_syms, oasys_write_data, and oasys_write_end.
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor1-12/+32
checks the return value and handled bfd_error correctly. These changes are not itemised. Also: * i386os9k.c (os9k_swap_exec_header_in): Change return type to boolean. (os9k_object_p): Check os9k_swap_exec_header_in return value.
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor1-20/+29
checks the return value and handled bfd_error correctly. These changes are not itemised. Also: * coffcode.h (coff_write_relocs): Change return type to boolean, and return errors. (coff_write_object_contents): Check coff_write_relocs return value.
1994-04-04 Made sure that every call to bfd_read, bfd_write, and bfd_seekIan Lance Taylor1-10/+14
checks the return value and handled bfd_error correctly. These changes are not itemised. Also: * aoutx.h (emit_strtab): Change return type to boolean, and return errors. (NAME(aout,write_syms)): Check emit_strtab return value. (NAME(aout,final_link)): Likewise.
1994-04-04 * Makefile.in: Rebuilt dependencies.Ian Lance Taylor1-0/+4
1994-04-04 * aix386-core.c (aix386_bfd_is_local_label): Correct cast fromPeter Schauer4-3/+12
asection to asymbol. * ptrace-core.c (ptrace_unix_bfd_is_local_label): Correct cast from bfd to asymbol. * trad-core.c (trad_unix_bfd_is_local_label): Correct cast from asection to asymbol.
1994-04-04 * ppc-opc.c (powerpc_operands): The signedp field has beenIan Lance Taylor2-58/+78
removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag instead. Add new operand SISIGNOPT. (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT. Based on patch from David Edelsohn (edelsohn@npac.syr.edu). * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather than signedp field.
1994-04-04 * config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNEDIan Lance Taylor1-0/+5
flag rather than signedp field. Only permit extended range if PPC_OPERAND_SIGNOPT flag is set and assembling in 32 bit mode. Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
1994-04-04 * config/tc-ppc.c (ppc_size): New static variable.Ian Lance Taylor2-6/+19
(ppc_arch): Check for PPC_OPCODE_PPC before PPC_OPCODE_POWER. (md_begin): If an instruction has a size specific flag set, only add it if we are assembling that size.
1994-04-04 * som.c (som_slurp_string_table): Use malloc to allocate spaceJeff Law2-6/+50
for the cached copy of the native string table. (som_slurp_symbol_table): Likewise for the native symbol table. (som_slurp_reloc_table): Likewise for the native and generic relocation tables. (som_bfd_free_cached_info): Free the cached native strings, symbols, and relocations. Also free the canonical cached relocations.
1994-04-02* symfile.c (deduce_language_from_filename): .cpp is a C++ extension.Jim Kingdon2-5/+10
1994-04-01 * aoutx.h (aout_link_write_symbols): If keep_memory is false, makeIan Lance Taylor2-1/+23
sure the symbol name is stored in permanent memory before adding it to the string table.
1994-04-01 * archive.c (_bfd_write_archive_contents): Once we've found anIan Lance Taylor2-1/+45
object, don't bother to look for more when deciding whether to build a map. (compute_and_write_armap): After adding the symbols for a BFD, call bfd_free_cached_info on it.
1994-04-01 Add bfd_free_cached_info support to a.out backends.Ian Lance Taylor8-164/+200
* aoutx.h (aout_get_external_symbols): Renamed from aout_link_get_symbols. Read strings even if symbols have been read. Store string size in obj_aout_string_size. (NAME(aout,slurp_symbol_table)): Call aout_get_external_symbols to read the symbols. Allocate the cached symbols with malloc, not bfd_alloc. (NAME(aout,slurp_reloc_table)): Allocate the cached relocs with malloc, not bfd_alloc. (NAME(aout,bfd_free_cached_info)): New function; free cached symbols and relocs. * libaout.h (struct aoutdata): Add external_string_size field. (obj_aout_external_string_size): New accessor macro. (NAME(aout,close_and_cleanup)): Don't declare. (NAME(aout,bfd_free_cached_info)): Declare. (aout_32_close_and_cleanup): Don't define. (aout_64_close_and_cleanup): Don't define. * aout-target.h (MY_bfd_free_cached_info): If not already defined, define as NAME(aout,free_cached_info). (MY_close_and_cleanup): If not already defined, define as MY_bfd_free_cached_info. * aout-adobe.c (aout_32_close_and_cleanup): Define. (aout_32_bfd_free_cached_info): Don't define. * bout.c (aout_32_close_and_cleanup): Define. (aout_32_bfd_free_cached_info): Don't define. * hp300hpux.c (MY_bfd_free_cached_info): Define as bfd_true. (MY_close_and_cleanup): Don't define. * i386lynx.c (NAME(lynx,slurp_reloc_table)): Allocate the cached relocs with malloc, not bfd_alloc. * i386os9k.c (aout_32_close_and_cleanup): Define. (aout_32_bfd_free_cached_info): Don't define.
1994-04-01 * targets.c (bfd_target): Add _bfd_free_cached_info field.Ian Lance Taylor27-170/+329
* bfd.c (bfd_free_cached_info): Define. * bfd-in.h (JUMP_TABLE): Add _bfd_free_cached_info. * bfd-in2.h: Rebuilt. * All backends: Initialize bfd_free_cached_info entry point to bfd_true.
1994-04-01 * elf32-hppa.c (elf_hppa_reloc_type_lookup): Correct type ofIan Lance Taylor1-4/+4
first, unused, argument. (hppa_elf_is_local_label): Declare instead of som_bfd_is_local_label.
1994-04-01 * coff-a29k.c (a29k_reloc): Add reloc_entry->address to value ofIan Lance Taylor1-1/+2
absolute R_IREL reloc.
1994-04-01 * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,Peter Schauer1-3/+0
the new generic definition from tm-sysv4.h works for Solaris.
1994-04-01 * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.Peter Schauer1-9/+3
1994-04-01 For SVR4 targets, enable gdb to set breakpoints in sharedPeter Schauer3-1/+56
library functions before the executable is run. * elfread.c (elf_symtab_read): Handle symbols for shared library functions. * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section and moved to objfiles.c. * objfiles.c (in_plt_section): Moved to here from sparc-tdep. * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed, the new generic definition from tm-sysv4.h works for Solaris.
1994-04-01keep internals stuffKen Raeburn1-0/+1
1994-04-01Some internals docs. Not enough to be amazingly helpful yet, not reallyKen Raeburn1-0/+175
used for anything, just checkpointing...
1994-04-01* i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size prefix is 0x66,Ken Raeburn1-4/+9
not 0x67. Patch from H.J. Lu (hlu@nynexst.com).
1994-04-01* internal.h (internal_aouthdr): Added comments for Apollo fields.Ken Raeburn1-0/+4
1994-03-31 * scripttempl/alpha.sc: Clean up section alignment to ensure thatIan Lance Taylor1-0/+5
sections never overlap when using -r.
1994-03-31 * config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to getIan Lance Taylor2-21/+72
cross section PC relative relocs right for COFF and ELF.
1994-03-31 Added some support for Irix 4 shared libraries.Ian Lance Taylor2-2/+42
* ecoff.c (ecoff_new_section_hook): Set SEC_SHARED_LIBRARY for a .lib section. (ecoff_sec_to_styp_flags): Set SEC_SHARED_LIBRARY if STYP_ECOFF_LIB bit is set. (ecoff_compute_section_file_positions): Round the contents of a .lib section up to the next page boundary. (ecoff_set_section_contents): If we see a .lib section, increment the vma by one to count the number of shared libraries we have. (ecoff_write_object_contents): Don't crash if we see a STYP_ECOFF_LIB section, and don't adjust text_start or data_start or bss_size either.
1994-03-31 * ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4.Ian Lance Taylor2-0/+5
1994-03-31 * coffcode.h (CALC_ADDEND): Change to fetch original symbol valueIan Lance Taylor3-10/+275
from original BFD, rather than using value of current BFD symbol. Needed for new linker. * coff-sparc.c (CALC_ADDEND): Likewise.
1994-03-31 * ecoff.c (ecoff_write_object_contents): Set the text_start andIan Lance Taylor2-4/+18
data_start entries in the optional header correctly even if a text or data section starts at location zero.
1994-03-31Added missing ChangeLog entry for Sean's check in, and rebuiltIan Lance Taylor2-0/+5
bfd-in2.h.
1994-03-31 * nlm32-i386.c (nlm_i386_read_import): Null terminate the symbolIan Lance Taylor3-4/+806
name. * nlm32-alpha.c (nlm_alpha_read_import): Likewise. * nlm32-sparc.c (nlm_sparc_read_import): Likewise.
1994-03-31Missing BFD_RELOC_26.Sean Eric Fagan1-0/+1
1994-03-31 * coffgen.c (coff_write_symbol): Reindented. Changed to returnIan Lance Taylor3-172/+245
boolean, and changed written to unsigned int *. Check error returns from called functions. (coff_write_alien_symbol): Likewise. (coff_write_native_symbol): Likewise. (coff_write_symbols): Likewise. Reworked checks on whether to write symbol name to string table for clarity and to avoid core dumping when given a non COFF symbol. * libcoff-in.h (coff_write_symbols): Declare as returning boolean. * libcoff.h: Rebuilt. * coffcode.h (coff_write_object_contents): Check return value of coff_write_symbols.
1994-03-31 * configure: Support --silent, --quiet.David MacKenzie2-4/+12