aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1998-12-09Fix generic relocs to work as RELAs not RELs.Nick Clifton1-0/+5
1998-12-09 SCO Open Server Release 5 core file support, from Jouke NumanIan Lance Taylor5-7/+462
<jnuman@hiscom.nl>: * sco5-core.c: New file. * configure.in (i[3456]86-*-sco3.2v5*): Use sco5-core.lo. (sco5-core.lo): Define SCO5_CORE in COREFLAG. * Makefile.am: Rebuild dependencies. (OPTIONAL_BACKENDS): Add sco5-core.lo. (OPTIONAL_BACKENDS_CFILES): Add sco5-core.c. * bfd.c (struct _bfd): Add sco5_core_data field to tdata. * targets.c (sco5_core_vec): Add to target list if SCO5_CORE. * bfd-in2.h, configure, Makefile.in: Rebuild.
1998-12-09Tue Dec 8 19:38:42 1998 Mark Klein <mklein@dis.com>Ian Lance Taylor4-64/+226
* config.bfd (hppa*-*-mpeix*): New target. * configure.in: Add AC_HEADER_DIRENT. (hppa*-*-mpeix*): New target. * configure.host (hppa*-*-mpeix*): New host. * hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and friends rather than just including <sys/dir.h>. * som.h (struct som_symbol): Add hppa_priv_level and apto tc_data. Change all users. (struct somdata): Add comp_unit field. (obj_som_compilation_unit): Define. (bfd_som_attach_compilation_unix): Declare. * som.c: Check HOST_HPPAMPEIX. (struct som_misc_symbol_info): Add new field priv_level. (som_object_setup): Add current_offset parameter. Change all callers. (setup_sections): Likewise. (som_object_p): For EXECLIBMAGIC, read the lst header. (som_write_symbol_strings): Add compilation_unit parameter. Change all callers. (som_finish_writing): Write out compilation_unit. (som_bfd_derive_misc_symbol_info): Set priv_level. (som_build_and_write_symbol_table): Set xleast field to 3. (som_slurp_symbol_table): Set symbol priv_level. (bfd_som_attach_compilation_unit): New function. (som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set priv_level into symbol_value. * configure, config.in: Rebuild.
1998-12-08 * libbfd.c (COERCE32): Cast through unsigned long and long toIan Lance Taylor1-0/+3
avoid bug in old version of gcc.
1998-12-08 * elf64-alpha.c (elf64_alpha_additional_program_headers): Remove.Ian Lance Taylor1-0/+5
(elf_backend_additional_program_headers): Don't define.
1998-12-08Fix pc relative relocs.Nick Clifton2-3/+13
1998-12-08HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and ElenaDavid Taylor2-50/+204
Zannoni. * hpux-core.c (hpux_core_core_file_p): this function now understands HPUX 10.30 thread info. Yes, the thread stacks can be found in the corefile! Also, in hpux_core_core_file_p, if we encounter a section with an unknown type, don't punt. Instead, just skip it. Also, count the number of sections of known type that we encounter. If we encounter at least one good one, then we'll declare that the file is a core file. If we encounter any unknown ones but some known ones, then we'll issue a warning (but still declare it to be a core file). Also, correctly decide when a file is not a core. (PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined. (CORE_ANON_SHMEM): define if not defined. (hpux_core_struct): add members lwpid and user_tid. (core_kernel_thread_id, core_user_thread_id): new macros. (make_bfd_asection): use bfd_alloc to allocate room for a copy of the name before storing it in the bfd. (hpux_core_core_file_p): handle threads. * libhppa.h (GET_FIELD): protect against redefinition. (HPPA_WIDE): define. (GET_FIELD): define. (GET_BIT): define. (MASK): define. (CATENATE): define. (ELEVEN): define. (sign_extend): redefine. (assemble_6): define. (assemble_12): rewrite. (assemble_16): define. (assemble_16a): define. (assemble_17): rewrite. (assemble_22): define.
1998-12-07Use signed values for signed relocaitons.Nick Clifton2-18/+21
1998-12-07 * mipsbsd.c (MY(set_arch_mach)): Make static.Ian Lance Taylor1-0/+4
* aoutx.h (NAME(aout,machine_type)): For bfd_arch_mips, use bfd_mach_mips* macros rather than simple numbers.
1998-12-07 COFF weak symbol support, based on patches from Mark ElbrechtIan Lance Taylor1-0/+10
<snowball3@usa.net>: * coffcode.h (coff_slurp_symbol_table): Handle C_WEAKEXT. * coffgen.c (coff_renumber_symbols): Handle weak symbols. (coff_write_alien_symbol): Likewise. * cofflink.c (coff_link_check_ar_symbols): Likewise. (coff_link_add_symbols): Likewise. (_bfd_coff_link_input_bfd): Likewise. (_bfd_coff_write_global_sym): Likewise.
1998-12-07 * elf.c (copy_private_bfd_data): Always initialize theIan Lance Taylor1-0/+3
includes_phdrs field.
1998-12-06 * elflink.h (elf_fix_symbol_flags): Check for case where a non-ELFIan Lance Taylor2-0/+22
file defines a symbol first mentioned in an ELF file.
1998-12-06 * bfd-in.h: Always define BFD_HOST_64_BIT and BFD_HOST_U_64_BIT ifIan Lance Taylor3-18/+27
possible, rather than only if BFD64. * elflink.h (compute_bucket_count): Just check BFD_HOST_U_64_BIT, not __GNUC__. * bfd-in2.h: Rebuild.
1998-12-06 * srec.c (srec_set_section_contents): Correct test to avoidIan Lance Taylor1-0/+5
switching to 4 byte addresses after seeing a second section which requires 3 byte addresses. From Joel Schantz <joel.schantz@argosys.boeing.com>.
1998-12-06rebuild correctlyIan Lance Taylor1-0/+9
1998-12-06 * config.bfd (m68*-*-gnu*): New target. From Aymeric VincentIan Lance Taylor2-2/+12
<aymeric.vincent@emi.u-bordeaux.fr>.
1998-12-04*** empty log message ***Jim Blandy1-1/+1
1998-12-04*** empty log message ***Jim Blandy1-0/+18
1998-12-03Fix typo in orevious deltaNick Clifton1-1/+1
1998-12-03Add support for R_FR30_48 reloc.Nick Clifton1-118/+28
1998-12-02 * elflink.h (elf_adjust_dynamic_symbol): Warn on an attempt toIan Lance Taylor1-0/+12
link against a dynamic symbol with no type or size.
1998-12-01Update.Ulrich Drepper1-6/+12
1998-12-01patch for PR 18243.Jim Wilson1-0/+6
* coff-h8300.c (h8300_bfd_link_add_symbols): Make reloc_size, reloc_count and i long instead of unsigned long. Handle error return from bfd_canonicalize_reloc.
1998-12-01Detect the absence of a symbol hash table.Nick Clifton1-0/+5
1998-11-30 * elf32-sh.c (elf/sh.h): Include.Joern Rennecke1-0/+9
sh_reloc_type: Delete. Changed all references to elf_sh_reloc_type. (sh_elf_howto_tab): Add HOWTO for R_SH_SWITCH8. (sh_reloc_map): Map BFD_RELOC_8_PCREL to R_SH_SWITCH8. (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8. * Makefile.in: Add dependency of elf32-sh.lo on $(INCDIR)/elf/sh.h.
1998-11-27 * elflink.h (compute_bucket_count): Don't allow minsize==0, itRichard Henderson2-0/+7
causes division by zero later on.
1998-11-26Thu Nov 26 11:19:35 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley1-0/+5
* elf32-fr30.c (fr30_elf_pc9_reloc,fr30_elf_pc12_reloc): Not needed.
1998-11-25* coff-i386.c (i3coff_object_p): Remove hack. Use new emulationDJ Delorie1-0/+5
hook now.
1998-11-25Add support for 9_PCREL and 12_PCREL relocs.Nick Clifton2-6/+152
1998-11-25Fix handling of I32 and I20 relocs.Nick Clifton2-41/+132
1998-11-24 * coff-i386.c (bfd_pe_dll_not_recognized_hack): the linker wantsDJ Delorie1-0/+7
to see .DLL files as unrecognized. (i3coff_object_p): Sorry, had to hack it to not recognize these files (pei-i386) on request.
1998-11-23* opncls.c (bfd_make_readable): need more cleanup for symbols andDJ Delorie1-0/+5
relents. Call bfd_check_format to reinitialize.
1998-11-20Remove spurous warnings.Nick Clifton1-0/+5
1998-11-19Thu Nov 19 14:42:15 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-1/+1
* aclocal.m4: regenerate * configure: regenerate
1998-11-19Wed Nov 18 20:12:03 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-178/+228
* aclocal.m4: regenerate * configure: regenerate
1998-11-18 * elf-bfd.h (struct elf_link_hash_entry): Add vtable_entries_size.Richard Henderson2-8/+54
* elf.c (_bfd_elf_link_hash_newfunc): Clear it. * elflink.h (elf_gc_propagate_vtable_entries_used): Copy it, and respect it as an upper bound on what memory to reference. (elf_gc_smash_unused_vtentry_relocs): Likewise. (elf_gc_record_vtentry): Handle as-yet undefined vtables. Set and update vtable_entries_size appropriately.
1998-11-17Fixed simple fr30 reloc handling.Nick Clifton2-11/+22
1998-11-17typoDJ Delorie1-1/+1
1998-11-17 * archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORYDJ Delorie2-11/+104
bfds; they have no "file" so we fake it. * bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen) * libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by resizing the memory buffer. * opncls.c (bfd_make_writable): New function; lets you write a bfd_create'd bfd to an in-memory buffer. (bfd_make_readable): New function; lets you read back that buffer as if it were from bfd_openr. Used to build generated archive members (winsup's ld's dlltool)
1998-11-17Mon Nov 16 19:15:19 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley1-0/+4
* po/bfd.pot: Regenerated.
1998-11-16Replaced fixed size array for hi16 relocations with a linked list.Nick Clifton2-83/+278
1998-11-16 * elf64-alpha.c (elf64_alpha_relax_section): Search for the properRichard Henderson1-0/+7
element of the gotentry list for local symbols too. (elf64_alpha_relocate_section): Unify local and global handling. Assert that gotent->use_count > 0.
1998-11-14 * configure.in (vms_alpha_vec): Rename from evax_alpha_vec, andIan Lance Taylor2-16/+24
update for file name changes of July 2, 1998. (vms_vax_vec): New. * configure: Rebuild.
1998-11-13Thu Nov 12 19:19:54 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley2-12/+17
* po/bfd.pot: Regenerated.
1998-11-11Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-1/+1
* acinclude.m4, config.bfd: detect cygwin* instead of cygwin32*. * aclocal.m4, configure: regenerate
1998-11-11Tue Nov 10 16:17:06 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-2/+7
* acinclude.m4: detect cygwin* instead of cygwin32*. * aclocal.m4, configure: regenerate
1998-11-10Add support for generating FR30 machine numberNick Clifton2-0/+7
1998-11-10 * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE,Felix Lee4-763/+447
BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): didn't define macro when value was cached. * aclocal.m4, configure: regenerated.
1998-11-10 * elf32-d10v.c (reloc_type): Add R_D10V_GNU_VTINHERIT andCatherine Moore1-0/+13
R_D10V_GNU_VTENTRY relocs. (elf_d10v_howto_table): Likewise. (d10v_reloc_map d10v_reloc_map): Likewise. (elf32_d10v_gc_mark_hook): New. (elf32_d10v_gc_sweep_hook): New. (elf32_d10v_check_relocs): New. (elf32_d10v_relocate_section): New. (elf_backend_relocate_section): Define. (elf_backend_can_gc_sections): Define.
1998-11-07Sat Nov 7 18:07:51 1998 Peter Schauer ↵Ian Lance Taylor1-0/+8
<peter.schauer@regent.e-technik.tu-muenchen.de> * Makefile.am (BFD32_BACKENDS): Move vms files here... (BFD64_BACKENDS): ...from here. (BFD32_BACKENDS_CFILES): Move vms files here... (BFD64_BACKENDS_CFILES): ...from here. * Makefile.in: Rebuild.