Steve Chamberlain
c525c3afcb
Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
...
* coff-sh.c (coff_sh_relocate_section): Don't subtract
vma twice.
1995-01-23 22:57:30 +00:00
Ian Lance Taylor
6e3acf74d0
* coff-sh.c (sh_reloc): Don't ignore the previous contents of an
...
R_SH_IMM32 reloc.
PR 6215.
1995-01-23 22:32:18 +00:00
Ian Lance Taylor
6e7f3f077b
x
1995-01-23 19:01:41 +00:00
Ian Lance Taylor
123bfaa5ec
* opncls.c (bfd_openstreamr): Call bfd_cache_init.
1995-01-23 18:35:07 +00:00
Ian Lance Taylor
04dc16b76b
* sunos.c (sunos_add_one_symbol): Only set the sunos specific
...
fields if we are doing a sunos link.
1995-01-20 16:57:34 +00:00
Ian Lance Taylor
d01a0278a0
* bfd-in.h (bfd_byte, reloc_howto_type): Define here, not...
...
* reloc.c (bfd_byte, reloc_howto_type): here.
* Changed all occurrences of ``const struct reloc_howto_struct''
to be ``reloc_howto_type'' instead.
* bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
Avoids problems with the native Irix 5 compiler.
1995-01-17 21:16:53 +00:00
Ian Lance Taylor
8a51b06cf6
* opncls.c (bfd_openstreamr): New function.
...
* bfd-in2.h: Rebuilt.
1995-01-17 19:26:56 +00:00
Ian Lance Taylor
6a5848cd10
* elf32-mips.c (enum reloc_type): Define new relocs used on Irix.
...
(elf_mips_howto_table): Add entries for new relocs.
(mips_elf_section_from_shdr): Handle SHT_MIPS_MSYM,
SHT_MIPS_DWARF, and SHT_MIPS_EVENTS.
(mips_elf_fake_sections): Handle sections named .msym, .debug_*
and .MIPS.events.*.
1995-01-17 15:55:55 +00:00
Steve Chamberlain
c21b376fc6
* archures.c, Makefile.in, targets.c, bfd-in2.h, coffcode.h,
...
config.bfd, configure.in, config/w65.mt: Initial support for the W65.
1995-01-16 05:39:06 +00:00
Steve Chamberlain
9560e662d0
Sun Jan 15 13:57:45 1995 Steve Chamberlain <sac@splat>
...
* opncls.c (bfd_fdopenr): Configure for WIN32.
1995-01-15 22:04:02 +00:00
Ken Raeburn
c3fcc07805
Makefile changes for arc, rce, diststuff.
...
Const fixes and hex_value changes to various files.
1995-01-12 21:46:17 +00:00
Peter Schauer
b69fe36371
* hosts/symmetry.h: Redefine `shared' to enable compilation
...
with the native Dynix cc compiler.
* i386dynix.c: Include aoutx.h instead of using routines
from aout32.c.
1995-01-12 18:33:52 +00:00
Ken Raeburn
9c84b228d8
Forgot an entry in last checkin:
...
* ecoff.c (ecoff_type_to_string): Local variable `buffer1' doesn't
need to be static.
1995-01-12 02:44:45 +00:00
Ken Raeburn
82b1edf7b9
Change "reloc_howto_type" typedef to be "const", since all uses of it are (or
...
should be) anyways.
1995-01-12 02:41:04 +00:00
Ian Lance Taylor
788d94361f
* sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
...
definition of an absolute symbol is encountered.
1995-01-11 19:42:28 +00:00
Ian Lance Taylor
040c913e18
* linker.c (_bfd_generic_link_add_one_symbol): Ignore
...
redefinitions of an absolute symbol to the same value.
PR 6159.
1995-01-11 19:38:06 +00:00
Ian Lance Taylor
f78b396350
* elfcode.h (elf_link_add_object_symbols): It's reasonable for no
...
flags to be set, so don't insist otherwise.
1995-01-09 20:52:59 +00:00
Ian Lance Taylor
42cf6d7950
* elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
...
undefined or common symbol.
(elf_link_add_object_symbols): Likewise.
1995-01-06 21:50:28 +00:00
Jeff Law
eb57c77670
* som.c (bfd_section_from_som_symbol): Only return sections which
...
correspond to subspaces.
1995-01-05 00:34:07 +00:00
Jeff Law
1b56797098
* som.c (som_begin_writing): Don't forget to bump the
...
total_subspaces when writing the unloadable subspaces.
1995-01-04 21:15:42 +00:00
Jeff Law
c3a1888801
* som.c (som_write_fixups): Use SEC_HAS_CONTENTS to identify
...
bss-like sections.
(som_get_section_contents): Likewise.
(som_set_section_contents): Likewise.
1994-12-29 03:56:20 +00:00
Ken Raeburn
8675437ee1
coffgen.c changes checked in last tuesday -- forgot to check in the log entry
1994-12-27 21:41:33 +00:00
Jeff Law
5faa346b63
* som.c (setup_sections): Turn off SEC_HAS_CONTENTS for bss-like
...
sections.
1994-12-27 21:05:10 +00:00
Ian Lance Taylor
f10d31aa32
* i386linux.c (linux_add_one_symbol): Don't do anything Linux
...
specific if this is not a Linux hash table. From Eric Youngdale
<eric@aib.com>.
1994-12-21 00:46:03 +00:00
Ian Lance Taylor
182b9e9f52
Patches from kkojima@mix.or.jp (Kazumoto Kojima):
...
* mipsbsd.c (mips_howto_table_ext): Change sizes of memory relocs
apply to from two bytes to four bytes.
* MY(reloc_howto_type_lookup): Handle BFD_RELOC_CTOR.
1994-12-21 00:36:26 +00:00
Ken Raeburn
85200ebce9
* elfcode.h (assign_file_positions_except_relocs): In assertion, force all
...
values to the same type.
1994-12-20 20:31:36 +00:00
Steve Chamberlain
e7d9ee909c
* coff-h8300.c (howto_table): All relocs get a special function.
...
(special): Never do anything when linking -r.
1994-12-20 19:13:55 +00:00
Ian Lance Taylor
9b09a01580
* elf32-i386.c (elf_i386_relocate_section): Correct and expand the
...
list of cases for which relocation need not be computed.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
1994-12-20 19:07:11 +00:00
Jeff Law
5874427fb9
* elf32-hppa.c (elf32_hppa_read_symext_info): Delete do_locals and
...
do_globals arguments, always read symbol extension information for
globals and locals. All callers changed.
(elf32_hppa_size_stubs): Rework to only read symbol extension
information once for each input bfd. Another 10% improvement in
linker performance.
1994-12-20 06:17:09 +00:00
Ian Lance Taylor
963747b358
* elfcode.h (elf_section_from_bfd_section): Check
...
bfd_is_abs_section, etc., only after checking for the section in
the BFD and after calling the backend routine.
1994-12-16 17:30:08 +00:00
Ian Lance Taylor
2f19e36d97
* elfcode.h (elf_map_symbols): Only use section symbols whose
...
value is the start of the section, checking output_offset when
using output_section. When creating a new symbol, set the value
to 0, since BFD symbol values are section relative.
1994-12-15 04:41:39 +00:00
Ian Lance Taylor
f5202354c3
* elfcode.h (elf_map_symbols): Only use section symbols whose
...
value is the start of the section.
1994-12-15 01:23:40 +00:00
Ian Lance Taylor
1088e1483c
* cpu-z8k.c (arch_info_struct): Make z8002 the default
...
architecture.
1994-12-13 18:33:05 +00:00
Ian Lance Taylor
a0020ea1a4
* aoutx.h (NAME(aout,link_add_symbols)): Similar change if the
...
first object is not an a.out object.
1994-12-09 22:18:49 +00:00
Ian Lance Taylor
4c124191db
* elfcode.h (elf_bfd_link_add_symbols): If the first object in the
...
archive is not an ELF object, pass the archive to the add_symbols
entry point appropriate for the first object. From Eric Youngdale
<eric@aib.com>.
1994-12-09 17:57:47 +00:00
Ian Lance Taylor
aeec67f08c
* elf32-i386.c (elf_i386_relocate_section): Don't compute
...
relocation in cases where we won't use it.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
1994-12-09 17:44:45 +00:00
Ken Raeburn
f8368802df
* pc532-mach.c (NAME): Define to use ns32kaout prefix.
...
* ns32knetbsd.c (NAME): Ditto.
(ns32kaout_32_get_section_contents): Define to standard aout-32 version.
1994-12-08 20:47:46 +00:00
Ian Lance Taylor
729850916c
* coff-sh.c: Use _bfd_dummy_target instead of no_archive.
1994-11-30 19:14:23 +00:00
David Edelsohn
20e5867807
* config/arc-elf.mt: New file.
1994-11-30 01:35:40 +00:00
David Edelsohn
05cedcf6c1
Initial ARC support.
1994-11-30 01:29:26 +00:00
J.T. Conklin
5b0f1ab5f1
* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
...
* configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
CVSn:
1994-11-29 22:24:39 +00:00
J.T. Conklin
382229dc12
* config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
...
* Makefile.in: Rebuilt dependancies.
(CFILES): Added m68knetbsd.c.
(HFILES): Added netbsd.h.
1994-11-28 23:43:02 +00:00
Steve Chamberlain
7a1d45675e
* coff-sh.c (shlcoff_vec): New target vector.
...
(no_archive): New function.
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
little endian SH.
* configure.in: Handle shl.
* targets.c (bfd_target_vector): Add shlcoff_vec.
* config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.
1994-11-24 03:33:48 +00:00
Jeff Law
150bd9910b
* elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
...
input_section->vma to the relocation's offset.
1994-11-23 06:36:43 +00:00
Ian Lance Taylor
ba3eb9c013
* srec.c (srec_get_reloc_upper_bound): Define.
...
(srec_canonicalize_reloc): Define.
(srec_bfd_reloc_type_lookup): Define.
(srec_vec, symbolsrec_vec): Use BFD_JUMP_TABLE_RELOCS (srec).
PR 5975.
1994-11-21 17:42:04 +00:00
Peter Schauer
ae4471f628
* configure.host (i[345]86-*-solaris*): Use solaris2 to
...
enable extraction of procfs info from core file for GDB.
1994-11-19 11:14:01 +00:00
Ken Raeburn
fca2b81b88
* reloc.c (bfd_reloc_code_type): Add new value BFD_RELOC_12_PCREL.
...
* bfd-in2.h, libbfd.h: Rebuilt.
1994-11-17 22:46:22 +00:00
Jeff Law
b68a74d193
* bfd/elf32-hppa.c (elf32_hppa_bfd_final_link_relocated): Use the
...
vma from the output_section containing $global$ when computing
global_vlaue.
1994-11-17 20:14:19 +00:00
Ian Lance Taylor
cf9557f5ea
* archive.c (_bfd_write_archive_contents): Round up the archive
...
header size of the extended name table to an even number.
1994-11-17 19:32:06 +00:00
Ken Raeburn
f6f350fe5b
* coff-sh.c: Deleted some code that was commented out or inside "#if 0".
...
(COFF_LONG_FILENAMES): Define.
* cpu-sh.c (arch_info_struct): Convert name to lowercase, for consistency with
other architectures.
1994-11-16 22:28:22 +00:00