Doug Evans
f8ca1a47e6
Fix 4320 sanitization.
1998-03-04 21:14:50 +00:00
Gavin Romig-Koch
ad4413e67c
* mips-cpu.c: Reorganize sanitization.
...
* archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320.
1998-03-03 16:31:21 +00:00
Ian Lance Taylor
3c9f13f43f
* configure.in: Add elf.lo to elf shell variable.
...
* Makefile.am (BFD_LIBS): Remove elf.lo.
(BFD_LIBS_CFILES): Remove elf.c.
(BFD32_BACKENDS): Add elf.lo.
(BFD32_BACKENDS_CFILES): Add elf.c.
* configure, Makefile.in: Rebuild.
1998-02-24 00:53:38 +00:00
Ulrich Drepper
b35d842de7
(elf_i386_relocate_section): A pc-relative relocation against a
...
now-local symbol should not have a dynamic relocation.
1998-02-23 23:58:16 +00:00
Ian Lance Taylor
b1f09b637e
* peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
...
COFF filehdr flags.
(pe_print_private_bfd_data): Print PE flags. From Mikey
<jeffdb@netzone.com>.
1998-02-23 21:18:30 +00:00
Ian Lance Taylor
bdd5e0232a
remove sparclinux.h
1998-02-23 04:53:58 +00:00
Richard Henderson
2f53b8ff40
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
...
a plt entry when we can determine that we authoritatively define
the symbol.
1998-02-23 04:41:18 +00:00
Richard Henderson
07fafd5d88
* configure.in (COREFILE selection): Remove sparc-*-linux*. They
...
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.
1998-02-23 04:37:04 +00:00
Doug Evans
5871376494
* config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.
1998-02-18 04:04:07 +00:00
Ian Lance Taylor
5290378abc
* libbfd.c (bfd_seek): If fseek fails, save errno around call to
...
bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.
1998-02-17 18:02:55 +00:00
Ian Lance Taylor
004040c93b
rebuild with new automake
1998-02-13 19:44:27 +00:00
Ian Lance Taylor
cf4ce8779a
x
1998-02-13 18:39:49 +00:00
Ian Lance Taylor
6e639e5d7b
* Makefile.am (libbfd_la_LDFLAGS): Define.
...
* Makefile.in: Rebuild.
1998-02-13 18:12:58 +00:00
Ian Lance Taylor
f53bcd0a9c
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* netbsd.h (MACHTYPE_OK): Define.
(MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when
calling N_SET_MACHTYPE, rather than having a switch.
* libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD,
and M_ALPHA_NETBSD.
* i386netbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68k4knetbsd.c (SEGMENT_SIZE): Don't define.
(MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68knetbsd.c: (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* ns32knetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* sparcnetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
1998-02-13 00:11:41 +00:00
Ian Lance Taylor
eee4e8ca3e
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* vaxnetbsd.c: New file.
* netbsd-core.c: Clean up. Remove unused macros. Use netbsd
rather than netbsd_core.
* targets.c (vaxnetbsd_vec): Declare.
(bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is
defined, add netbsd_core_vec.
* configure.in: Set COREFILE for alpha*-*-netbsd* and
powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild.
1998-02-12 23:03:13 +00:00
Ian Lance Taylor
23b6505c78
update bug-gnu-utils address
1998-02-12 18:35:59 +00:00
Richard Henderson
ba47566751
* tekhex.c (tekhex_write_object_contents): Call tekhex_init.
...
PR 14804
1998-02-12 01:12:14 +00:00
Nick Clifton
bae2276c5b
Do not complain when merging m32r binaries into m32rx binaries.
1998-02-11 00:13:05 +00:00
Nick Clifton
9cca77627b
Fix PR14909 by reducing the paranoia in locating the assocaueted HI16S reloc
...
of a LO16 reloc.
1998-02-10 23:40:20 +00:00
Doug Evans
9eb7b67b39
* archures.c (bfd_mach_dvp_{vif,gif}): Renamed from ..._{pke,gpuif}.
...
(bfd_txvu_arch): Delete.
* cpu-mips.c (arch_info_struct): dvp:{vif,gif} renamed from
dvp:{pke,gpuif}.
* bfd-in2.h: Regenerate.
1998-02-10 21:32:14 +00:00
Ian Lance Taylor
5303c57477
* configure.in: Change -linux* to -linux-gnu*.
...
* config.bfd, configure.host: Likewise.
* configure: Rebuild.
1998-02-10 20:04:48 +00:00
Nick Clifton
6aa32b907b
(PR14907) Fix HI16S/LO16 relocations when buf[-1] is evaluated.
1998-02-10 03:55:57 +00:00
Ian Lance Taylor
7ee4e307d6
* configure, aclocal.m4: Rebuild with new libtool.
1998-02-07 20:35:04 +00:00
Nick Clifton
8b6dcc1bb9
Do not initialise private data in output BFD if the input BFD is the default
...
architecture - instead allow future merges to do this.
1998-02-07 01:06:49 +00:00
Nick Clifton
75172c0f50
Do not generate an error message when merging v850 code into v850e/v850ea code.
1998-02-06 22:53:35 +00:00
Jeff Law
bb1fd71fc5
Add missing sanitize markers in last ChangeLog entry.
1998-02-06 22:35:05 +00:00
Jeff Law
6f84b00f99
* cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits.
1998-02-06 22:30:45 +00:00
Jeff Law
9b47bc23b8
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR
...
get the size from bfd_arch_bits_per_address instead of directly
from the isa.
1998-02-06 18:50:34 +00:00
Ian Lance Taylor
1f2864765c
* coff-i386.c (coff_pe_i386_relocate_section): New static function
...
if COFF_WITH_PE.
(coff_relocate_section): If COFF_WITH_PE, define as
coff_pe_i386_relocate_section.
* coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE,
skip empty sections, to match coff_write_object_contents.
1998-02-05 20:25:31 +00:00
Michael Meissner
b494ec3e81
Do not allow BFD_ALIGN to wrap
1998-02-05 19:38:28 +00:00
Michael Meissner
29b7118aec
Do not allow BFD_ALIGN to wrap
1998-02-05 19:29:29 +00:00
Ian Lance Taylor
4ea6538794
* elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend,
...
rather than swapping out r_offset twice. From Luke Deller
<luked@cse.unsw.edu.au>.
1998-02-05 16:52:22 +00:00
Ian Lance Taylor
9a8379033e
* configure.in: Set libtool_enable_shared rather than
...
libtool_shared. Remove diversion hack.
* configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild
with new libtool.
1998-02-05 00:16:01 +00:00
Ian Lance Taylor
68d864d786
Wed Feb 4 16:10:21 1998 Brent Baccala <baccala@freesoft.org>
...
* syms.c (struct stab_cache): Define.
(struct stab_find_info): Remove cached_offset, cached_stab,
cached_str, and cached_stroff fields. Add file_cache,
function_cache, and line_cache fields.
(_bfd_stab_section_find_nearest_line): Use extensive caching to
speed up searches.
1998-02-04 21:18:25 +00:00
Ian Lance Taylor
7f84fa70cf
* peicode.h (pe_print_idata): Check for import of ordinal rather
...
than name.
(pe_print_edata): If there is no .edata section, look for the
export data in some other section.
1998-02-04 18:35:46 +00:00
Jason Molenda
229811d190
* configure.in: Change version to 2.8.4.
...
* configure: Regenerated.
GDB 4.17 is going to use BFD-2.8.3, so bump to 2.8.4 to avoid conflicts.
1998-02-03 04:09:26 +00:00
Ian Lance Taylor
e8f2efef4d
* Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force
...
make to reexamine the file timestamp.
($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise.
Mon Feb 2 17:39:39 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Add tms320c30 support:
* cpu-tic30.c: New file.
* aout-tic30.c: New file.
* coff-tic30.c: New file.
* archures.c (bfd_arch_tic30): Define.
(bfd_tic30_arch): Declare.
(bfd_archures_list): Add bfd_tic30_arch.
* targets.c (bfd_target_vector): Add tic30_aout_vec and
tic30_coff_vec.
* reloc.c (BFD_RELOC_TIC30_LDP): Define.
* coffcode.h (coff_set_arch_mach_hook): Add tic30 case.
(coff_set_flags): Likewise.
* config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets.
* configure.in (tic30_aout_vec, tic30_coff_vec): New vectors.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-tic30.lo.
(ALL_MACHINES_CFILES): Add cpu-tic30.c.
(BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo.
(BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
1998-02-02 22:49:54 +00:00
Nick Clifton
581d7269d0
Allow HI16_S reloc to lag behind LO16 reloc by a couple of instructions.
1998-02-02 20:37:53 +00:00
Ian Lance Taylor
1a58a2d805
* elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from
...
0x100000.
1998-02-02 19:15:33 +00:00
Doug Evans
c44b38d742
* elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true
...
and partial_inplace=false.
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.
1998-01-31 00:11:35 +00:00
Doug Evans
c62a82b5a0
* elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true.
...
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.
1998-01-31 00:11:34 +00:00
Ian Lance Taylor
8a5863beeb
Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
...
* elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure
to create .dynsbss and .rela.sbss sections.
(ppc_elf_adjust_dynamic_symbol): Put space for small data to be
copied from dynamic objects into .sbss.
(ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't
use it. Correct typo of .rela.sdata2.
(ppc_elf_finish_dynamic_symbol): Generate reloc to where we
put the data, which may now be in .sbss.
(ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss.
(elf_backend_create_dynamic_sections): Define as
ppc_elf_create_dynamic_sections.
* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
against _GLOBAL_OFFSET_TABLE_.
(ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
shared libraries which refer to local symbols. Make sure that the
test for allocating space for a reloc in a shared object is the
same as the test for emitting a reloc.
1998-01-31 00:11:33 +00:00
Doug Evans
4ae438d7db
Fix date in one entry.
1998-01-30 13:47:05 +00:00
Doug Evans
3134a2bdac
* elf32-mips.c: Add dvp support.
1998-01-29 20:58:50 +00:00
Ian Lance Taylor
847b962945
Thu Jan 29 15:55:35 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
...
* config.bfd (i[3456]-*-mingw32*): New target.
* acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32.
* aclocal.m4, configure: Rebuild.
1998-01-29 20:58:49 +00:00
Doug Evans
a25897a9e5
remove sky stuff from elf32-mips.c
1998-01-29 17:17:15 +00:00
Doug Evans
7948d172e0
txvu support moved into mips [as dvp]
1998-01-29 10:19:35 +00:00
Doug Evans
36df40e0bf
* config.bfd, configure.in: Add dvp support.
...
* configure: Regenerate.
* aclocal.m4: Regenerate.
* archures.c, reloc.c, cpu-mips.c: Add dvp support.
* bfd-in2.h, libbfd.h, libcoff.h: Regenerate.
plus delete old txvu stuff, dvp generates mips files now
1998-01-28 18:42:55 +00:00
Ian Lance Taylor
e6e3d4bdf4
* elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we
...
have a bfd_object.
1998-01-28 18:42:54 +00:00
Doug Evans
cf6f47e20f
remove txvu stuff, now using only mips elf files
1998-01-28 10:44:28 +00:00