Commit Graph

3737 Commits

Author SHA1 Message Date
Nick Clifton
5aa6fe96a0 Use signed comparisons against addend. 1998-06-08 22:22:21 +00:00
Nick Clifton
0203fbf278 Add prototypes. 1998-06-06 07:42:09 +00:00
Nick Clifton
7c3b369de0 Add prototypes. 1998-06-06 07:32:18 +00:00
Nick Clifton
40afcc4cd4 sort sections by LMA then VMA. 1998-06-06 00:28:46 +00:00
Nick Clifton
c84c3b965c Add prototypes for static functions.
Chnage type of addend from long to bfd_vma.
1998-06-06 00:23:25 +00:00
Ian Lance Taylor
118bd5952f * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use
complain_overflow_signed instead of complain_overflow_bitfield.
1998-06-05 22:19:09 +00:00
Ian Lance Taylor
5e3da1b0d3 Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf.c (elf_map_symbols): Don't add section VMA to symbol value
	when comparing against 0.
1998-06-05 19:17:08 +00:00
Ian Lance Taylor
2edb8195a9 * Makefile.am (config.status): New target.
* Makefile.in: Rebuild.
1998-06-03 21:53:14 +00:00
Doug Evans
24a459d631 * elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use
Elf32_Dvp_External_Overlay instead of 64 bit version.
1998-06-03 18:42:31 +00:00
Stan Cox
f5bb0acb5a Give error if previous object endianness doesn't match the current one. 1998-06-03 16:20:48 +00:00
Nick Clifton
cfba9ab0ac Fixed private data printing to include program headers. 1998-06-03 00:51:58 +00:00
Ian Lance Taylor
0e039bdc1b * elflink.h (elf_merge_symbol): Don't always set type_change_ok
and size_change_ok.
 	(elf_link_add_object_symbols): Set type_change_ok and
	size_change_ok before calling elf_merge_symbol.
1998-06-02 21:16:06 +00:00
Ian Lance Taylor
d212bfa723 * elf32-mips.c (mips_elf_relocate_section): If we issue an
undefined symbol error, don't also issue an overflow error.
1998-06-02 19:30:09 +00:00
Ian Lance Taylor
defc0050f4 Tue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_relocate_section): The target of an
	R_PPC_LOCAL24PC relocation should be local; if not, print an error
	message instead of crashing.
1998-06-02 18:15:42 +00:00
Ian Lance Taylor
9591998dbf Mon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il>
* archures.c (bfd_mach_cpu32): Define.
	(bfd_default_scan): Add case for 68060.  Fix 68332 case to use
	bfd_mach_cpu32.
	* cpu-m68k.c (arch_info_struct): Add m68k:cpu32.
	* ieee.c: Include <ctype.h>.
	(ieee_object_p): Parse out process ID string to make it more
	likely to be acceptable for bfd_scan_arch.
	* bfd-in2.h: Rebuild.
1998-06-01 22:25:37 +00:00
Nick Clifton
5872728aba Fix PHDRS test in linker testsuite by also dumping program header output
when displaying private data.
1998-06-01 18:13:33 +00:00
Ian Lance Taylor
179ac41c63 * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than
0x68.  Reindent.  Add some comments.
1998-06-01 16:15:08 +00:00
Doug Evans
edac2b4c88 * elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link
field of .DVP.ovlytab to .DVP.ovlystrtab's section index.
	(_bfd_mips_elf_section_from_shdr): Recognize SHT_DVP_OVERLAY_TABLE
	and SHT_DVP_OVERLAY.
	(_bfd_mips_elf_fake_sections): Ditto.
1998-05-31 23:14:40 +00:00
Nick Clifton
e5fc780949 Partial fix for PR 15929 - Change physical address of segment when its
sections' LMAs have changed.
1998-05-29 17:00:08 +00:00
Stan Cox
e838aeea64 Added BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le. 1998-05-27 15:41:27 +00:00
Stan Cox
fc23c14efc sparclite 86x big endian instruction / little endian data support. 1998-05-27 01:06:20 +00:00
Nick Clifton
5422c7498b Fix operator precedence in if() statement. 1998-05-21 23:59:59 +00:00
Ian Lance Taylor
71842815b0 * reloc.c (bfd_check_overflow): Add casts before shifts which may
not fit in 32 bits.
	(_bfd_relocate_contents): Likewise.
1998-05-19 22:45:38 +00:00
Nick Clifton
be461cc321 Fix nightly testing bug. 1998-05-18 21:47:54 +00:00
Richard Henderson
b0f7df0653 * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
(elf64_alpha_can_merge_gots, elf64_alpha_merge_gots,
        elf64_alpha_size_got_sections): Rewrite, handling multiple got
        subsections during relaxation more correctly.
1998-05-18 07:14:11 +00:00
Nick Clifton
7c511326e8 Add support for interwotking between Thumb code and non-interworking aware ARM code. 1998-05-14 21:29:28 +00:00
Ian Lance Taylor
980381afd7 If sysdep.h includes a header file, don't include it again:
* aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
	<errno.h>.
	* aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
	<sysdep.h>.
	* archive.c: Don't include <string.h> or <errno.h>.
	* evax-alpha.c; Don't include <stdio.h>.
	* evax-egsd.c: Likewise.
	* evax-etir.c: Likewise.
	* evax-misc.c: Likewise.
	* evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
	* hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
	<errno.h>.
	* hpux-core.c: Likewise.
	* netbsd-core.c: Likewise.
	* som.c: Likewise.
	* libbfd.c: Don't include <sys/types.h>.
	* nlmcode.h: Don't include <string.h>.
	* osf-core.c: Don't include <string.h> or <stdio.h>.
	* ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
	<errno.h>, or <unistd.h>.
	* trad-core.c: Don't include <stdio.h> or <sys/types.h>.
1998-05-07 22:05:46 +00:00
Ian Lance Taylor
62ebd0a880 * filemode.c: Remove; not used. 1998-05-07 22:05:13 +00:00
Ian Lance Taylor
4c7f1d4109 Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de>
* configure.com: If the version number can not be found in
	configure.in, set it to "unknown" rather than "2.8.1".
1998-05-07 17:13:37 +00:00
Ian Lance Taylor
e888ecaacf fix sanitization of elf32-mips.c 1998-05-07 16:13:49 +00:00
Ian Lance Taylor
c2400a02de fix gettext sanitization 1998-05-06 18:15:00 +00:00
Gavin Romig-Koch
f5916da7d0 * elf32-mips.c (elf_mips_mach): New.
(_bfd_mips_elf_object_p): Use elf_mips_mach.
	(_bfd_mips_elf_final_write_processing): Use the names
	of machines, rather than the numbers.  Set both the ARCH
	and MACH in e_flags.  Handle a few more specific machines.
	(_bfd_mips_elf_merge_private_bfd_data): Merge both
	EF_MIPS_ARCH and EF_MIPS_MACH.
	* mips.h (EF_MIPS_MACH,E_MIPS_MACH_*): Added.
1998-05-06 13:48:08 +00:00
Richard Henderson
97ec511fa4 * syms.c (bfd_is_local_label): Revert last change.
* srec.c (srec_write_symbols): Discard debugging symbols.
1998-05-06 04:06:47 +00:00
Ian Lance Taylor
3b9f57c5c0 fix copyright 1998-05-06 03:42:18 +00:00
Ian Lance Taylor
80d30ced0e * som.c: Include <ctype.h>.
* som.h: Don't include sysdep.h.
1998-05-06 03:37:41 +00:00
Tom Tromey
fc8ff72d5f * libbfd.h: Rebuilt.
* libbfd-in.h: Removed gettext includes and defines.
	* sysdep.h: Moved gettext-related includes and defines here.
1998-05-06 01:07:41 +00:00
Richard Henderson
4aa65bb8c1 * srec.c (srec_write_symbols): Use bfd_is_local_label rather than
an ad-hoc test.  Kill bogus #if 0 code.
        * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local.

PR 13455
1998-05-05 23:49:26 +00:00
Tom Tromey
766dcecc99 * libbfd.h: Rebuilt.
* libbfd-in.h (_): Define as dgettext.
1998-05-04 16:52:21 +00:00
Ian Lance Taylor
d116929ee7 * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma,
not signed.
	* peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS
	when declaring parameter types.
	(pe_saved_coff_bfd_copy_private_bfd_data): Likewise.
1998-05-04 15:03:38 +00:00
Ian Lance Taylor
b18c9753ca add overview information and ELF segment information 1998-05-02 16:06:32 +00:00
Ian Lance Taylor
d8dedd7946 fix TeX problems 1998-05-01 23:11:19 +00:00
Ian Lance Taylor
5de8088770 add target vector documentation 1998-05-01 22:44:27 +00:00
Ian Lance Taylor
d1d5d252c4 add relocation code and ELF docs 1998-04-29 20:15:19 +00:00
Ian Lance Taylor
92769ae949 * config.bfd: If we include any ELF targets in targ_defvec and/or
targ_selvecs, then add the generic ELF targets to targ_selvecs.
	* elf32-gen.c (dummy): New static const variable.
	(elf_generic_info_to_howto): New static function.
	(elf_generic_info_to_howto_rel): New static function.
	(elf_info_to_howto): Define as elf_generic_info_to_howto.
	(elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel.
	* elf64-gen.c: Same changes as elf32-gen.c.
	* elfcode.h (elf_object_p): For the generic target, ignore a
	failure of bfd_default_set_arch_mach.  Fix indentation a bit.
1998-04-29 19:38:38 +00:00
Tom Tromey
5873cbec2b Fixed xgettext invocation in .Sanitize files 1998-04-29 00:11:07 +00:00
Ian Lance Taylor
351fc10beb * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
* configure: Rebuild.
1998-04-29 00:06:18 +00:00
Ian Lance Taylor
accf488e25 add title, fix some minor problems 1998-04-28 21:18:23 +00:00
Ian Lance Taylor
508fa296e1 add a section on relocations 1998-04-28 19:37:19 +00:00
Jason Molenda
1142c24124 Tue Apr 28 12:16:57 1998 Jason Molenda (crash@bugshack.cygnus.com)
* config.bfd:  Update OSR5/Unixware patterns.
1998-04-28 19:18:10 +00:00
Ian Lance Taylor
5e04ff140d remove PR numbers 1998-04-28 02:31:15 +00:00