aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
AgeCommit message (Collapse)AuthorFilesLines
1992-08-24 * coffcode.h (coff_add_missing_symbols): if symbols don't comeSteve Chamberlain1-15/+30
from a coff file (csym is null), dont deref them * ieee.c (parse_expression): get the answer right when adding an abs+(sec+off), (ieee_generic_stat_arch_elt): call ieee_object_p on elts so that filename is filled in.
1992-06-22Lint stuff which didn't make it last timeSteve Chamberlain1-2/+2
1992-06-22Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-14/+3
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-17Don't align sections in I960 coff files.Ken Raeburn1-1/+4
(I know there's a GDB freeze on, but this only affects writing i960 coff files, and Steve needs it ASAP.)
1992-06-16[time to file a PR on cvs...]Ken Raeburn1-1/+5
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-05-2629k const fixSteve Chamberlain1-0/+9
1992-05-26Fix some typosSteve Chamberlain1-2/+2
1992-05-26Lots of changes from gas-bfd work. Includes:Ken Raeburn1-43/+230
* 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-02 * coffcode.h (coff_write_object_contents): use RELSZ to work outSteve Chamberlain1-3/+19
size of output reloc struct.
1992-05-01 * coff-a29k.c: various changes to the way relocations work to copeSteve Chamberlain1-20/+20
with the "new order" and latent bugs. * coffcode.h: lint
1992-02-21 * coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): printsSteve Chamberlain1-121/+120
out tagndx too. * aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output section of a symbol rather than the section of a reffed symbol to determine the r_index of an emmitted reloc.
1992-02-14Fix typeo which crept in between compiling and checking inSteve Chamberlain1-1/+1
1992-02-14 * coffcode.h (get_normalized_symtab): fixed bug where symbolsSteve Chamberlain1-25/+32
with more than one auxent can cause nasty core dumps.
1992-02-07Fluff removal.Steve Chamberlain1-0/+2
1992-02-06 * coffcode.h, libcoff.c: added new fielded to coff_symbol_structSteve Chamberlain1-8/+27
"done_lineno" so that a symbol which appears twice in the symbol table only gets it's linenumbers relocated once. Modifed (coff_write_native_symbol) and (coff_make_empty_symbol) to make
1992-01-28 New entry point in the transfer vector - bfd_relax_section.Steve Chamberlain1-33/+459
* aout-target.h: add to vector, call generic_relax * bfd-in.h: add to vector * bfd.c: add #define for vector * bout.c: add to vector, call generic_relax * coffcode.h: add to vector, also now has coff specific relax code for the relaxable H8/300 relocs. Also clean up abs section cruft. * elf.c: call generic_relax * ieee.c: call new vector, clean up some bugs due to the creation of bfd_abs_section * libbfd.h: add bfd_generic_relax_section EXFUN * oasys.c: call generic_relax * reloc.c: implement generic_relax * seclet.c: moved much of this into coffcode.h * srec.c: call generic_relax * targets.c: define new transfer vector
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-315/+371
Currently self hosts on sun4 and sun3
1991-12-08 * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,Steve Chamberlain1-63/+57
coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, srec.c, syms.c, targets.c : all new documentation and lint removal.
1991-12-07Lint (detected on hp300bsd & sconix)John Gilmore1-30/+15
1991-11-30New documentation styleSteve Chamberlain1-250/+279
1991-11-27 * Makefile.in: added coff-h8300Steve Chamberlain1-143/+222
* configure.in: now h8 is a coff target * cpu-h8300.c: fix various disassembly problems * libcoff.h: took out some code which has been #0ed for a long time. * targets.c: added h8 coff * coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c added new macro RTYPE2HOWTO to take a load of #ifdefs out of coffcode.h * coffcode.h: Started to change the way machine dependencies are handled, from the nest of #ifdefs to macros defined in the including coff-<foo>.c
1991-11-22 * coff-mips.c, coffcode.h: Peter Schauer's patch to kludge inJohn Gilmore1-0/+4
nonstandard MIPS sections (.rdata, .sdata, etc).
1991-11-22const lintJohn Gilmore1-2/+2
1991-11-22ALIGN->BFD_ALIGNJohn Gilmore1-3/+7
1991-11-07Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)Steve Chamberlain1-318/+202
* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for manipulation of lnno fields in lineno structs in a coff-<f>.h independent way. Override it in coff-<f>.h to your favourite number if you don't have a 16bit lnno field. (coff_swap_lineno_in) (coff_swap_lineno_out): modified to use the new macros.
1991-11-03 * bfd-in.h (bfd_print_symbol_type_hopw enum): Add new optionPer Bothner1-0/+1
bfd_print_symbol_nm, for use by nm. * aoutx.h (NAME(aout,print_symbol)): Add code for new bfd_print_symbol_nm option, to print in nm format. * coffcode.h (coff_print_symbol), ieee.c (ieee_print_symbol) oasys.c (oasys_print_symbol): Provide stub implementations for bfd_print_symbol_nm. * syms.c: New function bfd_decode_symclass, used by nm printer. New function bfd_stab_name to look up string name of stab code.
1991-11-01* coff-rs6000.c: Change name to "aixcoff-rs6000", to avoidJohn Gilmore1-3/+39
matching prefix "coff". * coffcode.h (coff_swap_aux_in, coff_swap_aux_out): Handle rs/6000 csect records.
1991-10-25RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.John Gilmore1-313/+405
1991-10-21 * coffcode.h (coff_compute_section_file_positions): make it padSteve Chamberlain1-0/+6
section size out if there are alignment restrictions so that the image will be ok on a system where section positions are worked out by accumulating sizes rather than from the section headers.
1991-10-21 * targets.c (proto write_armap). Changed orl_count to unsigned.Steve Chamberlain1-15/+13
* opncls.c (bfd_close_all_done). Added so that generative programs like gas can close a bfd without causing bfd confusion. * libbfd.h (changed becuase of protos) * amdcoff.c: messed with the way that jmp displacements are calcualated. This may not yet be totally correct. * archive.c (coff_write_armap): rewrote the way that ranlibs are written out. * coffcode.h (fixup_symbol_value): now doesn't core dump if a non abs symbol has no section (like a register symbol). (coff_write_symbol) now zeros auxent before filling it up to help with sensitive applications. * libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-11 * bfd-in.h: Added more macros to COFF_SWAP_TABLE.Steve Chamberlain1-108/+151
* bfd.c: Added macros to enable gas to swap coff records. * coffcode.h: Make the coff_swap_*_out routines return the number of bytes swapped, and cleaned up their prototypes. * configure.in: Added ebmon/coff support * ecoff.c: Changed null definitions of coff_swap_*_out to conform to new prototypes * targets.c: Added new entry points for coff swapping
1991-09-26Lint (saber actually).John Gilmore1-69/+86
1991-08-23saberStu Grossman1-3/+3
1991-08-19Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)Roland Pesch1-13/+13
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c, coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c, syms.c, targets.c (documentation segments): used BFD (caps) more consistently as a name in discourse, fixed a few other minor typos and uses of fonts
1991-08-08Fixed bug where stringtable size wasn't being swapped.Steve Chamberlain1-63/+98
1991-07-19 * newsos3.c, targets.c, coffcode.h: new patches from DavidSteve Chamberlain1-4/+2
Wood
1991-07-16*** empty log message ***Steve Chamberlain1-1/+1
1991-07-15* aoutf1.h archive.c bfd.c coffcode.h core.c ecoff.c ieee.cSteve Chamberlain1-146/+277
bfd.texinfo oasys.c opncls.c reloc.c srec.c: More documentation on lint fixes. * amdcoff.c bfd.texinfo Makefile.in : Folded in changes for amd 29k coff by David Wood (wood@lab.ultra.nyu.edu).
1991-07-09Avoid "statement not reached" error.John Gilmore1-1/+3
1991-07-04Now full of documentation. Yum Yum.Steve Chamberlain1-928/+1425
1991-06-07Added code to deal with filenames less than 9 characters in a COFF file.Sean Eric Fagan1-0/+3
1991-05-30*** empty log message ***Steve Chamberlain1-92/+22
1991-05-25Added 386 support!Steve Chamberlain1-108/+126
1991-05-22* libbfd.c: Now compilesSteve Chamberlain1-0/+2623
* coffcode.h: removed all put_x_<sizes>