aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1993-06-29 * coff-mips.c (ecoff_find_nearest_line): If procedure has no lineIan Lance Taylor1-0/+10
number information, return 0 for line number.
1993-06-28* hosts/riscos.h: Define NBPG and UPAGES.Jim Kingdon1-0/+4
1993-06-27elf32.c (slurp_symbol_table): fix cast-as-lvalue bugKen Raeburn1-0/+5
1993-06-26 * aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):David MacKenzie2-56/+105
Use unsigned hash values for better hashing. (hash): Hash in the string length for long strings. * aoutx.h (compare): Replace 3 if's with a subtraction. (translate_to_native_sym_flags, add_to_stringtab): Reorder tests in decreasing order of success, as an optimization. (hash): Take a length arg; ignore chars after #25, for speed. (add_to_stringtab): Pass length to hash.
1993-06-24Thu Jun 24 17:25:51 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)Ken Raeburn2-8/+67
* elfcode.h (elf_new_section_hook): Do nothing for now. (elf_write_object_contents): Output common symbols the way ELF wants them. Wed Jun 23 16:20:07 1993 Ken Raeburn (raeburn@poseidon.cygnus.com) * libelf.h (struct elf_obj_tdata and associated macros): Moved here from elfcode.h. A couple of size-specific structure pointers were changed to PTR; uses fixed appropriately. (elf32_symbol_type, elf64_symbol_type): Separated definitions. (bfd_elf_mkobject): Renamed from bfd_elf32_mkobject. (bfd_elf32_mkobject, bfd_elf64_mkobject, elf_mkobject): New temporary macros to ease name change. * elf.c (elf_read, elf_mkobject, elf_get_str_section, elf_string_from_elf_section, bfd_elf_find_section): Moved here from elfcode.h. * doc/Makefile.in (libbfd.h): Process elf.c too. * Makefile.in (elf.o): Note new dependencies. * elfcode.h: Lots of stuff moved elsewhere. Deleted some unused code, tweaked some debug hooks. (elf_slurp_reloca_table): Translate ELF section symbols into BFD section symbols.
1993-06-24Get 64bit stuff right.Steve Chamberlain1-2/+2
1993-06-23 * hosts/riscos.h: New file.Jim Kingdon3-0/+20
1993-06-22 * aoutx.h (howto_table_ext): Comment the field names.David MacKenzie1-0/+5
* reloc.c (bfd_perform_relocation): Fix max and min values.
1993-06-22elfcode.h:bfd_section_from_shdr changeKen Raeburn1-0/+5
1993-06-22 * hosts/std-host.h: Return value of puts and fputs is int not void.Jim Kingdon2-2/+11
1993-06-22Sigh. Null pointer return might be right in some cases; don't abort.Ken Raeburn1-2/+0
1993-06-22More get_word/put_word changes.Ken Raeburn1-17/+21
(bfd_section_from_shdr, case SHT_PROGBITS): If section already exists, still use its address to fill in the rawdata slot. (section_from_elf_index): Abort if section pointer is null.
1993-06-22Lots o' changes.Ken Raeburn1-1/+62
Mostly ELF changes, or misc cleanup.
1993-06-22regeneratedKen Raeburn1-2/+2
1993-06-22Use new size-independent elf internal data structures.Ken Raeburn1-98/+113
(put_word, get_word): Define as appropriate for architecture word size. Structure swapping functions changed to use them as appropriate. (bfd_add_to_strtab): Now static. (sym_is_global): New function. (elf_map_symbols): Call it. Now returns void. Removed unused local variable. (bfd_section_from_shdr): Mark string tables other than for section and symbol names as normal sections having contents. (fix_up_strtabs): New function; fixes up ELF header fields for stab sections with string tables associated. (elf_write_object_contents): Map fix_up_strtabs over all BFD sections. Reordered condition tests for symbol flags; default to local-object value instead of global-object. (elf_symbol_from_bfd_symbol): Hid conditionally-used variable inside condition test. (elf_print_symbol): Use fprintf_vma. (elf_idx_of_sym, bfd_shdr_from_section): Unused functions commented out.
1993-06-22Use new size-independent elf internal data structures.Ken Raeburn1-6/+7
1993-06-22Use new size-independent versions of elf internal data structures.Ken Raeburn2-10/+9
1993-06-22Before casting a pointer into an integer field, verify that the field isKen Raeburn1-0/+14
wide enough to hold it.
1993-06-22(srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide forKen Raeburn1-11/+31
printf to handle.
1993-06-22Don't define int64 stuff here.Ken Raeburn1-24/+0
1993-06-21make mips-sony-bsd workJim Kingdon2-0/+6
1993-06-21fix typo in name of elf32-generic.cJim Kingdon1-1/+1
1993-06-21Add news.h to list of files to keep.Fred Fish1-0/+1
1993-06-21Add elf32-generic.c to list of files to keep.Fred Fish1-1/+2
1993-06-21Recent changes, mostly ELF and bfd.h generation.Ken Raeburn1-0/+32
1993-06-21* elfcode.h (bfd_add_to_strtab): Now static.Ken Raeburn1-123/+201
(sym_is_global): New function. (bfd_section_from_shdr): Makr stirng tables other than for section and symbol names as normal sections having contents. (fix_up_strtabs): New function; fixes up ELF header fields for stab sections with string tables associated. (elf_write_object_contents): Map fix_up_strtabs over all BFD sections. Reordered condition tests for symbol flags; default to local-object value instead of global-object. * elfcode.h (new_section_hook): Define here.
1993-06-21Regenerated after my changes to bfd-in.h.Ken Raeburn1-4/+2
1993-06-21Regenerated after Kingdon's changes to cache.c.Ken Raeburn1-23/+24
(Declaration for bfd_cache_init is gone now.)
1993-06-21No longer use dummy new-section-hook.Ken Raeburn1-1/+0
1993-06-21Generate bfd.h in current directory by grabbing 64-bit definition (if any)Ken Raeburn1-15/+7
from sysdep.h (and nothing else) and inserting it into bfd-in2.h. Remove ../include/bfd.h if found, in case it's left over from previous versions of this code.
1993-06-21Change insertion marker for new bfd.h generation scheme.Ken Raeburn1-4/+2
1993-06-19 * reloc.c (bfd_perform_relocation): Check for overflow onDavid MacKenzie2-97/+239
pc-relative relocations if the howto asked for it.
1993-06-18 * Makefile.in (stmp-bfd.h): Ignore nonzero exit status from grep.Jim Kingdon2-1/+5
1993-06-18 * config/riscos.m{h,t}: New files.Jim Kingdon2-8/+56
* configure.{host,in}: Use them.
1993-06-18comment change. This is a mips file, not 88k.K. Richard Pixley1-0/+4
1993-06-18 * cache.c (bfd_cache_init): Increment open_files and call close_oneJim Kingdon1-0/+13
if necessary. (bfd_open_file): Don't increment open_files here.
1993-06-18 * config/delta88.mh: Don't set CC.Jim Kingdon1-0/+2
1993-06-18#if 0 out some more declarations which conflict with system headersJim Kingdon1-0/+3
1993-06-18new fileJim Kingdon1-0/+36
1993-06-18 * Makefile.in: Add elf32-{mips,m88k,generic}.Jim Kingdon3-7/+3349
elf32-{mips,m88k,generic}.c: New files. targets.c (target_vector): Include bfd_elf32_{mips,m88k,generic}_vec. elfcode.h (elf_object_p): Match elf32-generic for all machines which don't match a different target.
1993-06-18 * cache.c, bfd-in.h: New function bfd_make_cacheable.Jim Kingdon1-0/+36
opncls.c (bfd_fdopenr): Suggest it in the comment. * cache.c (bfd_cache_init): Increment open_files.
1993-06-18 * Makefile.in: Add elf32-{mips,m88k}.Jim Kingdon4-4/+22
elf32-{mips,m88k}.c: New files. targets.c (target_vector): Include bfd_elf32_{mips,m88k}_vec.
1993-06-18Eliminate "int8_type", "int16_type", "int32_type", and theirJohn Gilmore28-485/+13
variants from the BFD universe. Leave the 64-bit types for now, since they are in flux. * hosts/*.h: Remove declarations of all these types.
1993-06-18Eliminate "int8_type", "int16_type", "int32_type", and theirJohn Gilmore3-111/+153
variants from the BFD universe. Leave the 64-bit types for now, since they are in flux. * aoutx.h, hp300hpux.c: Eliminate needless (int32_type) casts. * libaout.h (GET_SWORD): Convert (int32_type) to (int). * ieee.c: Convert uint8e_type => unsigned char. * oasys.c: Extensive changes to eliminate obsolete types. These depend on changes in ../include/oasys.h as well.
1993-06-18 * hosts/delta88.h: #if 0 out some declarations which conflict withJim Kingdon2-0/+20
system headers.
1993-06-16allow "make bfd.h" to still dtrtKen Raeburn1-0/+1
1993-06-16updatedKen Raeburn1-0/+1709
1993-06-16Move bfd.h to ../include. (Directory is created if it doesn't exist.)Ken Raeburn1-58/+72
Insert sysdep.h into it, so manually including it isn't required for every single file using bfd.h. Search ../include when compiling.
1993-06-16Put in marker for sysdep.h inclusion.Ken Raeburn1-10/+52
(int64_type, uint64_type): Define when using "long long" fallback for HOST_64_BIT.
1993-06-16comment branches in ARCH_SIZE testKen Raeburn1-8/+10