aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1992-06-25Declare free() for hpux.Stu Grossman1-0/+3
1992-06-25* hosts/solaris2.h: Configure same as sysv4.John Gilmore2-0/+9
1992-06-24 * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.Fred Fish3-2/+9
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST.
1992-06-23Add i386linux.h.Per Bothner1-0/+1
1992-06-23Per, guess what you forgot to do...Stu Grossman1-0/+1
Hint: Add i386linux.c to bfd/.Sanitize...
1992-06-23 * i386linux.c, hosts/i386linux.h, config/i386-linux.mt:Per Bothner2-0/+8
New files, for Linux (a free Unix clone for 386 machines). * Makefile.in, configure.in, targets.c: Update accordingly.
1992-06-22Lint stuff which didn't make it last timeSteve Chamberlain2-3/+3
1992-06-22Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain4-21/+21
Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and correct calling of howto special functions and fixes from Raeburn for gas<>bfdness * archures.c: nuke bfd_reloc_code_type * bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint * coffcode.h (styp_to_sec_flags): STYP_INFO is marked as SEC_NEVER_LOAD, various other bfdgas newness * reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup * targets.c: change jump table vector to above
1992-06-20* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION soJohn Gilmore3-4/+27
its prototype will be included in libbfd.h. Change result type to struct * (rather than equivalent typedef) so it can be used in the prototype, where they typedef won't be known. * libbfd.h: Updated version.
1992-06-20HPPA BSStu Grossman2-0/+5
1992-06-19HPPA merge.Stu Grossman2-0/+117
1992-06-19* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,Stu Grossman7-6/+699
targets.c: HPPA merge.
1992-06-19* configure.in: Separate Solaris2 from SYSV4 on SPARC.John Gilmore2-2/+8
* config/solaris2.mh: Kludge around Sun compiler bug.
1992-06-17* libaout.h (aout_backend_data): Change defs of two bitfields toStu Grossman1-0/+5
be unsigned chars instead to get around rs6000 compiler problem.
1992-06-17 * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):Fred Fish2-3/+23
Correct misconception that there can be only one symbol table. Only call elf_slurp_symbol_table on the full symbol table, not the dynamic one which is only a subset of the full one. (The bfd library was slurping in the first ELF symbol table it found and then ignoring any others. For dynamically linked executables, this happened to be the dynamic symbol table, which is a subset of the full symbol table and only contains the symbols that need to be used in dynamic linking.)
1992-06-17Don't align sections in I960 coff files.Ken Raeburn2-1/+9
(I know there's a GDB freeze on, but this only affects writing i960 coff files, and Steve needs it ASAP.)
1992-06-16Save scripts.Stu Grossman1-0/+1
1992-06-16* hosts/sparc.h (abort, exit): Hide these names if compiling withKen Raeburn1-0/+6
gcc version 2, to avoid warnings.
1992-06-16[time to file a PR on cvs...]Ken Raeburn5-220/+437
Various changes to get linker working again for a.out: * don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Also: * coffcode.h (coff_write_relocs): Write out swapped reloc, not pre-swapped version. * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings.
1992-06-16Various changes to get linker working again for a.out:Ken Raeburn1-0/+54
* don't set/adjust section file positions or vmas more than once * use correct page size and segment size when calculating them * deal with some variations in a.out implementations Tested on sun4 and sun4->sun3 so far, will be testing further but needed to get wider exposure&testing. See ChangeLog for details. Also: * coffcode.h (coff_write_relocs): Write out swapped reloc, not pre-swapped version. * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings.
1992-06-15 * config/ncr3000.mh (INSTALL, RANLIB): Don't use /usr/ucb/install,Fred Fish1-0/+9
it's broken on ncr 3000's. Use simple "true" for RANLIB.
1992-06-13* section.c (STD_SECTION): Remove extra semicolon in declarations.John Gilmore2-119/+78
* configure.in: Rewrite target parsing to use simple format. Handle sparc-sun-solaris2 configuration. * aout64.h: Avoid ANSI C brain death warning. * elf.c: Avoid trigraph (???) or /* in comments.
1992-06-13change to new solaris naming system, add sysv4 host configDavid D. Zuhn2-2/+8
1992-06-11* elf.c (elf_obj_tdata): Merge elf_obj_tdata_struct andJohn Gilmore2-148/+197
elf_core_tdata_struct into a single common struct. Core files wouldn't have worked at all without this. (bfd_elf_find_section): New function for GDB's undercover use to find string sections that BFD hides from it. (elf_get_str_section): Avoid multiple alloc&reads for same data; lint. (elf_object_p, elf_core_file_p): Allocate internal file header storage dynamically. * bfd.c (union {...} tdata): Remove elf_core_tdata_struct. * demo64.c: Prevent "empty translation unit" warnings from idiots.
1992-06-10 * config/{i386v4.mh, ncr3000.mh}: Update RANLIB, add INSTALL.Fred Fish1-0/+4
1992-06-07* configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.John Gilmore2-10/+24
1992-05-26Add apollo68.h.Per Bothner1-0/+1
1992-05-26 * coff-a29k.c: do byte relocs correctlySteve Chamberlain2-2/+3
* coffcode.h (styp_to_sec_flags): never load INFO sections * seclet.c (rel): don't relocate INFO sections
1992-05-2629k const fixSteve Chamberlain1-0/+9
1992-05-26Fix some typosSteve Chamberlain1-2/+2
1992-05-26This is a test to see if the file is still locked.Steve Chamberlain1-4/+8
1992-05-26Lots of changes from gas-bfd work. Includes:Ken Raeburn5-113/+344
* working reloc lookup support * better support for creation of COFF files from scratch * misc doc changes, macro tweaks, "const" additions, typo fixes, etc. * one or two ugly kludges that should get cleaned up (but what's one or two more, in BFD?) See ChangeLog for details.
1992-05-26Lots of changes from gas-bfd work. Includes:Ken Raeburn1-0/+86
* working reloc lookup support * better support for creation of COFF files from scratch * misc doc changes, macro tweaks, "const" additions, typo fixes, etc. * one or two ugly kludges that should get cleaned up (but what's one or two more, in BFD?) See ChangeLog for details.
1992-05-20A couple of things from the net.David Henkel-Wallace3-16/+309
1992-05-18Fix various protos so bfd/binutils compile on sun3 with gccSteve Chamberlain1-4/+6
1992-05-17fix declaration of freeK. Richard Pixley1-0/+4
1992-05-12Tue May 12 14:08:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain2-3/+24
* coff-a29k.c (perform_reloc): fix bug in jmp/call evaluation * coff-h8300.c (reloc_processing): all relocs are relative to section start. * opncls.c: don't use fdopen on DOS systems short patches from Glenn Kasten (glenn@ready.com) * target.c: enabled oasys support * oasys.c: Insert . when UNDERSCORE_HACK is enabled, fix problem where a relocation which crossed a modification byte boundary did not work. Fix problem where a relocation near the end of a data record did not work.
1992-05-12Add definition of freeSteve Chamberlain1-0/+2
1992-05-08Compile with accSteve Chamberlain1-2/+5
1992-05-06fix cc compile failureK. Richard Pixley1-1/+0
1992-05-05Renamed dup other_dup to stop conflict on irisSteve Chamberlain1-0/+1347
1992-05-05* bfd-in.h: Increase version number to 1.97, for consistency with ../binutils.Per Bothner1-0/+6
* Makefile.in: docdir is ./doc, not ${srcdir}/doc.
1992-05-05Get rid of bogus comment in compiler command rule.Per Bothner1-1/+1
1992-05-05LintSteve Chamberlain1-1/+1
1992-05-04 * bfd-in.h: bump version to 1.96Steve Chamberlain4-11/+32
Major change; changed calling convention for bfd_get_relocated_section_contents so that caller allocates memory for section data. * coffcode.h (bfd_coff_get_relocated_section_contents), reloc.c, seclet.c, targets.c, bfd.c: reflect new convention. * coffcode.h (styp_to_sec_flags): if styp_flags is not a special case, then use reasonable default values for SEC_* flags.
1992-05-02 * coffcode.h (coff_write_object_contents): use RELSZ to work outSteve Chamberlain1-0/+2
size of output reloc struct.
1992-05-02 * coffcode.h (coff_write_object_contents): use RELSZ to work outSteve Chamberlain1-3/+19
size of output reloc struct.
1992-05-02new_bfd_contained_in : Inherit target->defaulted from parentSteve Chamberlain1-3/+6
1992-05-02 * targets.c, Makefile.in: comment out tekhex for the moment.Steve Chamberlain4-97/+120
* ieee.c: if some places where null pointers were used instead of &bfd_abs_section. * configure.in: tandem target is st2000 * coff-m68k.c: rename static howto_table to global m68kcoff_howto_table. * bout.c: remove unnecessary abort
1992-05-01 * coff-a29k.c: various changes to the way relocations work to copeSteve Chamberlain3-151/+167
with the "new order" and latent bugs. * coffcode.h: lint