aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1995-04-25 * hosts/std-host.h: #include ansidecl.h 'cause PTR is used inJason Molenda2-0/+11
std-host.h.
1995-04-24Provide escape hatch for HAVE_PROCFS being defined.Michael Meissner2-0/+8
1995-04-24Do not continue processing unknown symbols.Michael Meissner1-0/+5
1995-04-21Patches from H.J. Lu for Linux ELF core file support.Ken Raeburn2-0/+27
* elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t instead of struct prpsinfo, for consistency. * hosts/i386linux.h (HAVE_PROCFS): Define.
1995-04-20Thu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+37
* linker.c (link_action): Do the right thing when a undefined strong symbol appears after an undefined weak symbol.
1995-04-14* config.bfd: Add m68*-*-elf*.Ken Raeburn1-0/+15
* elf32-m68k.c: Filled out implementation, except for dynamic linking support. * reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF, *_PLT_PCREL, *_PLTOFF, *_68K_* relocations for ELF. * libbfd.h, bfd-in2.h: Regenerated.
1995-04-12* aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000Ken Raeburn1-0/+20
for now.
1995-04-04Always keep all MPW support filesStan Shebs2-35/+3
1995-04-04No longer need MPW-only historyStan Shebs1-81/+0
1995-03-30Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)Ian Lance Taylor1-0/+9
* config.bfd: Change linux to default to elf. Using i[345]86-*-linuxaout will build a library which defaults to a.out. * config/i386-laout.mt: Rename from old config/i386-linux.mt. * config/i386-linux.mt: Rename from old config/i386-lelf.mt. Comment out EXTRALIBS. * config/i386-lelf.mt: Remove.
1995-03-29 * coff-i960.c (coff_i960_relocate): Cache the section symbol inIan Lance Taylor1-0/+4
the used_by_bfd field of the section, to avoid looping for each reloc. PR 6638.
1995-03-29 * cpu-h8500.c (arch_info_struct): Change name from "H8/300" toIan Lance Taylor1-0/+5
"h8300" for consistency with other cpu-* files.
1995-03-28Add entry I forgot to commit:Jeff Law1-0/+7
* som.c (som_set_reloc_info): Sign extend constants from R_DATA_OVERRIDE fixups. * libhppa.h (sign_extend): Renamed from sign_ext. Fix. (low_sign_extend): Likewise.
1995-03-28 * bout.c (b_out_canonicalize_reloc): Handle SEC_CONSTRUCTORIan Lance Taylor1-0/+4
sections. (b_out_get_reloc_upper_bound): Likewise.
1995-03-28 * linker.c (generic_link_add_symbol_list): Skip constructorIan Lance Taylor1-0/+14
symbols which the main linker code did not do anything with. (_bfd_generic_link_output_symbols): Use udata.p if it is set, rather than looking the symbol up in the hash table. Just pass through constructor symbols for which udata.p is not set. If the linker defined the symbol, clear the constructor flag. Fix -r for b.out file format when constructor symbols are defined.
1995-03-21 * som.c (som_slurp_symbol_table): Tighten test to determineJeff Law1-3/+5
what symbols are section symbols.
1995-03-18 * elfcode.h (elf_bfd_link_add_symbols): An empty archive is OK.Ian Lance Taylor1-0/+10
1995-03-17 * elfcode.h (elf_link_add_object_symbols): Check whether a dynamicIan Lance Taylor1-0/+13
object has already been included, and ignore it the second time.
1995-03-15 * libelf.h (bfd_elf32__write_relocs): Don't declare.Ian Lance Taylor1-2/+0
(bfd_elf64__write_relocs): Don't declare.
1995-03-14stab-syms.c: Rewrite to improve performance. Shaves about 5% off gprof runKen Raeburn1-0/+7
time, according to gprof itself, on i486-netbsd.
1995-03-13 * elfcode.h (write_relocs): Make static. Use PTR argument as aIan Lance Taylor1-0/+24
pointer to a boolean variable set to true if something fails. Cast to PTR rather than void *. (sym_is_global): Rewrite for clarity. (map_program_segments): If the program header size is too small, call _bfd_error_handler and return failure rather than aborting. (NAME(bfd_elf,write_object_contents)): Pass boolean variable when calling write_relocs. (elf_symbol_from_bfd_symbol): Use BFD_ASSERT rather than abort. (struct elf_info_failed): Define. (NAME(bfd_elf,size_dynamic_sections)): Declare variables in inner blocks. Pass elf_info_failed structure when calling elf_export_symbol and elf_adjust_dynamic_symbol. (elf_export_symbol): Treat data argument as elf_info_failed rather than bfd_link_info. Set failed field on error. (elf_adjust_dynamic_symbol): Likewise. (struct elf_finfo_failed): Define. (elf_bfd_final_link): Pass elf_finfo_failed structure when calling elf_link_output_extsym. Use BFD_ASSERT rather than abort. (elf_link_output_extsym): Treat data argument as elf_finfo_failed rather than elf_final_link_info. Set failed field on error. (elf_link_input_bfd): Use BFD_ASSERT rather than abort. (elf_reloc_link_order): Likewise.
1995-03-13 * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Only writeIan Lance Taylor2-12/+32
out PLTRELSZ, PLTREL and JMPREL relocs if there is a .rela.plt section. Solaris 2.4 apparently does not handle empty reloc information correctly.
1995-03-13 * archive.c (bsd_write_armap): Cast getuid and getgid results toIan Lance Taylor1-0/+5
long, and print with %ld.
1995-03-12 * elf32-arc.c (elf_arc_howto_table): Relocs with implicit addendsDavid Edelsohn1-0/+7
don't work too well with zero src_masks. Correct values.
1995-03-10 * aoutx.h (translate_to_native_sym_flags): Always use the outputIan Lance Taylor1-0/+5
section if it is not NULL. PR 6477.
1995-03-09 * coffswap.h (coff_swap_scnhdr_out): If the line number count orIan Lance Taylor1-0/+7
the reloc count does not fit, print an error and return 0. * coffcode.h (coff_write_object_contents): Check return value of coff_swap_scnhdr_out. * ecoff.c (_bfd_ecoff_write_object_contents): Check return value of bfd_coff_swap_scnhdr_out.
1995-03-09 * bfd.c: Include <stdarg.h> or <varargs.h>, depending uponIan Lance Taylor1-0/+11
ANSI_PROTOTYPES. (bfd_error_handler_type): New global type. (_bfd_error_program_name): New static variable. (_bfd_default_error_handler): New static function. (_bfd_error_handler): New BFD private global variable. (bfd_set_error_handler): New globally visible function. (bfd_set_error_program_name): New globally visible function. * libbfd-in.h (_bfd_error_handler): Declare. * bfd-in2.h, libbfd.h: Rebuild.
1995-03-09 * aoutx.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter,Ian Lance Taylor2-7/+87
and use it instead of bfd_get_symcount. Check r_index after setting r_extern based on whether this is a base relative reloc. (NAME(aout,swap_std_reloc_IN)): Add symcount parameter, and use it instead of bfd_get_symcount. (NAME(aout,slurp_reloc_table)): Pass bfd_get_symcount to reloc swap routines. * libaout.h (NAME(aout,swap_ext_reloc_in)): Add symcount parameter to declaration. (NAME(aout,swap_std_reloc_in)): Likewise. * sunos.c (sunos_canonicalize_dynamic_reloc): Pass info->dynsym_count to reloc swap routines. * aout-ns32k.c (MY_swap_std_reloc_in): Add symcount parameter. * hp300hpux.c (MY(swap_std_reloc_in)): Likewise. (MY(slurp_reloc_table)): Pass bfd_get_symcount to reloc swap routine. * i386lynx.c (NAME(lynx,swap_ext_reloc_in)): Add symcount parameter. (NAME(lynx,swap_std_reloc_in)): Likewise. (NAME(lynx,slurp_reloc_table)): Pass bfd_get_symcount to reloc swap routines.
1995-03-09Add support for checking whether all PowerPC ELF modules either use ↵Michael Meissner3-0/+20
-mrelocatable or do not.
1995-03-08 * cpu-mips.c (arch_info_struct): Add mips:8000 entry.Ian Lance Taylor1-0/+2
1995-03-08 * elfcode.h (swap_out_syms): Mark an undefined BSF_WEAK symbol asIan Lance Taylor1-0/+5
STB_WEAK rather than STB_GLOBAL.
1995-03-08 * configure.in (SELECT_VECS): Split bfd_elf32_arc_vec into big/little.David Edelsohn2-6/+25
* targets.c (bfd_target_vector): Likewise. * elf32-arc.c (TARGET_BIG_SYM): Define. (TARGET_BIG_NAME): Define. * config/arc-elf.mt (DEFAULT_VECTOR): Set to bfd_elf32_littlearc_vec. (SELECT_VECS): Add bfd_elf32_bigarc_vec.
1995-03-07 * coffcode.h (bfd_coff_backend_data): Add new fieldIan Lance Taylor3-16/+127
_bfd_coff_adjust_symndx. (bfd_coff_adjust_symndx): Define. (coff_adjust_symndx): Define as NULL if not already defined. (bfd_coff_std_swap_table): Initialize new field to coff_adjust_symndx. * cofflink.c (coff_link_input_bfd): Call coff_adjust_symndx if it is defined. * coff-a29k.c (coff_a29k_adjust_symndx): New static function. (coff_adjust_symndx): Define before including coffcode.h. * libcoff.h: Rebuild.
1995-03-07 * format.c (bfd_check_format_matches): Skip binary_vec whenIan Lance Taylor1-0/+3
searching through bfd_target_vector.
1995-03-07 * elfcode.h (elf_sort_hdrs): Check SHT_NOBITS before checkingIan Lance Taylor2-13/+14
sh_size.
1995-03-07 * elfcode.h (elf_sort_hdrs): Keep SHT_NOBITS sections afterDavid Edelsohn2-3/+25
!SHT_NOBITS ones.
1995-03-06 * cpu-hppa.c (arch_info_struct): Support both PA1.0 and PA1.1Jeff Law2-11/+67
machine types. (bfd_hppa_arch): Link in both PA1.0 and PA1.1 architecture info structures. * libhppa.h (enum pa_arch): New enumeration to describe the different variants of the PA architecture. * som.c (som_object_setup): Use new enumeration to set machine type. (som_finish_writing): If the machine type is PA1.1, then use the PA1.1 machine identifier in the output file.
1995-03-04 * hosts/mpw.h (SEEK_SET, SEEK_CUR, BYTES_IN_PRINTF_INT):Stan Shebs2-11/+15
Remove definitions. (mpw_fread, mpw_fwrite): Declare, define as substitutes for fread and fwrite.
1995-03-02 * aoutx.h (NAME(aout,set_section_contents)): Double check that theIan Lance Taylor2-29/+56
caller is writing to a valid section. PR 5996 cleanup.
1995-03-02Thu Mar 2 14:37:57 1995 Bryan Ford <baford@cs.utah.edu>Ian Lance Taylor1-0/+14
* binary.c: Add support for reading binary files. Loads the raw contents of the file into a data section and wraps some symbols around it. The symbols `_binary_<filename>_start' and `_binary_<filename>_end' indicate the start and end of the data, while `_binary_<filename>_size' is an absolute symbol whose value is the size of the data. <filename> is the name of the binary input file, with all non-alphanumeric characters converted to underscores. * archures.c (bfd_arch_get_compatible): Assume users knows what they're doing if one of the architectures is bfd_arch_unknown.
1995-03-01Warn if GOT16 overflows.Michael Meissner1-0/+6
1995-03-01Wed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>Jason Molenda1-0/+4
* configure.host: Recognize powerpc-*-aix*. for sludge.cygnus.com.
1995-03-01 * coff-i960.c (COFF_PAGE_SIZE): Define.Ian Lance Taylor1-0/+2
1995-03-01 * configure.in: Rewrite output of TDEFAULTS to avoid relying onIan Lance Taylor1-0/+5
semantics of single quotes in parameter substitution.
1995-02-28 * elfcode.h (elf_sort_hdrs): Sort empty sections before non-emptyIan Lance Taylor1-0/+3
sections, if they have the same VMA.
1995-02-28 * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.Ian Lance Taylor1-0/+7
(i[345]86-*-gnuelf*): New target. Use i386-gelf. * config/i386-lelf.mt: New file. * config/i386-gelf.mt: New file.
1995-02-27 * config.bfd: add a29k-*-vxworks configuration.Kung Hsu2-0/+12
1995-02-22 * bout.c (b_out_slurp_reloc_table): Don't return an error if askedIan Lance Taylor1-0/+5
for relocations for the .bss section. PR 6377.
1995-02-21 * som.c (som_bfd_ar_write_symbol_stuff): Handle objects with oddJeff Law1-0/+5
lengths.
1995-02-21Add missed log entry for som.c.Jeff Law1-0/+1