Commit Graph

3693 Commits

Author SHA1 Message Date
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
Peter Schauer
d0f44984d1 * elfcore.h (bfd_prstatus): Copy core_prstatus from the first
NT_PRSTATUS note section encountered, it contains the status of
	the currently executing thread when the core file was written.
1998-04-21 20:39:52 +00:00
Nick Clifton
7d6d10f9b3 Arm specific code changed to conform to BFD coding conventions. 1998-04-21 17:07:25 +00:00
Richard Henderson
211b0be8ce * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
elf64_alpha_relax_find_reloc_ofs.  Changed all callers.
(elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss.
(elf64_alpha_size_got_sections): Don't merge .got sections twice.
1998-04-21 07:15:57 +00:00
Richard Henderson
a56e73eda4 * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test. 1998-04-21 07:15:33 +00:00
Jeff Law
14c683b2ab * elf32-mips.c (mips_elf_relocate_section): Do not complain about
an out of range pc-relative jump/call to an undefined weak symbol.
1998-04-18 04:30:09 +00:00
Ian Lance Taylor
216c36d92b * archive.c (bfd_generic_archive_p): If a slurp subroutine returns
an error other than bfd_error_system_call, set the error to
 	bfd_error_wrong_format.
1998-04-16 22:37:40 +00:00
Richard Henderson
eb03bc25f7 * elf64-alpha.c (elf64_alpha_do_reloc_gpdisp): Do all gpdisp
comparisons signed.
1998-04-16 21:06:36 +00:00
Ian Lance Taylor
b3c762555f * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add
bfd_elf32_powerpcle_vec.
1998-04-16 18:47:13 +00:00
Ian Lance Taylor
25e8be1d5c * elf.c (copy_private_bfd_data): If all the p_paddr fields in the
program segments are zero, don't set p_paddr_valid.
1998-04-16 15:45:18 +00:00
Richard Henderson
69842d0884 * elf64-alpha.c: Initial implementation of relaxation --
(struct alpha_elf_link_hash_entry): Add use_count member.
        (elf64_alpha_check_relocs): Initialize and increment it.
        (elf64_alpha_can_merge_gots): Check it when considering merging.
        (elf64_alpha_merge_gots): Drop entries with zero use.
        (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
        (elf64_alpha_always_size_sections): Split out got sizing ...
        (elf64_alpha_size_got_sections): ... here.  New function.
        (elf64_alpha_relax_find_reloc_ofs): New function.
        (elf64_alpha_relax_with_lituse): Likewise.
        (elf64_alpha_relax_without_lituse): Likewise.
        (elf64_alpha_relax_opt_call): Likewise.
        (elf64_alpha_relax_section): Likewise.
        (elf64_alpha_add_symbol_hook): Likewise.
        (elf64_alpha_howto_table): Implement GPRELHIGH/LOW & IMMED_GP_16.
        (elf64_alpha_relocate_section): Likewise.
        (bfd_elf64_bfd_relax_section): Define.
        (elf_backend_add_symbol_hook): Likewise.
1998-04-16 05:29:30 +00:00
Richard Henderson
b356d4afd6 * elf.c (prep_headers): Use new EM_SPARCV9 symbol.
* elf64-sparc.c (ELF_MACHINE_CODE): Likewise.
        (ELF_MACHINE_ALT1): New.  Set to EM_OLD_SPARC64.
1998-04-15 23:09:52 +00:00
Ian Lance Taylor
645968657e * configure.in: Add -lkernel32 to WIN32LIBADD on cygwin32.
* configure: Rebuild.
1998-04-15 15:35:05 +00:00
Ian Lance Taylor
5a83fcdd2f * Makefile.am (libbfd_la_LIBADD): Add @WIN32LIBADD@.
(libbfd_la_LDFLAGS): Add @WIN32LDFLAGS@.
	* configure.in: Define and substitute WIN32LDFLAGS and
	WIN32LIBADD.
	* aclocal.m4: Rebuild with new libtool.
	* configure, Makefile.in: Rebuild.
1998-04-13 20:49:22 +00:00
Ian Lance Taylor
c24c4203ed * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
before any other symbols in the same section.
Required by Visual C++ linker, and specified in PE documentation.
1998-04-10 17:45:18 +00:00
Michael Meissner
d6c3cfb507 Do not add PowerPC NT support by default to PowerPC ELF systems 1998-04-08 18:57:42 +00:00
Gavin Romig-Koch
b7781f9fb6 * dwarf2.c (comp_unit): Move it earlier in the source. Add
addr_size.
	(read_address): Replace 'bdf*' argument with 'comp_unit*' argument.
        Use addr_size for address size, rather than sizeof(bfd_vma).
	(read_attribute): Replace bdf* argument with 'comp_unit*' argument.
	Fix call to read_address.
	(decode_line_info): Replace bdf* argument with 'comp_unit*' argument.
	Scrap other unneeded arguments.  Fix call to read_address.
	(scan_unit_for_functions): Fix call to read_attribute.
	(parse_comp_unit): We now handle more values for addr_size.
	Set addr_size in unit.  Fix call to read_attribute and
	decode_line_info.
1998-04-07 20:29:26 +00:00
Gavin Romig-Koch
d02731be5c * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null. 1998-04-07 19:56:50 +00:00
Ian Lance Taylor
1d9ee92437 * archures.c (bfd_default_scan): Add m68k cases back to default
switch, reverting patch of March 25, since IEEE support depends
	upon them.
1998-04-07 16:36:34 +00:00
Ian Lance Taylor
78e700af6a x 1998-04-06 18:08:43 +00:00
Ian Lance Taylor
89d617feb8 * Makefile.am (diststuff): New target.
* Makefile.in: Rebuild.
1998-04-06 18:08:13 +00:00
Ian Lance Taylor
97ca325aa4 * Makefile.am (STAGESTUFF): Remove variable.
(CLEANFILES): Don't remove $(STAGESTUFF).
	(DISTCLEANFILES, MAINTAINERCLEANFILES): New variables.
	* Makefile.in: Rebuild.
1998-04-06 18:07:58 +00:00
Jeff Law
1fa0aaae75 * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of
som_offset when we have an extended name table.
1998-04-05 22:22:48 +00:00
Ian Lance Taylor
56231d310e Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before
	trying to copy it.
	* Makefile.in: Rebuild.
1998-04-05 20:06:25 +00:00