aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-07-20 * elfcode.h: Fix several illegal pointer combination warnings forFred Fish1-0/+3
usages of bfd_alloc and alloca.
1993-07-20 * libnlm.h (nlm_obj_tdata): Rename hidden struct members to avoidFred Fish3-16/+22
apparent Sun C preprocessor recursion. Fix access macros. * nlmcode.h: Remove spurious '&' before several array references.
1993-07-20 * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.cJim Kingdon5-4/+10
config/m68k-coffun.mt -> u68k-coff.mt. * Makefile.in, configure.in: Corresponding changes.
1993-07-20* elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" beforeKen Raeburn3-62/+68
function name; it's valid without, and some compilers give warnings with it there.
1993-07-20Reflect symmetry changesJim Kingdon2-2/+3
1993-07-20 * bfd.c (union tdata): Add nlm_obj_data;Fred Fish3-0/+4
* targets.c (enum target_flavour): Add bfd_target_nlm_flavour.
1993-07-20 * bfd-in.h: Apply some of the changes that were made to bfd-in2.h.Fred Fish1-0/+4
1993-07-20 * configure.in (*-*-netware, i[34]86-*-netware): New configs.Fred Fish18-60/+1579
* Makefile.in (BFD32_BACKENDS): Add nlm.o, nlm32.o, nlm32-gen.o. * Makefile.in (BFD64_BACKENDS): Add nlm64.o, nlm64-gen.o. * Makefile.in (CFILES): Add nlm{32,64}.c, nlm{32,64}-gen.c. * Makefile.in (nlm.o, nlm{32,64}.o, nlm{32,64}-gen.o: New targets. * bfd-in2.h (INLINE): Defines moved here. * {aoutx.h, elf.c, elfcode.h}: Move INLINE defines to bfd-in2.h. * libelf.h (CAT4): Move define to bfd-in2.h. * bfd-in2.h (CAT4): Merge CAT4 macro with other CAT macros. * bfd-in2.h (union tdata): Add nlm_obj_data. * bfd-in2.h (enum target_flavour): Add bfd_target_nlm_flavour. * targets.c (bfd_nlm{32,64}_{big,little}_vec): Add prototypes. * targets.c (target_vector): Add bfd_nlm{32,64}_{big,little}_vec. * (libnlm.h, nlm.c, nlmcode.h, nlm{32,64}-gen.c, nlm{32,64}-target.h, nlm{32,64}.c, config/i386-nlm.mt): New files for NLM support.
1993-07-19fix stupid typoDavid D. Zuhn1-1/+1
1993-07-19add i386-lynx supportDavid D. Zuhn2-0/+5
1993-07-19* elf.c, elfcode.h, libelf.h: Serious reorganization.Ken Raeburn7-1270/+1790
Deleted `thunk' structure, merged into tdata, duplicate data eliminated. Rearranged functions, grouping by function. Broke up many functions in elfcode.h, re-ordered many parts of file writing to handle unpredictable state of section relocation table as provided by various applications. Still needs cleanup: Merge functions back together, split out data structure with only data that is used only when writing out object file. * elf.c (bfd_elf_generic_reloc): New function, taken from coff-mips.c. * elf32-sparc.c (elf_sparc_howto_table): Use it, to work around bfd_perform_relocation lossage.
1993-07-19(BFD_LIBS): Include coff-mips.o and coff-msym.o, so that gdb will link.Ken Raeburn1-6/+12
(ofiles): Don't use sort or uniq; do it with sh constructs.
1993-07-19 * coffcode.h: Recognize I386PTXMAGIC.Jim Kingdon2-0/+31
* aoutf1.h, libaout.h: Add M_386_DYNIX. * trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS): New macros; use it if defined. * config/symmetry.mh, hosts/symmetry.h: New files.
1993-07-17 * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.Jim Kingdon1-6/+6
* Makefile.in: Change accordingly. (CFILES): Add elf64-gen.c.
1993-07-17 * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.Jim Kingdon3-36/+6
* Makefile.in: Change accordingly. (CFILES): Add elf64-gen.c.
1993-07-16 * coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC.Ian Lance Taylor2-5/+16
1993-07-15 * coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L fromIan Lance Taylor2-9/+17
16 to 26.
1993-07-14 * hppa.c [HOST_HPPABSD]: Use hpux-style core files.Jim Kingdon3-18/+23
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
1993-07-14* configure.in: Recognize h8300h-*-*.David Edelsohn2-1/+5
1993-07-13 * coff-h8500.c (reloc_processing, rtype2howto): New relocationSteve Chamberlain3-0/+523
type R_H8500_HIGH_16. * coff-sh.c (r_imm32): Get the width of the reloc right.
1993-07-13dtrt wrt v9 for elf64-sparc.c (sigh)Ken Raeburn1-1/+0
1993-07-13 * configure.in: Add new target m68k-coffun to the dpx/2.Jim Kingdon2-0/+6
* config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.
1993-07-13make sanitize dtrt wrt v9Ken Raeburn1-4/+4
1993-07-12Changes to reloc.c, libelf.h, config/sparc-elf.mt.Ken Raeburn1-0/+9
1993-07-12regeneratedKen Raeburn1-2/+3
1993-07-12Use {start,end}-sanitize-v9 instead of `v9' on every line to be removed.Ken Raeburn1-2/+4
1993-07-12(struct elf_obj_tdata): Add field `thunk'.Ken Raeburn1-0/+1
1993-07-12(enum bfd_reloc_code_real): Move SPARC_BASE13 and SPARC_WDISP19 to moreKen Raeburn1-92/+78
appropriate places. (bfd_perform_relocation): Whitespace changes, more comments.
1993-07-12(sparc_reloc_map): Remove duplicate WDISP19 entry.Ken Raeburn1-1/+0
1993-07-12Clean v9 stuff from reloc.c and bfd-in2.h also.Ken Raeburn1-12/+8
1993-07-11add fileJim Kingdon1-0/+1
1993-07-11 * elfcode.h: Use memset not bzero.Jim Kingdon10-32/+179
* trad-core.c: Don't include <sys/file.h>. * i386linux.h: Include <sys/file.h>. * coff-m68k-un.c: new file to handle names with underscores on svr3 machines. * coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS to not duplicate the function in the executable. (TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed by coff-m68k-un.c. * coffcode.h (MC68KBCSMAGIC): case added. * targets.c: Add m68kcoffun_vec. * configure.host: added support for Bull dpx/2. * config/dpx2.mh, hosts/dpx2.h: new files. * Makefile.in: added target coff-m68k-un.
1993-07-11new for dpx2Jim Kingdon2-0/+0
1993-07-09* aoutf1.h: Add definition of MACHTYPE_OK.Jim Kingdon2-2/+21
1993-07-08 * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.Jim Kingdon2-18/+10
i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should be sufficient. Define TEXT_START_ADDR.
1993-07-08 New file bfdsumm.texi to share with ld.David MacKenzie3-7/+161
1993-07-07 * aoutx.h (translate_from_native_sym_flags): Removed statepIan Lance Taylor5-210/+218
argument. Just let an indirect symbol point to the next symbol without forcing the next symbol to be undefined. Changed all callers. * hp300hpux.c (slurp_symbol_table): Changed call to translate_from_native_sym_flags. * targets.c: Added hp300hpux_vec. * Makefile.in (hp300hpux.o): Added dependencies.
1993-07-07Don't crash if with_minimal_bfd is the empty string.Ian Lance Taylor1-2/+2
1993-07-06more prototypes, in libelf.hKen Raeburn2-8/+9
1993-07-06Several changes: type fixes; prototypes; minimal-bfd work; elf fixes.Ken Raeburn1-0/+39
1993-07-06regeneratedKen Raeburn1-10/+40
1993-07-06* elfcode.h (elf_read): Delete static declaration, since function has moved.Ken Raeburn1-257/+211
(elf_map_symbols): Write out section symbols for all sections, for now. (elf_symbol_from_bfd_symbol): Allow match if both symbols are section symbols for the same section. (elf_find_nearest_line): Don't print message, just return false.
1993-07-06fill out reloc tableKen Raeburn1-0/+197
1993-07-06Hack to cut down compilations needed for minimal-bfd:Ken Raeburn2-20/+40
* Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES. (ofiles): New target. Build a list of unique file names, in case any got duplicated. (TARGETLIB): Use list of files from ofiles. * configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on minimal-bfd flag and target makefile frag contents.
1993-07-06Stricter prototyping, to force type conversions between 64-bit target andKen Raeburn3-63/+93
32-bit host values. * libbfd.c (bfd_xmalloc_by_size_t): New function. * opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations. (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. (new_bfd): Prototype-style definition, using DEFUN. (bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type size_t, not bfd_size_type. * ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t. * bfd.c (bfd_default_error_trap, bfd_error_trap, bfd_error_nonrepresentabltrap): Prototypes. * libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted prototypes for arg type change. * archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize, do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
1993-07-06(enum bfd_reloc_code_real): Put simple power-to-two relocs together, and addKen Raeburn1-14/+33
64-bit versions. Also add sparc v9 reloc types. (bfd_generic_get_relocated_section_contents): Argument to alloca is size_t.
1993-07-05* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.David Edelsohn1-0/+4
1993-07-02 * Makefile.in (clean): Remove bfd.h and stmp-bfd.h.Jim Kingdon2-13/+31
(realclean): Remove generated headers.
1993-07-02 * hosts/std-host.h: Removed declarations of printf, fprintf,Ian Lance Taylor2-6/+5
fcntl, fread and fwrite. They are all error prone for one reason or another. Changed declaration of memchr from char * to PTR.
1993-07-02 * configure.in (mips-*-riscos*): New target; use riscos.Ian Lance Taylor1-0/+2
* configure.host (mips-*-riscos*): New host; use riscos.