summaryrefslogtreecommitdiff
path: root/bfd/hosts
Commit message (Collapse)AuthorAgeFilesLines
* Tue Feb 15 12:44:30 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1994-02-151-22/+10
| | | | | | | * mpw-make.in (CSEARCH): Add include/mpw to search path. * hosts/mpw.h (stat): Remove incomplete definition, now in include/mpw/sys. (POSIX_UTIME): Define.
* * coff-rs6000.c: Add Lynx core file support, use HOST_AIX, whereStu Grossman1994-02-152-0/+15
| | | | | | | | | | appropriate. * rs6000-core.c: Use HOST_AIX instead of COREFILES_PLEASE. * config/rs6000.mh: Remove defs of ARCHIVES_PLEASE and COREFILES_PLEASE. * config/rs6000lynx.mh: Turn on Lynx core file support. * hosts/rs6000.h: #define HOST_AIX. * hosts/rs6000lynx.h: Create this to enable Lynx host support.
* New host configuration file.Jeff Law1994-02-082-0/+39
|
* * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,Jim Kingdon1994-02-032-6/+6
| | | | sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.
* * hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete typedefs,Ken Raeburn1994-01-211-4/+0
| | | | since HOST_64_BIT will take care of defining them in bfd.h.
* (sprintf_vma, fprintf_vma): New macros.Ken Raeburn1994-01-191-4/+7
| | | | | (uint64_typeHIGH, uint64_typeLOW): Comment with HOST_64_BIT so they get copied to bfd.h.
* Set lose_these_too correctlyStan Shebs1994-01-111-0/+2
|
* fix comment delimitersDavid D. Zuhn1994-01-051-1/+1
|
* Mon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1994-01-042-4/+116
| | | | | | * mpw-config.in: New file, MPW version of configure.in. * mpw-make.in: New file, MPW version of Makefile.in. * hosts/mpw.h: New file, MPW host definitions.
* Extensive changes to move the bulk of the linker into BFD so thatIan Lance Taylor1993-12-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more efficient backend code can be written for specific object files. Only existing efficient backend is a.out. * seclet.c, seclet.h: Removed. * hash.c, linker.c, genlink.h: New files. * bfd-in.h: Removed bfd_error_vector. Declared hash table structures and functions. (JUMP_TABLE): Removed bfd_seclet_link, added bfd_link_hash_table_create, bfd_link_add_symbols and bfd_final_link. * All backends: Changed accordingly. * bfd-in2.h: Rebuilt. * bfd.c (struct _bfd): Added link_next and archive_pass fields. Removed ld_symbols field. (bfd_nonrepresentable_section, bfd_undefined_symbol, bfd_reloc_value_truncated, bfd_reloc_is_dangerous, bfd_error_vector): Removed. (bfd_default_error_trap, bfd_error_trap, bfd_error_nonrepresentabltrap): Removed. (bfd_get_relocated_section_contents): Pass link_info. Pass link_order instead of seclet. Pass symbols. (bfd_relax_section): Pass link_info. (bfd_seclet_link): Removed. (bfd_link_hash_table_create, bfd_link_add_symbols, bfd_final_link): New macros. * libbfd-in.h: If __GNUC__ is defined and alloca is not, define alloca as __builtin_alloca. Declare internal linking functions. * libbfd.h: Rebuilt. * libbfd.c (bfd_seek): Comment out fseek assertion. It's worked for months. * reloc.c (reloc_howto_type): Added error_message argument to special_function field. Changed all callers and all definitions. (bfd_get_reloc_size): Make argument a const pointer. (bfd_perform_relocation): Add error_message argument to hold string set if return value if bfd_reloc_dangerous. Changed all callers. (_bfd_final_link_relocate, _bfd_relocate_contents): New functions. * section.c (asection): Renamed seclets_head and seclets_tail to link_order_head and link_order_tail. * targets.c (bfd_target): Replaced seclet argument with link_info and link_order and symbols arguments in bfd_get_relocated_section_contents. Added symbols argument to bfd_relax_section. Removed bfd_seclet_link. Added bfd_link_hash_table_create, bfd_link_add_symbols and bfd_final_link. * libaout.h (struct aoutdata): Added external_syms, external_sym_count, external_strings, sym_hashes fields. (obj_aout_external_syms, obj_aout_external_sym_count, obj_aout_external_strings, obj_aout_sym_hashes): New accessor macros. (WRITE_HEADERS): Only output symbols if outsymbols is not NULL. * aoutx.h: Wrote new back end linker routines. (translate_to_native_sym_flags): Return boolean value. Don't use bfd_error_vector. (NAME(aout,write_syms)): Return boolean value. Check return value of translate_to_native_sym_flags and bfd_write. * aout-target.h (final_link_callback): New function. (MY_bfd_final_link): New function. * aout-adobe.c (aout_adobe_write_object_contents): Check return value of aout_32_write_syms. * hp300hpux.c (MY(write_object_contents)): Likewise. * i386lynx.c (WRITE_HEADERS): Likewise. * libaout.h (WRITE_HEADERS): Likewise. * bout.c: Changed functions to use link_info->callbacks rather than bfd_error_vector, and link_orders rather than seclets. * coff-alpha.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-sh.c: Likewise. * coff-z8k.c: Likewise. * elf32-hppa.c: Likewise. * reloc16.c: Likewise. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Look up _gp in the hash table rather than in outsymbols. * coff-a29k.c (a29k_reloc): Pass errors back in new error_message argument rather than printing them. * coffcode.h (bfd_coff_reloc16_extra_cases): Take link_info and link_order arguments rather than seclet. Changed all uses and definitions. (bfd_coff_reloc16_estimate): Pass link_info arguments. Changed all uses and definitions. * libcoff.h: Rebuilt. * ecoff.c (ecoff_get_extr): If symbol is defined by linker, but not by ECOFF, make it scAbs. (ecoff_bfd_final_link): Renamed from ecoff_bfd_seclet_link and rewritten. * elf32-mips.c (mips_elf_final_link): Renamed from mips_elf_seclet_link and rewritten. * elf32-hppa.c (elf32_hppa_stub_description): Added link_info field. (new_stub, add_stub_by_name, hppa_elf_build_arg_reloc_stub, hppa_elf_build_long_branch_stub, hppa_look_for_stubs_in_section): Added link_info arguments. Changed all callers. * elfcode.h (elf_slurp_symbol_table): Don't quit if outsymbols is not NULL. * oasys.c (oasys_write_sections): Return boolean value rather than using bfd_error_vector. (oasys_write_object_contents): Check return value of oasys_write_sections. * hosts/std-host.h: Don't declare qsort or strtol. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Removed seclet.o. Added hash.o and linker.o. (CFILES): Removed seclet.c. Added hash.c and linker.c. (HFILES): Removed seclet.h. Added genlink.h.
* cleanups and mach3 changesDavid MacKenzie1993-12-151-1/+1
|
* * config/solaris2.mh (HDEFINES): Remove -Dconst=Ian Lance Taylor1993-12-031-0/+6
| | | | * hosts/solaris.h: If not __GNUC__, define const as empty.
* * hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast resultsIan Lance Taylor1993-12-011-2/+4
| | | | to unsigned long.
* Modified to be based on lynx.h, like i386 and m68k versions.Ken Raeburn1993-11-211-28/+1
|
* define FPRINTF_ALREADY_DECLAREDKen Raeburn1993-11-212-0/+4
|
* * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc.Stu Grossman1993-11-174-54/+39
| | | | | | * m68klynx.c: Define core file macros. * hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h: Move all non-architecture specific stuff into lynx.h.
* Keep Lynx filesStan Shebs1993-11-011-0/+1
|
* testDavid MacKenzie1993-10-291-1/+1
|
* Minor changes, plus definitions for Sparc Lynx host.Stan Shebs1993-10-293-6/+48
|
* remove inclusion of strings.hKen Raeburn1993-10-131-1/+0
|
* * config/news-mips.mh, hosts/news-mips.h: New files.Jim Kingdon1993-10-031-0/+1
|
* new for mips corefilesJim Kingdon1993-10-021-0/+12
|
* Keep m68klynx.hStan Shebs1993-09-281-0/+1
|
* New and improved Lynx support.Stan Shebs1993-09-282-0/+33
|
* * archive.c: Define offsetof here.Jim Kingdon1993-09-2718-94/+0
| | | | * hosts/*.h: Don't define it here.
* * Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman1993-09-221-19/+16
| | | | | | | | | | | * bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
* Make sure that "offsetof" is defined on all hosts, now that archive.c uses it.John Gilmore1993-09-1729-46/+154
|
* * hosts/std-host.h (offsetof): Define, if not already, for archive.c.John Gilmore1993-09-141-0/+5
|
* * hosts/i386sco.h: Define a bunch of stuff for core files.Jim Kingdon1993-09-122-44/+0
| | | | | | | | | | * sco-core.c: Remove, replace by trad-core.c. * trad-core.c: If HOST_STACK_START_ADDR is defined, use it. * config/i386sco.mh: Use trad-core not sco-core. * hosts/i386isc.h, config/i386isc.mh: Remove. * configure.host: Use i386sco for isc. * config/i386-sco.mt: Remove, identical to i386-coff.mt. * config.bfd: Use i386-coff not i386-sco.
* * hosts/delta88v4.h: New for SVR4.Jim Kingdon1993-09-022-0/+9
| | | | * configure.hosts: Use it.
* new for /proc support on svr4 delta88Jim Kingdon1993-09-021-0/+0
|
* More patches from Jeff Law, plus a little cleanup of my own.Ken Raeburn1993-08-281-3/+2
| | | | | | | These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. Include <stdlib.h> and <unistd.h>. Do not define malloc or free.
* Merged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELFKen Raeburn1993-08-251-1/+1
| | | | support. Compiles, not particularly well tested. See ChangeLog for details.
* * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.Jim Kingdon1993-08-181-1/+2
| | | | | | | * hosts/i386mach.h: removed, replaced by i386osf1mk.h. * config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format. * Makefile.in, configure.host, config.bfd: Corresponding changes. * hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.
* * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.Jim Kingdon1993-08-181-0/+11
| | | | | | | * hosts/i386mach.h: removed, replaced by i386osf1mk.h. * config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format. * Makefile.in, configure.host, config.bfd: Corresponding changes. * hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.
* replaced by i386mach3.hJim Kingdon1993-08-171-32/+0
|
* new for machJim Kingdon1993-08-172-0/+0
|
* * Base use of sco-core on host, not target.Ian Lance Taylor1993-08-112-0/+2
| | | | | | | | | * configure.host (i[34]86-*-sco*): Use i386sco rather than i386v. * config/i386-sco.mt (TDEFINES): Removed. * config/i386sco.mh: New file to use sco-core. * hosts/i386sco.h: New file; just includes hosts/i386v.h. Not needed for gdb 4.10.
* * elf32-hppa.h, hosts/*: Remove (one more time) all occurrancesJohn Gilmore1993-08-0317-162/+162
| | | | of EXFUN in the BFD sources. Heave ho!
* Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1993-08-021-1/+0
| | | | added to the list by Sanitize, unless Sanitize knows it needs to keep it.
* remove some conflicting declsDavid D. Zuhn1993-08-021-2/+0
|
* Add i386lynx.h.Stu Grossman1993-08-021-0/+1
|
* Sun Aug 1 22:54:08 1993 Stu Grossman (grossman at cygnus.com)Stu Grossman1993-08-021-0/+30
| | | | | * configure.host, configure.in, hosts/i386lynx.h: Lynx/386 host and target info.
* dSteve Chamberlain1993-07-3015-5/+15
| | | | Make sure ansidecl.h is included where needed.
* Add .Sanitize to Things-to-lose list.Fred Fish1993-07-301-0/+2
|
* Add esix.h to Things-to-lose list.Fred Fish1993-07-301-0/+2
|
* remove some sun3 function declsDavid D. Zuhn1993-07-301-5/+0
|
* Yet another trad-core variant:Jim Kingdon1993-07-261-0/+6
| | | | | * config/esix.mh, hosts/esix.h: New files. * configure.hosts: Use them.
* new for esixJim Kingdon1993-07-261-0/+0
|
* * hpux-core.c: New file; backend for HP/UX style core files.Ian Lance Taylor1993-07-221-0/+2
| | | | | | | | | | | | | | | | | | | | | * bfd.c (struct _bfd): Renamed hppa_core_data field to hpux_core_data. * bfd-in2.h: Updated. * hppa.c (make_bfd_asection, hppa_core_file_p, hppa_core_file_failing_command, hppa_core_file_failing_signal, hppa_core_file_matches_executable_p): Moved into hpux-core.c. Removed from target vector. * libhppa.h (struct hppa_core_struct and accessor macros): Moved into hpux-core.c. * targets.c: If HPUX_CORE is defined, add hpux_core_vec to target list. * config/hp300.mh (HDEFINES): Set to -DHPUX_CORE. (HDEPFILES): Set to hpux-core.o. * config/hppabsd.mh, config/hppahpux.mh: Likewise. * hosts/hp300.h (HOST_HP300HPUX): Define. * Makefile.in (OPTIONAL_BACKENDS): Added sco-core.o, aix386-core.o, hpux-core.o. (sco-core.o, aix386-core.o, hpux-core.o): New dependencies.