Commit Graph

1527 Commits

Author SHA1 Message Date
Rob Savoye b9a5c27fa7 * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
win32 dependencies.
        * configure: Regenerated with autoconf 2.12.
        * Makefile.in: Add $(EXEEXT) to executable.
1997-07-29 01:34:09 +00:00
Ian Lance Taylor beb76c0ade Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32".
	(SEGMENT_SIZE): Set to 0x200.
	* scripttempl/i386go32.sc: Rewrite.
	* configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
1997-07-22 22:52:15 +00:00
Jeff Law d1ce2fc04f * configure.tgt: Default the r5900 to little endian. 1997-07-15 16:15:40 +00:00
Ian Lance Taylor 81272efdfd From Manfred Hollstein <manfred@s-direktnet.de>:
* configure.host (i[3456]86-*-linux*libc1*): Renamed from
	i[3456]86-*-linux*.
	(i[3456]86-*-linux*): New host.
1997-07-07 16:41:04 +00:00
Ian Lance Taylor 34260fe0d0 * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc
sections in the output .rsrc section.
1997-06-26 17:54:35 +00:00
Ian Lance Taylor 907672ebb2 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
an alternation.  From Greg Margo <gmargo@dl.com>.
1997-06-26 16:08:17 +00:00
Ian Lance Taylor fe80f6384a Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.host (m68*-*-linux*libc1*): Renamed from
	`m68*-*-linux*'.
	(m68*-*-linux*): New configuration for use with GNU libc 2.
1997-06-25 16:49:19 +00:00
Ian Lance Taylor 682b4d3322 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
	with non PIC shared libraries.
1997-06-25 16:47:59 +00:00
Ian Lance Taylor 4602e5f401 Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au>
* scripttempl/elfppc.sc: Correct .rela.sdata entries.

	* scripttempl/elfppc.sc: Put the PLT between the small and large
	BSS segments.
	* emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A
	program base of 0x02000000 is recommended...' because otherwise
	shared libraries are less efficient.  We use 0x01800000 because
	otherwise it's impossible to branch to location 0, for instance if
	you have an undefined weak symbol.
1997-06-16 23:21:18 +00:00
Ian Lance Taylor f4ae97e1bd Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* ldlang.c (lang_place_undefineds): Add \n in einfo call.
	(lang_size_sections): Likewise.
	* ldlex.l: Likewise.
	* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
	* emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open):
	Likewise.
	(check_sections): Likewise.
	(gld${EMULATION_NAME}_after_allocation): Likewise.
	* emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation):
	Likewise.
	* mpw-eppcmac.c (gldppcmacos_read_file): Likewise.
	* mpw-idtmips.c (gldmipsidt_after_open): Likewise.
	(check_sections): Likewise.
	(gldmipsidt_after_allocation): Likewise.
1997-06-16 16:56:22 +00:00
Ian Lance Taylor 02fbf07071 Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* ldemul.c (ldemul_choose_mode): Remove unused einfo argument.
1997-06-16 16:50:43 +00:00
Ian Lance Taylor 94d8217d65 * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
the import list.
1997-06-07 03:48:00 +00:00
Ian Lance Taylor 0570b3d3a0 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
version handling.
1997-06-06 21:36:11 +00:00
Ian Lance Taylor b4a4a6dc0f * ldmain.c (main): Correct check of fclose return value when
handling --force-exe-suffix.
1997-05-21 21:44:47 +00:00
Ian Lance Taylor 1a7f2a866e * scripttempl/elfmips.sc: Remove.
* scripttempl/elf.sc: Set ENTRY based on target.  Permit
	TEXT_DYNAMIC to control .dynamic segment.  Permit
	SHLIB_TEXT_START_ADDR to set start of shared object.  Support
	INITIAL_READONLY_SECTIONS.  Put .stub in .text.  Only put
	.gnu.linkonce.t* in .text when relocating.  Support
	OTHER_TEXT_SECTIONS.  Support SHLIB_DATA_ADDR as well as
	DATA_ADDR.  Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
	* emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
	(DATA_ADDR): Don't set.
	(INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
	(OTHER_TEXT_SECTIONS): Set.
	(OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
	(MACHINE): Set to empty string.
	* emulparams/elf32l4300.sh: Likewise.
	* emulparams/elf32ebmip.sh: Likewise.
	* emulparams/elf32elmip.sh: Likewise.
	* emulparams/elf32bmip.sh: Likewise.  Also:
	(TEXT_DYNAMIC): Set.
	* emulparams/elf32lmips.sh: Likewise.
	* Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
	elfmips.sc.
	(eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
1997-05-13 03:30:20 +00:00
Ian Lance Taylor 3d046499bc Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* scripttempl/elf.sc: Don't align the data segment on the next 8
	byte boundary, instead let the linker use whatever the individual
	sections require.
1997-05-12 15:12:12 +00:00
Ian Lance Taylor f7f90eaaf5 * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support. 1997-05-09 21:46:21 +00:00
Ian Lance Taylor 1ba1da8650 From Sean McNeil <sean@mcneil.com>:
* emultempl/pe.em (sort_by_file_name): Sort by archive name
	first.
	(sort_sections): Sort all sections, not just sections in the same
	archive.
1997-05-06 17:22:35 +00:00
Ian Lance Taylor a59a42aef7 Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>
* configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
	targets.
1997-05-05 22:56:03 +00:00
Michael Meissner f1687b6f99 Rework static constructors and destructors 1997-05-02 22:29:38 +00:00
Michael Meissner df184f82b2 Fix name of constructors/destructors 1997-05-02 19:57:12 +00:00
Ian Lance Taylor d7450eb7ee revert Alpha/OpenBSD patches 1997-04-30 16:18:37 +00:00
Ian Lance Taylor 40f96c6fe5 Fri Apr 18 11:54:43 1997 Niklas Hallqvist <niklas@appli.se>
* Makefile.in (ALL_EMULATIONS): Add ealphabsd.o.
	(ealphabsd.c): New rule.
	* configure.host (alpha-*-bsd): New target.
	* configure.tgt (alpha-*-bsd): New target.
	* emulparams/alphabsd.sh: New file for *BSD/alpha.
	* scripttempl/alphabsd.sc: New file for *BSD/alpha.
1997-04-18 15:57:37 +00:00
Ian Lance Taylor cfa7c448a1 * ldctor.c (ldctor_build_sets): Make sure the set is aligned
appropriately.
1997-04-17 17:07:35 +00:00
Ian Lance Taylor ba69384dc8 * Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
	(install): Depend upon ld.new and installdirs.  Use
	$(program_transform_name) directly, rather than using
	$(INSTALL_XFORM) and $(INSTALL_XFORM1).
	(installdirs): New target.
	(install-info): Run mkinstalldirs.
1997-04-15 17:21:15 +00:00
Ian Lance Taylor 21d83d1cf9 From Thomas Graichen <graichen@rzpd.de>:
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
	* configure: Rebuild.
1997-04-14 16:10:39 +00:00
Ian Lance Taylor 4507afd077 * emultempl/pe.em: Include "libiberty.h".
(sort_sections_1): Use xmalloc rather than alloca.
1997-04-04 20:29:58 +00:00
Ian Lance Taylor ab83171da5 * ldlex.l: Recognize SQUAD.
* ldgram.y (length): Add SQUAD.
	* ldlang.c (print_data_statement): Handle SQUAD.
	(lang_size_sections, lang_do_assignments): Likewise.
	* ldexp.c (exp_print_token): Add SQUAD to table.
	* ldwrite.c (build_link_order): Handle SQUAD.
	* ld.texinfo (Section Data Expressions): Document SQUAD.
1997-04-04 16:48:27 +00:00
Ian Lance Taylor 6f4b1d3168 * ldver.c (ld_program_version): Set to 2.8.1. 1997-04-03 18:20:40 +00:00
Ian Lance Taylor c6cfcb7f7d * mpw-idtmips.c: Rename from mpw-emipsidt.c.
* mpw-elfmips.c: Rename from mpw-emipself.c.
	* mpw-config.in: Update accordingly.
1997-04-03 05:50:32 +00:00
Ian Lance Taylor dc69600243 * ldlang.c (lang_process): Call lang_check immediately after
opening the input files, rather than at the end of the link.
1997-04-02 16:55:59 +00:00
Ian Lance Taylor 88ddffaf42 Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com>
* configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*.
1997-03-31 21:39:24 +00:00
Ian Lance Taylor d8e259a7e8 Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Contributed by David S. Miller <davem@caip.rutgers.edu>:
	* configure.tgt (sparc*-*-linuxaout*): New target.
	(sparc*-*-linux*): New target.
	* emulparams/sparclinux.sh: New file.
	* Makefile.in (ALL_EMULATIONS): Add esparclinux.o.
	(esparclinux.c): New target.
1997-03-28 20:33:54 +00:00
Ian Lance Taylor 2032ade97b From Ralf Baechle <ralf@gnu.ai.mit.edu>:
* configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
	mips*-*-linux*.  Use elf32bmip and elf32lmip, not elf32ebmip and
	elf32elmip.
1997-03-28 19:34:34 +00:00
Ian Lance Taylor de386cf61f fix comment 1997-03-28 19:27:51 +00:00
Ian Lance Taylor 5fd92ccd14 * lexsup.c (parse_args): Update copyright date in version
message.
1997-03-27 22:14:57 +00:00
David Edelsohn 718a5c17ea Remove m32r sanitization. 1997-03-24 21:29:21 +00:00
Ian Lance Taylor 7aef7107a8 x 1997-03-21 17:35:20 +00:00
Ian Lance Taylor 6d4314e031 Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
1997-03-21 17:29:13 +00:00
Ian Lance Taylor d7a48b6da0 * emultempl/aix.em: Include "obstack.h". 1997-03-18 16:16:50 +00:00
Ian Lance Taylor cadddcea29 * ldlang.c: Include "obstack.h". 1997-03-18 00:26:19 +00:00
Fred Fish b87ff07d07 * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul. 1997-03-16 06:26:35 +00:00
Ian Lance Taylor c5a0d31a04 Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org>
* ldemul.h (ldemul_list_emulations): Use full prototype.
	* ldlang.c (print_one_symbol): Add declaration.
	* ldlang.h (dprint_statements): Declare.
	* ldmain.c (remove_output): Declare.
	* ldmisc.c (vfinfo): Declare.
	* ldwrite.c (clone_section): Declare.
	(split_sections): Make static.  Declare.
	* mri.c: Include libiberty.h.
	(strdup): Don't declare.
	(mri_alias): Use xstrdup rather than strdup.
1997-03-15 23:17:46 +00:00
Ian Lance Taylor 2adb092c95 * scripttempl/elfmips.sc: Change handling of data area when
generating a shared library to not skip a large block of memory.
	From Per Fogelstrom <pefo@cvs.openbsd.org>.
1997-03-15 02:31:01 +00:00
Ian Lance Taylor c8a8d3bb27 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
* ld-elfvers/vers.exp, *: New tests for symbol versioning.
	* config/default.exp: Set ar and strip.
1997-03-13 02:46:09 +00:00
Ian Lance Taylor d7339c87a6 * ldmain.c (multiple_definition): Only skip the warning if the
output section is absolute when the input section is not
	absolute.

	* ldlex.l: Accept whitespace in VERS_START state.  Warn about
	invalid characters in VERS_* states.
1997-03-13 02:34:33 +00:00
Ian Lance Taylor 998f2b67a9 Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com>
* ldgram.y (vers_node): Correct typo of '('  for '{'.
1997-03-10 04:07:24 +00:00
Fred Fish 98ee67d8de * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start
rather than _start.
	(__edata): Define this rather than "edata".
	(__end): Define this rather than "end".
1997-03-08 16:23:57 +00:00
Bob Manson fa5864d5f7 Added and updated copyright notices to testsuite expect
scripts.
1997-03-06 22:32:25 +00:00
Michael Meissner 81fb245da1 Allow --target=tic80 without the -coff 1997-03-04 22:24:00 +00:00