aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1994-03-08 * coff-mips.c (mips_relocate_section): Handle MIPS_R_LITERAL likeIan Lance Taylor1-0/+5
MIPS_R_GPREL.
1994-03-07 Add lost lines to previous ChangeLog entry.Peter Schauer1-0/+2
1994-03-05 * elf32-hppa.h, elfcode.h: Replace uses of Elf*_Half, Elf*_Word,Peter Schauer3-5/+11
Elf*_Off typedefs by their expansion, the typedefs have been removed from include/elf/internal.h.
1994-03-04 * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.Jeff Law2-1/+5
1994-03-03 * configure.host: Recognize i[34]86-sequent-*.Jim Kingdon2-21/+41
* trad-core.c (trad_unix_core_file_p): A non-zero, not zero, return from bfd_seek indicates an error. New macro TRAD_CORE_DSIZE_INCLUDES_TSIZE to replace TRAD_CORE_STACK_OFFSET. * hosts/symmetry.h: Define TRAD_CORE_DSIZE_INCLUDES_TSIZE and TRAD_CORE_USER_OFFSET but not HOST_STACK_OFFSET.
1994-03-02 * som.[ch]: Do not include libhppa.h in som.c, instead includeJeff Law5-2/+8
it in som.h. * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead include it in elf32-hppa.h.
1994-03-02 * som.c (log2): Return -1 on error rather than aborting.Jeff Law2-6/+11
(setup_sections): Bubble up an error from log2.
1994-03-02 * som.c (hppa_som_gen_reloc_type): Use correct enum type forJeff Law4-13/+36
field parameter. (bfd_som_set_section_attributes): Use unsigned int rather than unsigned char to avoid GNU-C extensions. (bfd_som_attach_aux_hdr): Return a boolean to indicate success or failure rather than aborting on failure. * som.h (bfd_som_set_section_attributes): Fix prototype to match som.c changes. (bfd_som_attach_aux_hdr): Add prototype. (hppa_som-gen_reloc_type): Likewise. * elf32-hppa.c: Add a couple casts to make HP compiler happy. (hppa_look_for_stubs_in_section): Do not return false on failure until rest of code is ready to handle it. Abort for now.
1994-03-02* bfd-in2.h: Rebuilt.Jim Kingdon2-2/+6
1994-03-01Modified Files:Kung Hsu2-4/+6
ChangeLog i386os9k.c Makefile.in * i386os9k.c: use new functions bfd_set_error and bfd_get_error. * Makefile.in: delete an extra blank.
1994-03-01Modified Files:Kung Hsu2-5/+10
ChangeLog configure.in * configure.in : Add i396os9k_vec.
1994-03-01Remove trailing space at end of continuation line in def of CFILES.Stu Grossman1-1/+1
1994-03-01Modified Files:Kung Hsu1-0/+3
ChangeLog
1994-02-28Modified Files:Kung Hsu5-8/+382
ChangeLog targets.c Makefile.in cache.c Added Files: i386os9k.c * i386os9k.c : new file to handle os9k format bfd. * Makefile.in : Handle new file i386os9k.c * bfd-in2.h : Add bfd_target_os9k_flavour. * targets.c : Add bfd_target_os9k_flavour and i386os9k_vec. * cache.c : Initialize cache_sentinel to 0.
1994-02-28 * elf32-hppa.c (mismatches, retval_mismatches): Fix mismatchJeff Law2-9/+14
action in case where caller specified no argument relocation. (hppa_elf_build_linker_stub): Try again to get the sym_ptr_ptr right in the original relocation and the stub's relocation.
1994-02-28 * elf32-hppa.h (hppa_look_for_stub_in_section): Fix typo. DeleteJeff Law4-19/+68
unused symbols argument. * elf32-hppa.c (hppa_elf_stub_reloc): Accept asymbol ** rather than asymbol * for original target symbol. All callers changed. Set reloc->sym_ptr_ptr appropriately. (hppa_elf_build_linker_stub): Set reloc->sym_ptr_ptr correctly. (hppa_elf_look_for_stubs_in_section): No longer need symbols argument. Use the output symbols when canonicalizing the relocs, creating them if necessary. * linker.c (_bfd_generic_link_output_symbols): Do not rebuild/clobber the output symbols if they already exist.
1994-02-27Sun Feb 27 15:41:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-1/+6
* mpw-make.in (DEBUG_BFD_SEND): Define in default compilation rule.
1994-02-27Sun Feb 27 15:22:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-2/+50
* targets.c (BFD_SEND, BFD_SEND_FMT): Add debugging versions that check all the pointer dereferences. Enabled via DEBUG_BFD_SEND. * bfd-in2.h: Rebuilt.
1994-02-27Sun Feb 27 15:22:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-6/+10
* srec.c (hex_value): Always set to a size of 256 bytes. (srec_init): Cosmetic changes.
1994-02-27 * elf32-hppa.c: Second half of major cleanup. More comments,Jeff Law3-947/+864
PARAMize and staticize rest of functions. Delete unused functions. Delete unused/unnecessary arguments to some functions. Group static vars together. Abort for bad errors until we have error code propogation working. Work on spacing and indention. Add FIXMEs for unresolved problems. Use enums rather than #defines for lots of things. Merge two functions which build linker stubs into a single function (so they can easily share a ton of common code).
1994-02-27Forgot to check these changes in yesterday.Jeff Law1-1/+186
1994-02-26 * aoutx.h, archive.c: Add casts to avoid warnings from SVR4 cc.Ian Lance Taylor7-92/+137
* ecoff.c, ecofflink.c, ecoffswap.h, srec.c: Likewise. * elf32-i386.c: Likewise. * elfcode.h (bfd_section_from_shdr): Make i unsigned; remove old #if 0 code. (elf_write_phdrs): Make i unsigned. (map_program_segments): Make i and n_left unsigned. (assign_file_positions_except_relocs): Make i unsigned. (write_shdrs_and_ehdr): Make count unsigned. (assign_file_positions_for_relocs): Make i unsigned. (NAME(bfd,elf_write_object_contents)): Make count unsigned. (section_from_elf_index): Make index argument unsigned.
1994-02-26 * reloc.c (_bfd_relocate_contents): Adjust handling of overflow toIan Lance Taylor1-9/+33
avoid depending upon right shifts of signed numbers, and to correct handling of src_mask with lower bits zero.
1994-02-26Various entries.Ian Lance Taylor1-0/+11
1994-02-26 * linker.c (_bfd_generic_link_write_global_symbol): Add missingIan Lance Taylor1-3/+8
break in switch.
1994-02-26 * elfcode.h: Don't include assert.h.Ian Lance Taylor1-3/+2
(swap_out_syms): Use BFD_ASSERT rather than assert.
1994-02-26 * hosts/i386v4.h (qsort, strtol): Remove incorrect and uselessIan Lance Taylor1-2/+0
declarations.
1994-02-26 * libhppa.h (hppa_rebuild_insn): Moved here from elf32-hppa.c.Jeff Law3-1011/+618
* elf32-hppa.h (elf_hppa_tc_symbol): Add new arguments. (elf_hppa_tc_make_sections): Likewise. (elf_hppa_final_processing): Add extern decl. * elf32-hppa.c: First half of major cleanup. Add/cleanup lots of comments. PARAMize some static functions. Delete unused functions. Delete unused/unnecessary arguments to many functions. Group static vars together. Collapse common case statements together in many places. Use default case when possible instead of listing each case separately. Abort for bad errors until we get error code propogation working. Work on spacing and indention problems. Add FIXMEs for some unresolved problems. Delete hopelessly broken COMPLEX relocation support (it's never used anyway). (hppa_elf_rebuild_insn): Delete. Moved into libhppa.h. (elf_hppa_tc_symbol): Accept and use new arguments (symext chains). (elf_hppa_tc_make_sections): Likewise.
1994-02-26 * format.c (bfd_check_format_matches): Initialize matching_vectorJeff Law2-1/+5
to keep gcc -Wall quiet. * elfcode.h (elf_slurp_reloca_table): Fix typo.
1994-02-26 * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)"Jeff Law3-3/+42
not "sizeof (som_symbol_type *)". * elfcode.h (elf_get_symtab_upper_bound): Use "sizeof (asymbol *)" not "sizeof (asymbol"). Opps.
1994-02-25 * bfd.c (bfd_get_gp_size): Can't return gp value on an archive.Ian Lance Taylor2-47/+160
(bfd_set_gp_size): Can't set gp value on an archive.
1994-02-25 * srec.c (pass_over): Don't skip too many characters whenSteve Chamberlain2-6/+10
end of line seen.
1994-02-25Fix last patch.Ian Lance Taylor1-0/+1
1994-02-25 * ecoff.c (ecoff_sizeof_headers): Align result to 16 byteIan Lance Taylor2-21/+36
boundary.
1994-02-24 * elfcode.h (elf_core_file_p): Check for core file e_machine matchPeter Schauer1-0/+5
like in elf_object_p.
1994-02-24 * elfcode.h (alloca): Delete declaration.Jeff Law2-5/+3
1994-02-24 * som.c (som_prep_headers): Use CPU_PA_RISC1_0 for magicJeff Law2-1/+7
number rather than HP9000S800_ID. Note som.c is careful to make sure CPU_PA_RISC1_0 is always defined.
1994-02-24Wed Feb 23 16:52:51 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-2/+7
* hosts/mpw.h (fstat): Declare. (mpw_fstat): Eliminate mentions.
1994-02-22 * ecofflink.c (ecoff_write_symhdr): Set symhdr->magic here.Ian Lance Taylor1-0/+5
* ecoff.c (ecoff_write_object_contents): Make sure .bss section ends on a page boundary if there is no symbol table. (ecoff_bfd_final_link): Don't set symhdr->magic here.
1994-02-22 * hosts/hp300.h: Include <stdlib.h>; don't declare free.Ian Lance Taylor2-2/+3
1994-02-22 * som.c (som_bfd_count_ar_symbols): Use a pointer and allocaIan Lance Taylor2-6/+20
rather than an array of variable size. (som_bfd_fill_in_ar_symbols): Likewise. (som_bfd_ar_write_symbol_stuff): Likewise.
1994-02-21Oops... Forgot to check this in...Stu Grossman1-0/+1
1994-02-21Mon Feb 21 10:12:02 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+5
* Makefile.in (targets.o, archures.o): Use ALL_CFLAGS to supply flags to explicit compile actions.
1994-02-21 * coff-alpha.c (alpha_relocate_section): Rewrite mask and shiftIan Lance Taylor3-6/+16
operation to avoid OSF 1.3 cc bug. * ecoff.c (ecoff_write_object_contents): Make text_size, data_size and bss_size bfd_size_type instead of unsigned long. Make text_start and data_start bfd_vma instead of unsigned long. * ecofflink.c (ecoff_add_string): Remove incorrect cast of return value.
1994-02-21 * linker.c (_bfd_generic_link_add_archive_symbols): ConsiderIan Lance Taylor1-0/+5
symbols in the order they appear in the archive map.
1994-02-19 * coff-alpha.c (reloc_nil): Add forward declaration, add missingPeter Schauer2-1/+15
error_message argument. * coff-sparc.c (bfd_coff_generic_reloc): Add forward declaration, add missing error_message argument. * mipsbsd.c (mips_fix_hi16_s): Add forward declaration, add missing error_message argument.
1994-02-18 start-sanitize-powerpc-netwareIan Lance Taylor4-3/+73
Support for PowerPC NetWare. * config.bfd (powerpc-*-netware*): New target; use ppc-nlm. * config/ppc-nlm.mt: New file. * configure.in (nlm32_powerpc_vec): New target vector; use nlm32-powerpc.o, nlm32.o, nlm.o. * targets.c (nlm32_powerpc_vec): Declare. * Makefile.in (BFD32_BACKENDS): Add nlm32-powerpc.o. (CFILES): Should add nlm32-powerpc.c, but didn't, because the dependencies can't be sanitized. end-sanitize-powerpc-netware Initial support for PowerPC ELF. Done without an ABI, and probably to be changed when I get an ABI. * config.bfd (powerpc-*-sysv4*): New target; use ppc-elf. * config/ppc-elf.mt: New file. * configure.in (bfd_elf32_powerpc_vec): New target vector; use elf32-powerpc.o, elf32.o, elf.o. * elf32-powerpc.c: New file. * elfcode.h (prep_headers): Add bfd_arch_powerpc case. (elf_set_arch_mach): Likewise. * targets.c (bfd_elf32_powerpc_vec): Declare. * Makefile.in (BFD32_BACKENDS): Add elf32-powerpc.o. (CFILES): Add elf32-powerpc.c. Rebuilt dependencies.
1994-02-18Support for PowerPC ELF and PowerPC NetWare. Sanitization to follow.Ian Lance Taylor2-0/+1020
1994-02-17Use bfd_set_error in last patch.Ian Lance Taylor1-1/+1
1994-02-17Various entries.Ian Lance Taylor1-0/+19