Commit Graph

3716 Commits

Author SHA1 Message Date
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
Richard Henderson
4d6f96ebe7 * elf.c (assign_file_positions_for_segments): Allow for holes
between sections added by a link script.

PR 15645
1998-04-28 01:03:42 +00:00
Ian Lance Taylor
c91a48dd42 * bfdint.texi: New file.
* Makefile.am (noinst_TEXINFOS): New variable.
	* Makefile.in: Rebuild.
1998-04-28 00:20:27 +00:00
Ian Lance Taylor
d510976d2a * configure.in: Change version number to 2.9.4
* configure: Rebuild.
1998-04-27 19:44:13 +00:00
Ian Lance Taylor
0d3887ba8f Based on patch from H.J. Lu <hjl@gnu.org>:
* elf.c (bfd_elf_get_bfd_needed_list): New function.
	* bfd-in.h (bfd_elf_get_bfd_needed_list): Declare.
	* bfd-in2.h: Rebuild.
1998-04-27 15:51:27 +00:00
Richard Henderson
dbcd157d76 * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other.
Change all users.
1998-04-26 03:09:20 +00:00
Richard Henderson
2506b5688c * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members.
(elf64_alpha_relax_section): Fill them in.
        (elf64_alpha_relax_opt_call): Implement more than a stub.
        (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default
        alignment on .scommon.
        (elf64_alpha_merge_gots): Merge use counts as well.
1998-04-26 01:33:51 +00:00
Richard Henderson
986c3691f2 * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section
for calculating a local symbol's address.
        (elf64_alpha_calc_got_offsets): Skip entries with 0 use count.
        Set the .got's cooked size as well as the raw size.
1998-04-25 21:10:01 +00:00
Nick Clifton
05c07e2968 Added internationalisation macros to printed infoamrion in
v850_elf_print_private_data
1998-04-24 16:18:41 +00:00
Ian Lance Taylor
016b7b4bdc * syms.c (struct indexentry): Change directory_name, file_name,
and function_name fields to char *.
	(struct stab_find_info): Change cached_file_name field to char *.
1998-04-24 16:10:07 +00:00
Nick Clifton
fd1b5eb76a Added missing internationalisation macros. 1998-04-24 16:06:26 +00:00
Nick Clifton
701552a5a1 Fixed internationalisation. 1998-04-23 15:15:27 +00:00
Tom Tromey
d6f3da9bc4 If xgettext fails, make Sanitize fail 1998-04-23 05:17:30 +00:00
Tom Tromey
3d96e9b4cf .Sanitize now re-computes gettext-related files 1998-04-22 22:40:45 +00:00
Tom Tromey
1158ffaf2a * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). 1998-04-22 22:34:05 +00:00
Ian Lance Taylor
fa46686469 x 1998-04-22 22:01:00 +00:00
Tom Tromey
4725e922ef * libbfd-in.h: Use gettext' and not dgettext' for now. 1998-04-22 19:14:03 +00:00
Ian Lance Taylor
a46abdd087 * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl.
* Makefile.in: Rebuild.
1998-04-22 17:39:16 +00:00
Ian Lance Taylor
3f4606a0f1 * bfd-in2.h: Rebuild for Nick's changes. 1998-04-22 16:54:08 +00:00
Ian Lance Taylor
7d2ac7015e fix sanitization for gettext changes 1998-04-22 16:00:14 +00:00
Richard Henderson
b65c61635f * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last
change wrt length == max_namelen.
1998-04-22 06:13:38 +00:00
Tom Tromey
53d3ce37d4 * Many files: Added gettext invocations around user-visible
strings.
	* libbfd-in.h: Added gettext includes and defines.
	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
	HAVE_LC_MESSAGES): Define.
	* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
	po/Makefile.
	* Makefile.am (SUBDIRS): Added po.
	(POTFILES): New macro.
	(po/POTFILES.in): New target.
	(SOURCE_HFILES): New macro.
	(HFILES): Use it.
	* po/Make-in, po/POTFILES.in, po/bfd.pot: New files.
1998-04-22 05:13:54 +00:00