xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ChangeLog-9899 (revision e992f068c547fd6e84b3f104dc2340adcc955732)
175fd0b74Schristos1999-12-02  Nick Clifton  <nickc@cygnus.com>
275fd0b74Schristos
375fd0b74Schristos	* Makefile.am: Fix arm-epoc-pe dependencies.
475fd0b74Schristos	* Makefile.in: Regenerate.
575fd0b74Schristos
675fd0b74Schristos	* emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe.
775fd0b74Schristos
875fd0b74Schristos	* scripttempl/epocpe.sc: New file: copy of pe.sc, customised for
975fd0b74Schristos	EPOC by placing .rdata into .text.
1075fd0b74Schristos
1175fd0b74Schristos1999-11-26  Andreas Schwab  <schwab@suse.de>
1275fd0b74Schristos
1375fd0b74Schristos	* configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for
1475fd0b74Schristos	STRINGIFY.  Use yes/no instead of true/false as value for cache
1575fd0b74Schristos	variable.
1675fd0b74Schristos	* configure: Regenerate.
1775fd0b74Schristos
1875fd0b74Schristos1999-11-24  Nick Clifton  <nickc@cygnus.com>
1975fd0b74Schristos
2075fd0b74Schristos	* ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD
2175fd0b74Schristos	attributes in order to be checked.
2275fd0b74Schristos
2375fd0b74Schristos1999-11-22  Nick Clifton  <nickc@cygnus.com>
2475fd0b74Schristos
2575fd0b74Schristos	* ldlang.c (lang_check_section_addresses): Fix test to determine
2675fd0b74Schristos	if a section should be tested.
2775fd0b74Schristos	(IGNORE_SECTION): New macro.
2875fd0b74Schristos
2975fd0b74SchristosWed Nov  3 23:31:19 1999  Jeffrey A Law  (law@cygnus.com)
3075fd0b74Schristos
3175fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
3275fd0b74Schristos	Clean up code to use EXTRA_SHLIB_EXTENSION.
3375fd0b74Schristos
3475fd0b74Schristos1999-11-03  Nick Clifton  <nickc@cygnus.com>
3575fd0b74Schristos
3675fd0b74Schristos	* emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian.
3775fd0b74Schristos	* emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian.
3875fd0b74Schristos
3975fd0b74Schristos1999-11-01  Steve Chamberlain  <sac@pobox.com>
4075fd0b74Schristos
4175fd0b74Schristos	* ldlang.c (section_already_linked): Rework to use hash table.
4275fd0b74Schristos	(already_linked_newfunc): New function.
4375fd0b74Schristos	(already_linked_table_init): New function.
4475fd0b74Schristos	(already_linked_table_free): New function.
4575fd0b74Schristos	(lang_process): Initialize and free the already_linked hash table.
4675fd0b74Schristos
4775fd0b74Schristos1999-10-27  Andreas Jaeger  <aj@suse.de>
4875fd0b74Schristos
4975fd0b74Schristos	* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
5075fd0b74Schristos	target "mips*-*-linux-gnu*".
5175fd0b74Schristos
5275fd0b74Schristos1999-10-27  Scott Bambrough  <scottb@netwinder.org>
5375fd0b74Schristos
5475fd0b74Schristos	* emultempl/armelf.em: Include ctype.h to prevent compile time
5575fd0b74Schristos	warnings.
5675fd0b74Schristos
5775fd0b74Schristos1999-10-26  Nick Clifton  <nickc@cygnus.com>
5875fd0b74Schristos
5975fd0b74Schristos	* emultempl/armcoff.em (gld{}_finish): Remove extraneous
6075fd0b74Schristos	underscore from prototype.
6175fd0b74Schristos	* emultempl/armelf.em (gld{}_finish): Remove extraneous
6275fd0b74Schristos	underscore from prototype.
6375fd0b74Schristos
6475fd0b74Schristos1999-10-07  Geoffrey Keating  <geoffk@cygnus.com>
6575fd0b74Schristos
6675fd0b74Schristos	* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
6775fd0b74Schristos	being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
6875fd0b74Schristos	(.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
6975fd0b74Schristos	(.rel.sbss): Make like .rel.bss.
7075fd0b74Schristos	(.rela.sbss): Make like .rel.bss.
7175fd0b74Schristos	(.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
7275fd0b74Schristos	ld -r.
7375fd0b74Schristos	(.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
7475fd0b74Schristos	.dynsbss.
7575fd0b74Schristos
7675fd0b74Schristos1999-09-29  Andrew Haley  <aph@cygnus.com>
7775fd0b74Schristos
7875fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
7975fd0b74Schristos	merging sections when not relocating.
8075fd0b74Schristos
8175fd0b74Schristos1999-09-28  Mumit Khan  <khan@xraylith.wisc.edu>
8275fd0b74Schristos
8375fd0b74Schristos	* pe-dll.c (process_def_file): Move the offset lookup from here to
8475fd0b74Schristos	(fill_exported_offsets): here. New static function.
8575fd0b74Schristos	(fill_edata): Use.
8675fd0b74Schristos
8775fd0b74Schristos1999-09-28  Mumit Khan  <khan@xraylith.wisc.edu>
8875fd0b74Schristos
8975fd0b74Schristos	* deffilep.y (tokens): Add upper and lower case versions of DATA,
9075fd0b74Schristos	CONSTANT, NONAME and PRIVATE tokens.
9175fd0b74Schristos	(command): Use DATAU.
9275fd0b74Schristos	(expline): Allow for drectve syntax as well.
9375fd0b74Schristos	(exp_opt_list): Likewise.
9475fd0b74Schristos	(exp_opt): Likewise.
9575fd0b74Schristos	* pe-dll.c (make_one): Only generate the idata entries for data
9675fd0b74Schristos	symbols.
9775fd0b74Schristos
9875fd0b74Schristos1999-09-28  Geoffrey Keating  <geoffk@cygnus.com>
9975fd0b74Schristos
10075fd0b74Schristos	* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
10175fd0b74Schristos	in .sdata too.
10275fd0b74Schristos
10375fd0b74Schristos1999-09-26  Nick Clifton  <nickc@cygnus.com>
10475fd0b74Schristos
10575fd0b74Schristos	* scripttempl/elf.sc (.bss): Accept sections named .bss.*
10675fd0b74Schristos	(.sbss): Accept sections names .sbss.*
10775fd0b74Schristos
10875fd0b74Schristos1999-09-22  Nick Clifton  <nickc@cygnus.com>
10975fd0b74Schristos
11075fd0b74Schristos	* Makefile.am: Add earm_epoc_pe.c build target.
11175fd0b74Schristos
11275fd0b74SchristosSat Sep 18 07:57:10 1999  Jeffrey A Law  (law@cygnus.com)
11375fd0b74Schristos
11475fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
11575fd0b74Schristos	they've been renamed to ".stub", which is handled automatically
11675fd0b74Schristos	by elf.sc.
11775fd0b74Schristos
11875fd0b74SchristosFri Sep 17 11:00:33 1999  Jeffrey A Law  (law@cygnus.com)
11975fd0b74Schristos
12075fd0b74Schristos	* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
12175fd0b74Schristos	(DATA_START_SYMBOLS): Kill __hp_load_map definition
12275fd0b74Schristos
12375fd0b74SchristosThu Sep 16 10:59:56 1999  Jeffrey A Law  (law@cygnus.com)
12475fd0b74Schristos
12575fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
12675fd0b74Schristos	Use the same filename extension for the bfd_elf_dt_needed_name call
12775fd0b74Schristos	as we did for finding the library.
12875fd0b74Schristos
12975fd0b74Schristos	* emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
13075fd0b74Schristos	(OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
13175fd0b74Schristos
13275fd0b74Schristos	* emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
13375fd0b74Schristos
13475fd0b74SchristosWed Sep 15 02:47:43 1999  Jeffrey A Law  (law@cygnus.com)
13575fd0b74Schristos
13675fd0b74Schristos	* emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
13775fd0b74Schristos	(SHLIB_DATA_ADDR): Likewise.
13875fd0b74Schristos
13975fd0b74Schristos	* emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
14075fd0b74Schristos
14175fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS):  No longer combine
14275fd0b74Schristos	the .plt, .dlt, .opd  into a single output section.  Provide values
14375fd0b74Schristos	for __gp and __hp_load_map.
14475fd0b74Schristos
14575fd0b74Schristos1999-09-14  Michael Meissner  <meissner@cygnus.com>
14675fd0b74Schristos
14775fd0b74Schristos	* configure.in (Canonicalization of target names): Remove adding
14875fd0b74Schristos	${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
14975fd0b74Schristos	generates $ac_config_sub with a ${CONFIG_SHELL} already.
15075fd0b74Schristos	* configure: Regenerate.
15175fd0b74Schristos
15275fd0b74Schristos1999-09-14  Donn Terry  <donn@interix.com>
15375fd0b74Schristos
15475fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
15575fd0b74Schristos	terminating null.
15675fd0b74Schristos
15775fd0b74Schristos1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
15875fd0b74Schristos
15975fd0b74Schristos	* configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target.
16075fd0b74Schristos	* config.in: Add EXTRA_SHLIB_EXTENSION.
16175fd0b74Schristos
16275fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
16375fd0b74Schristos	Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION
16475fd0b74Schristos	is defined.
16575fd0b74Schristos
16675fd0b74Schristos1999-09-14  Nick Clifton  <nickc@cygnus.com>
16775fd0b74Schristos
16875fd0b74Schristos	* Makefile.in: Add earm_epoc_pe.c build target.
16975fd0b74Schristos
17075fd0b74SchristosTue Sep 14 05:26:34 1999  Jeffrey A Law  (law@cygnus.com)
17175fd0b74Schristos
17275fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
17375fd0b74Schristos
17475fd0b74Schristos1999-09-13  Donn Terry  <donn@interix.com>
17575fd0b74Schristos
17675fd0b74Schristos	* emultempl/pe.em: Remove the output file at the start, in case it
17775fd0b74Schristos	is not writable.
17875fd0b74Schristos
17975fd0b74SchristosMon Sep 13 00:17:18 1999  Jeffrey A Law  (law@cygnus.com)
18075fd0b74Schristos
18175fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
18275fd0b74Schristos	Search for file with .sl extension if no file with a .so extension
18375fd0b74Schristos	is found.
18475fd0b74Schristos
18575fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
18675fd0b74Schristos	at the start of the .dlt output section.
18775fd0b74Schristos
18875fd0b74Schristos1999-09-12  Ian Lance Taylor  <ian@zembu.com>
18975fd0b74Schristos
19075fd0b74Schristos	* emultempl/pe.em: Don't include "../bfd/libbfd.h".
19175fd0b74Schristos	(gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
19275fd0b74Schristos	bfd_alloc.
19375fd0b74Schristos
19475fd0b74Schristos	* pe-dll.h: New file.
19575fd0b74Schristos	* pe-dll.c: Include "pe-dll.h".  Mark unused arguments as needed
19675fd0b74Schristos	to avoid warnings.
19775fd0b74Schristos	(edata_sz, reloc_sz): Change from int to size_t.
19875fd0b74Schristos	(pe_details_type): Change type of imagebase_reloc from int to
19975fd0b74Schristos	unsigned int.
20075fd0b74Schristos	(pe_detail_list): Fully initialize last entry.
20175fd0b74Schristos	(pe_dll_id_target): Change parameter to const.
20275fd0b74Schristos	(pe_dll_generate_def_file): Likewise.
20375fd0b74Schristos	(pe_dll_generate_implib): Likewise.
20475fd0b74Schristos	(pe_implied_import_dll): Likewise.  Change dll_name to const.
20575fd0b74Schristos	* emultempl/pe.em: Include "pe-dll.h".  Remove declarations now in
20675fd0b74Schristos	pe-dll.h.
20775fd0b74Schristos	(init): Fully initialize __dll__ entry.
20875fd0b74Schristos	(gld_${EMULATION_NAME}_after_open): Remove unused variables
20975fd0b74Schristos	sequence, elt, and i.
21075fd0b74Schristos	* deffile.h: Add preprocessor guard.
21175fd0b74Schristos	* deffilep.y (def_debug): Remove.
21275fd0b74Schristos	* Makefile.am: Rebuild dependencies.
21375fd0b74Schristos	(HFILES): Add pe-dll.h.
21475fd0b74Schristos
21575fd0b74Schristos1999-09-12  Donn Terry  <donn@interix.com>
21675fd0b74Schristos
21775fd0b74Schristos	* ld.h (ld_abort): Declare.
21875fd0b74Schristos	(abort): Define.
21975fd0b74Schristos	* ldmisc.c (ld_abort): Define.
22075fd0b74Schristos
22175fd0b74Schristos	* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
22275fd0b74Schristos	Move .bss section after .rdata.  Move .reloc section after .rsrc.
22375fd0b74Schristos
22475fd0b74Schristos	* lexsup.c (parse_args): Use strtoul for --split-by-reloc
22575fd0b74Schristos	argument.
22675fd0b74Schristos
22775fd0b74Schristos	* lexsup.c (parse_args): If we get an unrecognized argument,
22875fd0b74Schristos	mention --help.
22975fd0b74Schristos
23075fd0b74Schristos	* ldlang.c (section_already_linked): Use comdat information if it
23175fd0b74Schristos	is available.
23275fd0b74Schristos
23375fd0b74Schristos	* emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If
23475fd0b74Schristos	OVERRIDE_SECTION_ALIGNMENT is defined, change to that.
23575fd0b74Schristos	(gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is
23675fd0b74Schristos	defined, rather than a.exe.
23775fd0b74Schristos	(init): Define __subsystem__ as ${SUBSYSTEM}.
23875fd0b74Schristos	(set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol
23975fd0b74Schristos	name.
24075fd0b74Schristos
24175fd0b74Schristos1999-09-12  Ian Lance Taylor  <ian@zembu.com>
24275fd0b74Schristos
24375fd0b74Schristos	* ldlang.c (open_output): Change local variable desired_endian
24475fd0b74Schristos	from int to enum bfd_endian.
24575fd0b74Schristos
24675fd0b74Schristos	* emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and
24775fd0b74Schristos	INITIAL_SYMBOL_CHAR.
24875fd0b74Schristos	* emulparams/armpe.sh: Likewise.
24975fd0b74Schristos	* emulparams/morepe.sh: Likewise.
25075fd0b74Schristos	* emulparams/ppcpe.sh: Likewise.
25175fd0b74Schristos	* emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
25275fd0b74Schristos	(SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
25375fd0b74Schristos
25475fd0b74SchristosFri Sep 10 00:22:50 1999  Jeffrey A Law  (law@cygnus.com)
25575fd0b74Schristos
25675fd0b74Schristos	* emulparms/elf64hppa.sh (LIB_PATH): Define.
25775fd0b74Schristos
25875fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
25975fd0b74Schristos	unwinders so that they are closer to the text section.
26075fd0b74Schristos	(OTHER_BSS_SECTIONS): Define.
26175fd0b74Schristos	(EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
26275fd0b74Schristos	(INIT_START, INIT_END): Define.
26375fd0b74Schristos	(FINI_START, FINI_END): Define.
26475fd0b74Schristos	* scripttempl/elf.sc: Add support for INIT_START, INIT_END,
26575fd0b74Schristos	FINI_START, FINI_END and OTHER_BSS_SECTIONS.
26675fd0b74Schristos
26775fd0b74SchristosThu Sep  9 21:43:58 1999  Jeffrey A Law  (law@cygnus.com)
26875fd0b74Schristos
26975fd0b74Schristos	* emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
27075fd0b74Schristos	(DATA_ADDR): Define.
27175fd0b74Schristos
27275fd0b74Schristos1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
27375fd0b74Schristos
27475fd0b74Schristos	* emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
27575fd0b74Schristos
27675fd0b74Schristos1999-09-09  Andreas Schwab  <schwab@suse.de>
27775fd0b74Schristos
27875fd0b74Schristos	* ld.texinfo: Fix arguments of @var to not contain punctuation.
27975fd0b74Schristos
28075fd0b74SchristosThu Sep  9 05:52:34 1999  Jeffrey A Law  (law@cygnus.com)
28175fd0b74Schristos
28275fd0b74Schristos	* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.
28375fd0b74Schristos
28475fd0b74Schristos1999-09-08  Ulrich Drepper  <drepper@cygnus.com>
28575fd0b74Schristos
28675fd0b74Schristos	* emulparams/elf64hppa.sh (ELFSIZE): New.  Set to 64.
28775fd0b74Schristos
28875fd0b74SchristosWed Sep  8 00:07:39 1999  Jeffrey A Law  (law@cygnus.com)
28975fd0b74Schristos
29075fd0b74Schristos	* emulparms/elf64hppa.sh (ENTRY): Define to main.
29175fd0b74Schristos
29275fd0b74Schristos1999-09-03  Scott Bambrough  <scottb@netwinder.org>
29375fd0b74Schristos
29475fd0b74Schristos	* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
29575fd0b74Schristos	target "arm*-*-linux-gnu*"
29675fd0b74Schristos
29775fd0b74Schristos1999-09-04  Steve Chamberlain  <sac@pobox.com>
29875fd0b74Schristos
29975fd0b74Schristos	* configure.tgt (pjl-*-*, pj-*-*): New targets.
30075fd0b74Schristos	* emulparams/pjelf.sh: New file.
30175fd0b74Schristos	* emulparams/pjlelf.sh: New file.
30275fd0b74Schristos	* scripttempl/pj.sc: New file.
30375fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
30475fd0b74Schristos	(epjelf.o, epjlelf.o): New targets.
30575fd0b74Schristos	* Makefile.in: Rebuild.
30675fd0b74Schristos
30775fd0b74SchristosFri Sep  3 20:17:08 1999  Jeffrey A Law  (law@cygnus.com)
30875fd0b74Schristos
30975fd0b74Schristos	* emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
31075fd0b74Schristos	(OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
31175fd0b74Schristos
31275fd0b74SchristosThu Sep  2 14:32:03 1999  Jeffrey A Law  (law@cygnus.com)
31375fd0b74Schristos
31475fd0b74Schristos	* emulparams/elf64hppa.sh: New file.
31575fd0b74Schristos	* configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
31675fd0b74Schristos	* Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
31775fd0b74Schristos	(eelf64hppa.c): Add dependencies.
31875fd0b74Schristos	* Makefile.in: Rebuilt.
31975fd0b74Schristos
32075fd0b74Schristos1999-08-25  Philip Blundell  <pb@nexus.co.uk>
32175fd0b74Schristos
32275fd0b74Schristos	* emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__.
32375fd0b74Schristos	* emulparams/armelf_linux.sh: Likewise.
32475fd0b74Schristos	* emulparams/armelf_linux26.sh: Likewise.
32575fd0b74Schristos
32675fd0b74Schristos1999-08-24  Nick Clifton  <nickc@cygnus.com>
32775fd0b74Schristos
32875fd0b74Schristos	From a patch submitted by Roland McGrath  <roland@baalperazim.frob.com>
32975fd0b74Schristos
33075fd0b74Schristos	* configure.tgt (arm-*-netbsd*): New target.
33175fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add earmnbsd.o.
33275fd0b74Schristos	(earmnbsd.c): New rule with deps.
33375fd0b74Schristos	* Makefile.in: Regenerate.
33475fd0b74Schristos	* emulparams/armnbsd.sh: New file.
33575fd0b74Schristos
33675fd0b74Schristos1999-08-23  Nick Clifton  <nickc@cygnus.com>
33775fd0b74Schristos
33875fd0b74Schristos	* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define.
33975fd0b74Schristos	Implement --base-file command line switch.
34075fd0b74Schristos
34175fd0b74Schristos	* emultempl/elf32.em: Add ability for individual targets to have
34275fd0b74Schristos	their own command line switches by defining PARSE_AND_LIST_ARGS.
34375fd0b74Schristos
34475fd0b74Schristos1999-08-19  Andreas Schwab  <schwab@suse.de>
34575fd0b74Schristos
34675fd0b74Schristos	* configure.host: Use ${CC} instead of gcc for finding compiler
34775fd0b74Schristos	related files.
34875fd0b74Schristos
34975fd0b74Schristos1999-08-11  Nick Clifton  <nickc@cygnus.com>
35075fd0b74Schristos
35175fd0b74Schristos	* scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo.
35275fd0b74Schristos
35375fd0b74Schristos1999-08-09  Mark Elbrecht  <snowball3@bigfoot.com>
35475fd0b74Schristos
35575fd0b74Schristos	* scripttempl/i386go32.sc: Handle g++ exception sections.
35675fd0b74Schristos
35775fd0b74Schristos1999-08-09  Ian Lance Taylor  <ian@zembu.com>
35875fd0b74Schristos
35975fd0b74Schristos	From Wally Iimura <iimura@microunity.com>:
36075fd0b74Schristos	* ldlang.c (lang_size_sections): When checking whether an address
36175fd0b74Schristos	is within a region, don't get confused by wrapping around at the
36275fd0b74Schristos	end of the address space.
36375fd0b74Schristos
36475fd0b74Schristos1999-08-08  Ian Lance Taylor  <ian@zembu.com>
36575fd0b74Schristos
36675fd0b74Schristos	* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
36775fd0b74Schristos	SEC_SMALL_DATA.
36875fd0b74Schristos
36975fd0b74Schristos	* Makefile.am: Rename .dep* files to DEP*.  Change DEP variable to
37075fd0b74Schristos	MKDEP.  Rebuild dependencies.
37175fd0b74Schristos	* Makefile.in: Rebuild.
37275fd0b74Schristos
37375fd0b74Schristos1999-08-08  Jakub Jelinek  <jj@ultra.linux.cz>
37475fd0b74Schristos
37575fd0b74Schristos	* configure.host (sparc-*-linux-gnu*): New host.
37675fd0b74Schristos	(sparc64-*-linux-gnu*): New host.
37775fd0b74Schristos
37875fd0b74Schristos1999-08-06  Ian Lance Taylor  <ian@zembu.com>
37975fd0b74Schristos
38075fd0b74Schristos	* lexsup.c (is_num): Reindent.
38175fd0b74Schristos	(parse_args): Mention program name in error message.
38275fd0b74Schristos
38375fd0b74Schristos	* emultempl/ostring.sed: Rename from stringify.sed.
38475fd0b74Schristos	* emultempl/astring.sed: New file.
38575fd0b74Schristos	* Makefile.am (stringify.sed): New target.
38675fd0b74Schristos	(GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
38775fd0b74Schristos	stringify.sed.
38875fd0b74Schristos	* configure.in: Define and substitute STRINGIFY.
38975fd0b74Schristos	* emultempl/*.em: Use stringify.sed from build directory rather
39075fd0b74Schristos	than source directory.
39175fd0b74Schristos	* emultempl/elf32.em: Use stringify.sed rather than inline sed
39275fd0b74Schristos	script.
39375fd0b74Schristos	* emultempl/gld960.em, emultempl/gld960c.em: Likewise.
39475fd0b74Schristos	* emultempl/hppaelf.em, emultempl/linux.em: Likewise.
39575fd0b74Schristos	* emultempl/lnk960.em, emultempl/sunos.em: Likewise.
39675fd0b74Schristos	* configure, Makefile.in: Rebuild.
39775fd0b74Schristos
39875fd0b74Schristos1999-08-05  Donn Terry  <donn@interix.com>
39975fd0b74Schristos
40075fd0b74Schristos	* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
40175fd0b74Schristos	INITIAL_SYMBOL_CHAR.
40275fd0b74Schristos	* emulparams/i386pe_posix.sh: New file.
40375fd0b74Schristos	* Makefile.am (YACC): If bison is not in the source tree, use
40475fd0b74Schristos	@YACC@ rather than bison -y.
40575fd0b74Schristos	(LEX): If flex is not in the source tree, use @LEX@ rather than
40675fd0b74Schristos	flex.
40775fd0b74Schristos	(ALL_EMULATIONS): Add ei386pe_posix.o.
40875fd0b74Schristos	(ei386pe_posix.c): New target.
40975fd0b74Schristos	* configure.tgt (i[3456]86-*-interix*): New target.
41075fd0b74Schristos	* configure.host (i[3456]86-pc-interix*): New host.
41175fd0b74Schristos	* Makefile.in: Rebuild.
41275fd0b74Schristos
41375fd0b74Schristos1999-08-03  Ian Lance Taylor  <ian@zembu.com>
41475fd0b74Schristos
41575fd0b74Schristos	* emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
41675fd0b74Schristos	* emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
41775fd0b74Schristos
41875fd0b74Schristos1999-08-03  H.J. Lu  <hjl@gnu.org>
41975fd0b74Schristos
42075fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Remove ego32.o.
42175fd0b74Schristos	(ego32.c): Remove.
42275fd0b74Schristos	* Makefile.in: Rebuild.
42375fd0b74Schristos
42475fd0b74Schristos1999-07-22  Philip Blundell  <pb@nexus.co.uk>
42575fd0b74Schristos
42675fd0b74Schristos	* emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
42775fd0b74Schristos	(OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
42875fd0b74Schristos	* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.
42975fd0b74Schristos
43075fd0b74Schristos	* configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
43175fd0b74Schristos	thumb-*-linux-gnu*): New targets.
43275fd0b74Schristos
43375fd0b74Schristos1999-07-21  Mark Elbrecht  <snowball3@bigfoot.com>
43475fd0b74Schristos
43575fd0b74Schristos	* scripttempl/i386go32.sc: Add handling of linkonce sections.
43675fd0b74Schristos
43775fd0b74Schristos	* configure.bat: Remove; obsolete.
43875fd0b74Schristos	* emulparams/go32.sh: Remove; obsolete.
43975fd0b74Schristos	* scripttempl/go32coff.sc: Remove; obsolete.
44075fd0b74Schristos
44175fd0b74Schristos1999-07-21  H.J. Lu  <hjl@gnu.org>
44275fd0b74Schristos
44375fd0b74Schristos	* configure.tgt (mips*el-*-vxworks*): New target.
44475fd0b74Schristos
44575fd0b74Schristos1999-07-21  Brad M. Garcia  <bgarcia@fore.com>
44675fd0b74Schristos
44775fd0b74Schristos	* configure.tgt (i[3456]86-*-vxworks*): New target.
44875fd0b74Schristos
44975fd0b74SchristosTue Jul 20 15:18:46 1999  Bob Manson  <manson@charmed.cygnus.com>
45075fd0b74Schristos
45175fd0b74Schristos	* ldlang.c (lang_gc_sections): Only handle the start symbol
45275fd0b74Schristos	specially if there is one.
45375fd0b74Schristos
45475fd0b74SchristosMon Jul 19 14:19:14 1999  Mark P. Mitchell  <mark@codesourcery.com>
45575fd0b74Schristos
45675fd0b74Schristos	* emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
45775fd0b74Schristos	.MIPS.events and .MIPS.content handling.
45875fd0b74Schristos	* emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
45975fd0b74Schristos
46075fd0b74Schristos1999-07-17  Nick Clifton  <nickc@cygnus.com>
46175fd0b74Schristos
46275fd0b74Schristos	* ldlang.c (get_target): New function: Return true iff the
46375fd0b74Schristos	given target is the target being sought.
46475fd0b74Schristos	(stricpy): New function:  Like strcpy but convert to lower
46575fd0b74Schristos	case as well.
46675fd0b74Schristos	(strcut): New function:  Like strstr but remove the located
46775fd0b74Schristos	substring as well.
46875fd0b74Schristos	(name_compare): New function: Compute a compatability rating
46975fd0b74Schristos	for two target names.
47075fd0b74Schristos	(winner): New variable: Best target found by
47175fd0b74Schristos	closest_target_match() so far.
47275fd0b74Schristos	(closest_target_match): New function: Find the target which is
47375fd0b74Schristos	the closest match to the original target.
47475fd0b74Schristos	(get_first_input_target): New function: Find the target format
47575fd0b74Schristos	of the first of the linker's input file.
47675fd0b74Schristos	(open_output): Be more clever about deciding the output target
47775fd0b74Schristos	format.
47875fd0b74Schristos
47975fd0b74Schristos1999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
48075fd0b74Schristos
48175fd0b74Schristos	* emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH.
48275fd0b74Schristos
48375fd0b74SchristosThu Jul 15 15:55:15 1999  Mark P. Mitchell  <mark@codesourcery.com>
48475fd0b74Schristos
48575fd0b74Schristos	* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
48675fd0b74Schristos
48775fd0b74Schristos1999-07-15  Ian Lance Taylor  <ian@zembu.com>
48875fd0b74Schristos
48975fd0b74Schristos	* configure.in: Bump version number to 2.9.5.
49075fd0b74Schristos	* configure: Rebuild.
49175fd0b74Schristos
49275fd0b74Schristos1999-07-14  Richard Henderson  <rth@cygnus.com>
49375fd0b74Schristos
49475fd0b74Schristos	* ldlang.c (wild_doit): Copy SEC_SHORT to output section.
49575fd0b74Schristos
49675fd0b74Schristos	* scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
49775fd0b74Schristos	same order seen for the main sections.  Add
49875fd0b74Schristos	OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
49975fd0b74Schristos
50075fd0b74Schristos1999-07-12  Andreas Schwab  <schwab@suse.de>
50175fd0b74Schristos
50275fd0b74Schristos	* emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
50375fd0b74Schristos	structure initializations.
50475fd0b74Schristos
50575fd0b74Schristos	* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
50675fd0b74Schristos	comma in initializer.
50775fd0b74Schristos
50875fd0b74Schristos1999-07-11  Ian Lance Taylor  <ian@zembu.com>
50975fd0b74Schristos
51075fd0b74Schristos	* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
51175fd0b74Schristos	as appropriate.  Fill in structure initializations.
51275fd0b74Schristos
51375fd0b74Schristos1999-07-10  Ian Lance Taylor  <ian@zembu.com>
51475fd0b74Schristos
51575fd0b74Schristos	* ldfile.c: Revert patch of 1999-07-08.
51675fd0b74Schristos	(ldfile_try_open_bfd): If we are searching for the file, skip
51775fd0b74Schristos	files with an incompatible architecture.
51875fd0b74Schristos
51975fd0b74Schristos1999-07-09  Nick Clifton  <nickc@cygnus.com>
52075fd0b74Schristos
52175fd0b74Schristos	* scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and
52275fd0b74Schristos	little endian formats.
52375fd0b74Schristos
52475fd0b74Schristos1999-07-08  Felix Lee  <flee@cygnus.com>
52575fd0b74Schristos
52675fd0b74Schristos	* scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x
52775fd0b74Schristos
52875fd0b74Schristos1999-07-08  Jakub Jelinek  <jj@ultra.linux.cz>
52975fd0b74Schristos
53075fd0b74Schristos	* ldfile.c (ldfile_open_file_search): Skip libraries made for
53175fd0b74Schristos	incompatible architectures in the search path. Let the user know
53275fd0b74Schristos	about any such skips.
53375fd0b74Schristos
53475fd0b74SchristosThu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
53575fd0b74Schristos
53675fd0b74Schristos	* configure.tgt (hppa*-linux-gnu*): New target.
53775fd0b74Schristos
53875fd0b74Schristos1999-07-07  Mark Mitchell  <mark@codesourcery.com>
53975fd0b74Schristos
54075fd0b74Schristos	* Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip.
54175fd0b74Schristos	(eelf64bmip): New target.
54275fd0b74Schristos	* Makefile.in: Regenerated.
54375fd0b74Schristos	* configure.tgt (mips-sgi-irix6*): Add 64-bit emulation.
54475fd0b74Schristos	* emulparams/elf64bmip.sh: New file.
54575fd0b74Schristos
54675fd0b74Schristos1999-07-05  Nick Clifton  <nickc@cygnus.com>
54775fd0b74Schristos
54875fd0b74Schristos	* emultempl/pe.em (after_open): Abort if input format is ARM and
54975fd0b74Schristos	output format is not.
55075fd0b74Schristos	* emultempl/armcoff.em (after_open): Abort if input format is ARM
55175fd0b74Schristos	and output format is not.
55275fd0b74Schristos	* emultempl/armelf.em (after_open): Abort if input format is ARM
55375fd0b74Schristos	and output format is not.
55475fd0b74Schristos
55575fd0b74Schristos1999-07-02  Ian Lance Taylor  <ian@zembu.com>
55675fd0b74Schristos
55775fd0b74Schristos	* ldlang.c: Revert change of 1999-06-23.
55875fd0b74Schristos
55975fd0b74Schristos1999-06-30  Mark Mitchell  <mark@codesourcery.com>
56075fd0b74Schristos
56175fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o.
56275fd0b74Schristos	(eelf32bmipn32.c): New target.
56375fd0b74Schristos	* Makefile.in: Regenerated.
56475fd0b74Schristos	* configure.tgt (mips-sgi-irix6*): Make n32 the default
56575fd0b74Schristos	emulation.
56675fd0b74Schristos	* emulparams/elf32bmipn32.sh: New file.
56775fd0b74Schristos
56875fd0b74Schristos1999-06-28  Jim Pick <jim@jimpick.com>
56975fd0b74Schristos
57075fd0b74Schristos	* emultempl/armelf.em: Added code so that .xs linker scripts are
57175fd0b74Schristos	called so that ARM shared libraries are built correctly.
57275fd0b74Schristos
57375fd0b74Schristos1999-06-22  Mark Mitchell  <mark@codesourcery.com>
57475fd0b74Schristos
57575fd0b74Schristos	* ldmain.c (main): Initialize link_info.init_function and
57675fd0b74Schristos	link_info.fini_function.
57775fd0b74Schristos	* lexsup.c (OPTION_INIT): New macro.
57875fd0b74Schristos	(OPTION_FINI): Likewise.
57975fd0b74Schristos	(ld_options): Add descriptions for them.
58075fd0b74Schristos	(parse_args): Handle them.
58175fd0b74Schristos
58275fd0b74Schristos1999-06-23  Ian Lance Taylor  <ian@zembu.com>
58375fd0b74Schristos
58475fd0b74Schristos	* ldlang.c (section_already_linked): Only discard link once
58575fd0b74Schristos	sections if we are building constructors.
58675fd0b74Schristos
58775fd0b74Schristos1999-06-22  Nick Clifton  <nickc@cygnus.com>
58875fd0b74Schristos
58975fd0b74Schristos	* ld.texinfo (Location Counter): Describe behaviour of
59075fd0b74Schristos	location counter inside section statements.
59175fd0b74Schristos
59275fd0b74Schristos1999-06-20  Mark Mitchell  <mark@codesourcery.com>
59375fd0b74Schristos
59475fd0b74Schristos	* scripttempl/elf.sc (WRITABLE_RODATA): New variable for
59575fd0b74Schristos	controlling whether or not .rodata is in the data segment or the
59675fd0b74Schristos	text segment.
59775fd0b74Schristos
59875fd0b74Schristos1999-06-18  Nick Clifton  <nickc@cygnus.com>
59975fd0b74Schristos
60075fd0b74Schristos	* emultempl/pe.em: Add new command line switch --thumb-entry.
60175fd0b74Schristos	* emultempl/armelf.em: Add new command line switch --thumb-entry.
60275fd0b74Schristos	* emultempl/armcoff.em: Add new command line switch --thumb-entry.
60375fd0b74Schristos	* ld.texinfo: Document new ARM command line switch: --thumb-entry.
60475fd0b74Schristos
60575fd0b74Schristos1999-06-20  H.J. Lu  <hjl@gnu.org>
60675fd0b74Schristos
60775fd0b74Schristos	* configure.in (all_libpath): Accumulate across all enabled targets.
60875fd0b74Schristos
60975fd0b74SchristosSun Jun 20 14:10:33 1999  Richard Henderson  <rth@cygnus.com>
61075fd0b74Schristos
61175fd0b74Schristos	* emultempl/armelf.em: Watch EMULATION_LIBPATH instead of
61275fd0b74Schristos	DEFAULT_EMULATION.
61375fd0b74Schristos	* emultempl/elf32.em: Likewise.
61475fd0b74Schristos	* emultempl/sunos.em: Likewise.
61575fd0b74Schristos
61675fd0b74SchristosFri Jun 18 15:24:48 1999  Richard Henderson  <rth@cygnus.com>
61775fd0b74Schristos
61875fd0b74Schristos	* Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
61975fd0b74Schristos	* configure.in (all_emuls): Add targ_extra_libpath.
62075fd0b74Schristos	(all_libpath, EMULATION_LIBPATH): Define.
62175fd0b74Schristos	* configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath.
62275fd0b74Schristos	* genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
62375fd0b74Schristos
62475fd0b74SchristosMon Jun 14 10:38:36 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
62575fd0b74Schristos
62675fd0b74Schristos	* ld.texinfo: Fix use of @item vs. @itemx.
62775fd0b74Schristos
62875fd0b74Schristos1999-06-13  Ian Lance Taylor  <ian@zembu.com>
62975fd0b74Schristos
63075fd0b74Schristos	From Thomas Zenker <thz@lennartz-electronic.de>:
63175fd0b74Schristos	* ldgram.y (attributes_opt): Use attributes_list instead of NAME.
63275fd0b74Schristos	(attributes_list, attributes_string): New nonterminals.
63375fd0b74Schristos	* ldlang.c (lang_set_flags): Add invert parameter.  Don't handle
63475fd0b74Schristos	'!'.
63575fd0b74Schristos	* ldlang.c (lang_set_flags): Update declaration.
63675fd0b74Schristos
63775fd0b74Schristos1999-06-12  Ian Lance Taylor  <ian@zembu.com>
63875fd0b74Schristos
63975fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add
64075fd0b74Schristos	entry_symbol as an undefined symbol when doing a relocateable
64175fd0b74Schristos	link.  From <jeffdb@goodnet.com>.
64275fd0b74Schristos
64375fd0b74Schristos1999-06-12  David O'Brien  <obrien@freebsd.org>
64475fd0b74Schristos
64575fd0b74Schristos	* configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF.
64675fd0b74Schristos
64775fd0b74Schristos1999-06-09  Nick Clifton  <nickc@cygnus.com>
64875fd0b74Schristos
64975fd0b74Schristos	* lexsup.c (help): Restore previous format of output.
65075fd0b74Schristos
65175fd0b74Schristos1999-06-04  Nick Clifton  <nickc@cygnus.com>
65275fd0b74Schristos
65375fd0b74Schristos	* emultempl/pe.em: If compiling for arm_epoc_pe rename
65475fd0b74Schristos	interworking functions to avoid a name space clash.
65575fd0b74Schristos
65675fd0b74Schristos1999-06-02  Jason Merrill  <jason@yorick.cygnus.com>
65775fd0b74Schristos
65875fd0b74Schristos	* scripttempl/v850.sc: Add initp support.
65975fd0b74Schristos
66075fd0b74Schristos1999-06-02  Nick Clifton  <nickc@cygnus.com>
66175fd0b74Schristos
66275fd0b74Schristos	* emultempl/pe.em: Rename global arm interworking functions to
66375fd0b74Schristos	avoid name collision when all targets BFD is built.
66475fd0b74Schristos
66575fd0b74Schristos1999-05-30  Cort Dougan  <cort@attis.cs.nmt.edu>
66675fd0b74Schristos
66775fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
66875fd0b74Schristos	* configure.tgt (powerpc-*-linux-gnu): Use it.
66975fd0b74Schristos	* emulparams/elf32ppclinux.sh: New file.
67075fd0b74Schristos
67175fd0b74Schristos1999-05-29  Ian Lance Taylor  <ian@zembu.com>
67275fd0b74Schristos
67375fd0b74Schristos	* ld.texinfo (Options): Clarify that options which refer to files
67475fd0b74Schristos	must be properly ordered.
67575fd0b74Schristos
67675fd0b74Schristos1999-05-29  Nick Clifton  <nickc@cygnus.com>
67775fd0b74Schristos
67875fd0b74Schristos	* emultempl/armelf.em (..._parse_args): New function: Parse
67975fd0b74Schristos	command line option.  Accept arm-elf specific command line option
68075fd0b74Schristos	'-p' or '--no-pipeline-knowledge'.
68175fd0b74Schristos	(..._list_options): New function: Describe the new command line
68275fd0b74Schristos	option.
68375fd0b74Schristos	(..._before_allocation): Pass the value of the new variable
68475fd0b74Schristos	no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation.
68575fd0b74Schristos
68675fd0b74Schristos	* emultempl/armelf_oabi.em (..._before_allocation): Pass zero as
68775fd0b74Schristos	the third parameter to bfd_elf32_arm_process_before_allocation.
68875fd0b74Schristos
68975fd0b74Schristos1999-05-28  Nick Clifton  <nickc@cygnus.com>
69075fd0b74Schristos
69175fd0b74Schristos	* lexsup.c (help): Minor formatting changes.
69275fd0b74Schristos
69375fd0b74Schristos1999-05-28  Martin Dorey  <mdorey@madge.com>
69475fd0b74Schristos
69575fd0b74Schristos	* configure.tgt (i960-*-elf*): New target.
69675fd0b74Schristos	* emulparams/elf32_i960.sh: New file.
69775fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
69875fd0b74Schristos	(eelf32_i960.c): New target.
69975fd0b74Schristos	* Makefile.in: Rebuild.
70075fd0b74Schristos
70175fd0b74Schristos1999-05-26  Nick Clifton  <nickc@cygnus.com>
70275fd0b74Schristos
70375fd0b74Schristos	* emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi.
70475fd0b74Schristos
70575fd0b74Schristos1999-05-24  Philip Blundell  <philb@gnu.org>
70675fd0b74Schristos
70775fd0b74Schristos	* emultempl/armelf.em (before_parse): Set config.dynamic_link and
70875fd0b74Schristos	config.has_shared.
70975fd0b74Schristos	* emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
71075fd0b74Schristos	* emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise.
71175fd0b74Schristos
71275fd0b74Schristos1999-04-13  Philip Blundell  <philb@gnu.org>
71375fd0b74Schristos
71475fd0b74Schristos	* emultempl/armelf.em: Add definitions related to shared objects
71575fd0b74Schristos	(copied from elf32.em).
71675fd0b74Schristos
71775fd0b74SchristosWed May 19 12:44:26 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
71875fd0b74Schristos
71975fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
72075fd0b74Schristos	earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
72175fd0b74Schristos	* Makefile.in: Regenerated.
72275fd0b74Schristos
72375fd0b74Schristos1999-05-16  Nick Clifton  <nickc@cygnus.com>
72475fd0b74Schristos
72575fd0b74Schristos	* emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define.
72675fd0b74Schristos	(TEMPLATE_NAME): Define.
72775fd0b74Schristos
72875fd0b74SchristosThu May 13 09:48:09 1999  Joel Sherrill (joel@OARcorp.com)
72975fd0b74Schristos
73075fd0b74Schristos	* configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
73175fd0b74Schristos	(mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
73275fd0b74Schristos
73375fd0b74Schristos1999-05-10  DJ Delorie  <dj@cygnus.com>
73475fd0b74Schristos
73575fd0b74Schristos	* scripttempl/pe.sc: Specify the output arch, which Ian says is
73675fd0b74Schristos	the Right Thing to do.
73775fd0b74Schristos
73875fd0b74Schristos	* emultempl/pe.em: various changes to parameterize the
73975fd0b74Schristos	target-specific information.
74075fd0b74Schristos	(gld_i386pe_after_open): Detect and fix MS import libraries
74175fd0b74Schristos	by renaming the member objects (which are all named the same).
74275fd0b74Schristos
74375fd0b74Schristos	* pe-dll.c: various changes to parameterize the target-specific
74475fd0b74Schristos	information.
74575fd0b74Schristos	(generate_reloc): support relocs more generically to allow for
74675fd0b74Schristos	expansion.
74775fd0b74Schristos	(pe_exe_build_sections): new; used to add .relocs to .exes
74875fd0b74Schristos	(pe_exe_fill_sections): ditto
74975fd0b74Schristos
75075fd0b74Schristos1999-05-10  Catherine Moore  <clm@cygnus.com>
75175fd0b74Schristos
75275fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
75375fd0b74Schristos	Check for TARGET_IS_arm_epoc_pe.
75475fd0b74Schristos	(gld_${EMULATION_NAME}_before_allocation): Likewise.
75575fd0b74Schristos
75675fd0b74Schristos1999-05-12  Anthony Green  <green@cygnus.com>
75775fd0b74Schristos
75875fd0b74Schristos	* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
75975fd0b74Schristos	output_section_callback, gc_section_callback): New functions for
76075fd0b74Schristos	generic section walks.
76175fd0b74Schristos	(wild, lang_gc_wild): Use walk_wild.
76275fd0b74Schristos	(wild_file, lang_gc_wild_file): Deleted. Common logic moved to
76375fd0b74Schristos	walk_wild_file.
76475fd0b74Schristos	(wild_section, lang_gc_wild_section): Deleted. Common logic moved
76575fd0b74Schristos	to walk_fild_section.  Unique logic moved into callbacks
76675fd0b74Schristos	output_section_callback and gc_section_callback.
76775fd0b74Schristos
76875fd0b74Schristos1999-04-26  Tom Tromey  <tromey@cygnus.com>
76975fd0b74Schristos
77075fd0b74Schristos	* aclocal.m4, configure: Updated for new version of libtool.
77175fd0b74Schristos
77275fd0b74Schristos1999-04-12  Philip Blundell  <pb@nexus.co.uk>
77375fd0b74Schristos
77475fd0b74Schristos	* emulparams/armelf_linux.sh: New file.  Support for ARM
77575fd0b74Schristos	GNU/Linux ELF ABI.
77675fd0b74Schristos	* emulparams/armelf_linux26.sh: New file. APCS-26 version of above.
77775fd0b74Schristos	* configure.tgt: For arm*-*-linux-gnu*, set default emulation to
77875fd0b74Schristos	`armelf_linux', and also include `armelf_linux26' and `armelf'.
77975fd0b74Schristos	* Makefile.am: Add rules to make earmlinux.c and earmlinux26.c.
78075fd0b74Schristos	(ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o.
78175fd0b74Schristos	* Makefile.in: Regenerate.
78275fd0b74Schristos
78375fd0b74Schristos1999-04-11  Richard Henderson  <rth@cygnus.com>
78475fd0b74Schristos
78575fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o.
78675fd0b74Schristos	* configure.tgt (i[3456]86-*-beos*): Use it.
78775fd0b74Schristos	* emulparams/elf_i386_be.sh: New file.
78875fd0b74Schristos	* Makefile.in: Rebuild.
78975fd0b74Schristos
79075fd0b74Schristos	* configure.in (environ): Detect declaration.
79175fd0b74Schristos	* ldmain.c (main): Don't declare environ.
79275fd0b74Schristos	* sysdep.h (environ): Declare if needed.
79375fd0b74Schristos	* configure, config.in: Rebuild.
79475fd0b74Schristos
79575fd0b74Schristos1999-04-11  Richard Henderson  <rth@cygnus.com>
79675fd0b74Schristos
79775fd0b74Schristos	* ldgram.y (ldgram_vers_current_lang): New.
79875fd0b74Schristos	(vers_defns): Accept `extern "lang" { }' syntax.
79975fd0b74Schristos	* ldlex.l (vers_node_nesting): New.
80075fd0b74Schristos	(V_IDENTIFIER): Accept . and $ in symbols.
80175fd0b74Schristos	(VERS_NODE): Accept `extern "lang" { }' tokens.  Nest VERS_NODE states.
80275fd0b74Schristos	* ldlang.c (lang_new_vers_regex): New `lang' argument.  Update callers.
80375fd0b74Schristos	(lang_vers_match_lang_c): New function.
80475fd0b74Schristos	(lang_vers_match_lang_cplusplus): New function.
80575fd0b74Schristos	(lang_vers_match_lang_java): New function.
80675fd0b74Schristos	(lang_do_version_exports_section): Fix iteration.  Don't free
80775fd0b74Schristos	section contents, as it is still in use by the patterns.
80875fd0b74Schristos
80975fd0b74Schristos1999-04-10  Richard Henderson  <rth@cygnus.com>
81075fd0b74Schristos
81175fd0b74Schristos	* ldmain.c (main): Init link_info.no_undefined.
81275fd0b74Schristos	* lexsup.c: Add command-line option --no-undefined.
81375fd0b74Schristos
81475fd0b74Schristos1999-04-06  Ian Lance Taylor  <ian@zembu.com>
81575fd0b74Schristos
81675fd0b74Schristos	* ld.h (LC_MESSAGES): Never define.
81775fd0b74Schristos	* ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the
81875fd0b74Schristos	system does not define it.
81975fd0b74Schristos
82075fd0b74Schristos1999-04-06  H.J. Lu  <hjl@gnu.org>
82175fd0b74Schristos
82275fd0b74Schristos	* ldmain.h (demangling): Declare.
82375fd0b74Schristos	* ldmain.c (demangling): New global variable.
82475fd0b74Schristos	(main): Initialize demangling.
82575fd0b74Schristos	* ldmisc.c (vfinfo): Don't demangle symbol if ! demangling.
82675fd0b74Schristos	* lexsup.c (ld_options, parse_args): Handle --demangle and
82775fd0b74Schristos	--no-demangle.
82875fd0b74Schristos	* ld.texinfo, ld.1: Document --demangle/--no-demangle.
82975fd0b74Schristos
83075fd0b74Schristos	* ldlex.l (V_IDENTIFIER): Allow '.' in symbol.
83175fd0b74Schristos
83275fd0b74Schristos1999-04-05  Chris Torek  <torek@BSDI.COM>
83375fd0b74Schristos
83475fd0b74Schristos	* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that
83575fd0b74Schristos	a shared library really exists, avoiding broken symlinks.
83675fd0b74Schristos
83775fd0b74Schristos	* ldfile.c (ldfile_open_file): Generate a better error message if
83875fd0b74Schristos	we can't find a -l file.
83975fd0b74Schristos
84075fd0b74Schristos1999-04-05  DJ Delorie  <dj@cygnus.com>
84175fd0b74Schristos
84275fd0b74Schristos	* configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE
84375fd0b74Schristos	targets (i386-pe and i386-winnt)
84475fd0b74Schristos
84575fd0b74Schristos1999-04-04  Ian Lance Taylor  <ian@zembu.com>
84675fd0b74Schristos
84775fd0b74Schristos	* deffilep.y: Include "sysdep.h" and "ldmisc.h".
84875fd0b74Schristos	(def_file_add_directive): Change return type to void.  Remove
84975fd0b74Schristos	unused locals sh_reserve, sh_commit, and j.
85075fd0b74Schristos	(def_ungetc): Always return a value.
85175fd0b74Schristos	(def_lex): Correct parenthesization of || within &&.
85275fd0b74Schristos	* deffile.h (def_file_add_directive): Update declaration.
85375fd0b74Schristos	* pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h".
85475fd0b74Schristos	(generate_edata): Remove unused local i.
85575fd0b74Schristos	(quoteput): Add cast to avoid warning.
85675fd0b74Schristos	(pe_dll_generate_def_file): Fix type in format string.
85775fd0b74Schristos	(quick_symbol): Remove unused local blhe.
85875fd0b74Schristos	(pe_dll_generate_implib): Add cast to avoid warning.
85975fd0b74Schristos	(pe_process_import_defs): Remove unused locals ar_head, ar_tail,
86075fd0b74Schristos	and n.
86175fd0b74Schristos	(pe_as16): Comment out.
86275fd0b74Schristos
86375fd0b74Schristos1999-04-04  Don Bowman <don@pixsci.com>
86475fd0b74Schristos
86575fd0b74Schristos	* configure.tgt: Add mips*-*-vxworks* target.
86675fd0b74Schristos
86775fd0b74Schristos1999-03-31  Nick Clifton  <nickc@cygnus.com>
86875fd0b74Schristos
86975fd0b74Schristos	* Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o
87075fd0b74Schristos	Add build rule and dependencies for earm_epoc_pe.c.
87175fd0b74Schristos
87275fd0b74Schristos	* emulparams/arm_epoc_pe.sh: New file.
87375fd0b74Schristos
87475fd0b74Schristos	* configure.tgt: Add 'targ_extra_ofiles' for ARM based PE
87575fd0b74Schristos	targets.
87675fd0b74Schristos
87775fd0b74Schristos1999-03-31  Philip Blundell  <pb@nexus.co.uk>
87875fd0b74Schristos
87975fd0b74Schristos	* configure.tgt: Match `arm*-*-linux-gnu*' not
88075fd0b74Schristos	`armv*-*-linux-gnu'.
88175fd0b74Schristos
88275fd0b74Schristos1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
88375fd0b74Schristos
88475fd0b74Schristos	* scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table
88575fd0b74Schristos	sections in the data segment.
88675fd0b74Schristos
88775fd0b74SchristosFri Mar 26 12:05:51 1999  Catherine Moore  <clm@cygnus.com>
88875fd0b74Schristos
88975fd0b74Schristos	* ld.h (wildcard_spec): Add exclude_name.
89075fd0b74Schristos	* ldgram.y (EXCLUDE_FILE): New token.
89175fd0b74Schristos	(wildcard_spec): Set exclude_name.
89275fd0b74Schristos	(file_NAME_list): Recognize EXCLUDE_FILE.
89375fd0b74Schristos	* ldlang.c (wild_section): Check for excluded files.
89475fd0b74Schristos	(print_wild_statement): Print excluded files.
89575fd0b74Schristos	(lang_add_wild): New argument exclude_filename.
89675fd0b74Schristos	Set exclude_filename.
89775fd0b74Schristos	* ldlang.h (lang_wild_statement_type):  Add exclude_filename.
89875fd0b74Schristos	* ldlex.l: New token EXCLUDE_FILE.
89975fd0b74Schristos	* mri.c (mri_draw_tree):  Add argument to lang_add_wild.
90075fd0b74Schristos	* scripttempl/elf.sc (CTOR, DTOR):  Exclude crtend.o from ctor wildcard.
90175fd0b74Schristos	Reorder sorted and unsorted ctors.
90275fd0b74Schristos	* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
90375fd0b74Schristos	* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
90475fd0b74Schristos	* scripttempl/elfppc.sc (CTOR, DTOR): Likewise.
90575fd0b74Schristos
90675fd0b74Schristos1999-03-26  Nick Clifton  <nickc@cygnus.com>
90775fd0b74Schristos
90875fd0b74Schristos	* ldlang.c (lang_gc_sections): If entry_symbol is not defined,
90975fd0b74Schristos	default to "start".
91075fd0b74Schristos
91175fd0b74Schristos1999-03-03  Nick Clifton  <nickc@cygnus.com>
91275fd0b74Schristos
91375fd0b74Schristos	* scripttempl/elf.sc: Add explicit placements for the .eh_frame
91475fd0b74Schristos	and .gcc_except_table sections.
91575fd0b74Schristos
91675fd0b74SchristosWed Mar  3 09:13:34 1999  Catherine Moore  <clm@cygnus.clm>
91775fd0b74Schristos
91875fd0b74Schristos	* scripttempl/elf.sc: Remove .end.ctors and .end.dtors
91975fd0b74Schristos	sections.  Reorder .ctors section entries.
92075fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
92175fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
92275fd0b74Schristos	* scripttempl/elfppc.sc: Likewise.
92375fd0b74Schristos
92475fd0b74Schristos1999-02-26  Jim Lemke  <jlemke@cygnus.com>
92575fd0b74Schristos
92675fd0b74Schristos	* ldmain.c (main): Wrong error msg for -r and --mpc860c0.
92775fd0b74Schristos
92875fd0b74Schristos1999-02-25  Nick Clifton  <nickc@cygnus.com>
92975fd0b74Schristos
93075fd0b74Schristos	* ldlang.c (lang_check_section_addresses): Remove extraneous
93175fd0b74Schristos	backslash.
93275fd0b74Schristos
93375fd0b74SchristosThu Feb 25 15:07:24 1999  Catherine Moore  <clm@cygnus.com>
93475fd0b74Schristos
93575fd0b74Schristos	* scripttempl/elf.sc: Don't gather .ctor and .dtor sections
93675fd0b74Schristos	for relocateable links.
93775fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
93875fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
93975fd0b74Schristos	* scripttempl/elfppc.sc: Likewise.
94075fd0b74Schristos
94175fd0b74Schristos1999-02-22  Jim Lemke  <jlemke@cygnus.com>
94275fd0b74Schristos
94375fd0b74Schristos	* ldint.texinfo: remove extraneous right brace.
94475fd0b74Schristos	* ldmain.c (main): initialize and check option "mpc860c0".
94575fd0b74Schristos	* lexsup.c (ld_options, parse_args): add option "mpc860c0".
94675fd0b74Schristos
94775fd0b74SchristosWed Feb 17 12:10:06 1999  Stan Cox  <scox@cygnus.com>
94875fd0b74Schristos
94975fd0b74Schristos	* mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special
95075fd0b74Schristos	.reginfo section handling.
95175fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise.
95275fd0b74Schristos	* emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed
95375fd0b74Schristos	* emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed
95475fd0b74Schristos
95575fd0b74Schristos1999-02-17  Nick Clifton  <nickc@cygnus.com>
95675fd0b74Schristos
95775fd0b74Schristos	Patch from: Scott Bambrough <scottb@corelcomputer.com>
95875fd0b74Schristos
95975fd0b74Schristos	* configure.tgt: Added armv*-*-linux-gnu to $targ_emul
96075fd0b74Schristos	recognition.
96175fd0b74Schristos
96275fd0b74SchristosWed Feb 17 Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
96375fd0b74Schristos
96475fd0b74Schristos	* emultempl/armelf_oabi.em
96575fd0b74Schristos	(bfd_elf32_arm_allocate_interworking_sections,
96675fd0b74Schristos	bfd_elf32_arm_get_bfd_for_interworking,
96775fd0b74Schristos	bfd_elf32_arm_process_before_allocation): Define them to use the
96875fd0b74Schristos	old ABI versions of the functions.
96975fd0b74Schristos
97075fd0b74SchristosTue Feb 16 16:48:19 1999  Ian Lance Taylor  <ian@cygnus.com>
97175fd0b74Schristos
97275fd0b74Schristos	* configure.in: Change AC_PREREQ to 2.13.  Change AM_PROG_INSTALL
97375fd0b74Schristos	to AC_PROG_INSTALL.  Change AM_EXEEXT to AC_EXEEXT.
97475fd0b74Schristos	* Makefile.am (earmelf_oabi.c): Changes spaces to tab.
97575fd0b74Schristos	* acconfig.h: Remove.
97675fd0b74Schristos	* aclocal.m4: Rebuild.
97775fd0b74Schristos	* configure: Rebuild.
97875fd0b74Schristos	* Makefile.in: Rebuild.
97975fd0b74Schristos
98075fd0b74SchristosMon Feb 15 18:21:48 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
98175fd0b74Schristos
98275fd0b74Schristos	* ldexp.h (struct etree_value_type): Change valid onto valid_p.
98375fd0b74Schristos
98475fd0b74Schristos	* ldexp.c (new_abs): Ditto.
98575fd0b74Schristos	(new_rel, new_rel_from_section, fold_binary, invalid, fold_name,
98675fd0b74Schristos	exp_fold_tree, exp_binop, exp_trinop, stat_alloc,
98775fd0b74Schristos	exp_get_abs_int): Ditto
98875fd0b74Schristos
98975fd0b74Schristos	* ldlang.c (print_assignment, lang_size_sections,
99075fd0b74Schristos	lang_do_assignments): Ditto.
99175fd0b74Schristos
99275fd0b74Schristos1999-02-11  Nick Clifton  <nickc@cygnus.com>
99375fd0b74Schristos
99475fd0b74Schristos	* ldlang.c (lang_check_section_addresses): New function: Check
99575fd0b74Schristos	addresses assigned to section for overlaps.
99675fd0b74Schristos	(lang_process): Call lang_check_section_addresses if suitable.
99775fd0b74Schristos
99875fd0b74Schristos	* ld.h: Add new boolean field to args_type structure:
99975fd0b74Schristos	'check_section_addresses'.
100075fd0b74Schristos
100175fd0b74Schristos	* ldmain.c: Initialise check_section_addresses field to true.
100275fd0b74Schristos
100375fd0b74Schristos	* lexsup.c: Add new command line options '--no-check-sections' and
100475fd0b74Schristos	'--check-sections'.
100575fd0b74Schristos
100675fd0b74Schristos	* ld.texinfo: Document new command line options '--check-sections'
100775fd0b74Schristos	and '--no-check-sections'.
100875fd0b74Schristos
100975fd0b74Schristos1999-02-08  Nick Clifton  <nickc@cygnus.com>
101075fd0b74Schristos
101175fd0b74Schristos	* configure.tgt: Add support for StrongARM target.
101275fd0b74Schristos
101375fd0b74SchristosWed Feb  3 19:41:01 1999  Ian Lance Taylor  <ian@cygnus.com>
101475fd0b74Schristos
101575fd0b74Schristos	* ldctor.c (ldctor_build_sets): Just set SEC_KEEP once.  Check for
101675fd0b74Schristos	an owner of a section before using it to look up a reloc type.
101775fd0b74Schristos	Don't set SEC_KEEP for the absolute section.
101875fd0b74Schristos
101975fd0b74SchristosMon Feb  1 11:39:46 1999  Catherine Moore  <clm@cygnus.com>
102075fd0b74Schristos
102175fd0b74Schristos	* Makefile.am (earmelf_oabi.o):  New.
102275fd0b74Schristos	* Makefile.in:  Regenerate.
102375fd0b74Schristos	* configure.tgt (arm-*-oabi):  New.
102475fd0b74Schristos	(thumb-*-oabi):  New.
102575fd0b74Schristos	* emulparams/armelf_oabi.sh:  New.
102675fd0b74Schristos	* emultempl/armelf_oabi.em:  New.
102775fd0b74Schristos
102875fd0b74Schristos1999-01-31 17:57:31 1998  Michael Meissner  <meissner@cygnus.com>
102975fd0b74Schristos
103075fd0b74Schristos	* scripttempl/elfppc.sc: Add support for -fleading-underscores
103175fd0b74Schristos	switch in all linker generated symbols.
103275fd0b74Schristos
103375fd0b74Schristos	* configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
103475fd0b74Schristos	powerpc{,le}-*-eabi.
103575fd0b74Schristos
103675fd0b74SchristosWed Jan 20 17:01:48 1999  Ian Lance Taylor  <ian@cygnus.com>
103775fd0b74Schristos
103875fd0b74Schristos	* configure.tgt (i[3456]86-*-solaris2*): New target.  From Pavel
103975fd0b74Schristos	Roskin <pavel_roskin@geocities.com>.
104075fd0b74Schristos
104175fd0b74Schristos1999-01-19  Nick Clifton  <nickc@cygnus.com>
104275fd0b74Schristos
104375fd0b74Schristos	* ldlang.c (lang_size_sections): Count loadable sections as
104475fd0b74Schristos	  contributing to the size of the current segment.
104575fd0b74Schristos
104675fd0b74Schristos1999-01-15  Nick Clifton  <nickc@cygnus.com>
104775fd0b74Schristos
104875fd0b74Schristos	* ldlang.c (lang_size_sections): Only update the current
104975fd0b74Schristos	  address of a region if the section just placed into it is an
105075fd0b74Schristos	  allocated section.
105175fd0b74Schristos
105275fd0b74Schristos1999-01-12  Nick Clifton  <nickc@cygnus.com>
105375fd0b74Schristos
105475fd0b74Schristos	* Makefile.am: Replace efr30.o with eelf32fr30.o.
105575fd0b74Schristos	* Makefile.in: Regenerate.
105675fd0b74Schristos
105775fd0b74Schristos	* configure.tgt: Replace fr30 with elf32fr30.
105875fd0b74Schristos
105975fd0b74Schristos	* emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses
106075fd0b74Schristos	generic elf.sc script.  Also replaces the .stack section with a
106175fd0b74Schristos	user definable symbol __stack.
106275fd0b74Schristos
106375fd0b74Schristos1999-01-11  Nick Clifton  <nickc@cygnus.com>
106475fd0b74Schristos
106575fd0b74Schristos	* scripttempl/fr30.sc: Fill .init and .fini sections with NOP
106675fd0b74Schristos	pattern.
106775fd0b74Schristos
106875fd0b74Schristos1999-01-03  Ken Raeburn  <raeburn@cygnus.com>
106975fd0b74Schristos
107075fd0b74Schristos	* Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU,
107175fd0b74Schristos	HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from
107275fd0b74Schristos	configure.host and configure.tgt now.
107375fd0b74Schristos	* Makefile.in: Rebuild.
107475fd0b74Schristos
107575fd0b74Schristos1998-12-27  Ulrich Drepper  <drepper@cygnus.com>
107675fd0b74Schristos
107775fd0b74Schristos	* lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate
107875fd0b74Schristos	elements to rpath.
107975fd0b74Schristos
108075fd0b74SchristosThu Dec 10 11:12:28 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
108175fd0b74Schristos
108275fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
108375fd0b74Schristos	(ALL_EMUL_EXTRA_OFILES): New variable.  Put them here instead.
108475fd0b74Schristos	* configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
108575fd0b74Schristos	if configuring with all targets.
108675fd0b74Schristos	* configure, Makefile.in, aclocal.m4: Rebuild.
108775fd0b74Schristos
108875fd0b74Schristos	* emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
108975fd0b74Schristos	(pe_dll_do_default_excludes): Removed, unused.
109075fd0b74Schristos	(pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
109175fd0b74Schristos	pe_dll_stdcall_aliases): Don't initialize them, this file may be
109275fd0b74Schristos	compiled more than once.
109375fd0b74Schristos	* pe-dll.c (pe_def_file, pe_dll_export_everything,
109475fd0b74Schristos	pe_dll_do_default_excludes, pe_dll_kill_ats,
109575fd0b74Schristos	pe_dll_stdcall_aliases): Define and initialize them here instead.
109675fd0b74Schristos	(generate_reloc): Fix allocation of reloc_addresses array to use
109775fd0b74Schristos	bfd_vma instead of unsigned long.  Fix element size in qsort call.
109875fd0b74Schristos	(reloc_sort): Compare pointers to bfd_vma instead of unsigned
109975fd0b74Schristos	long.
110075fd0b74Schristos
110175fd0b74SchristosMon Dec  7 21:10:09 1998  J.J. van der Heijden  <j.j.vanderheijden@student.utwente.nl>
110275fd0b74Schristos
110375fd0b74Schristos	* configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
110475fd0b74Schristos	files.
110575fd0b74Schristos
110675fd0b74SchristosSun Dec  6 16:33:33 1998  Ian Lance Taylor  <ian@cygnus.com>
110775fd0b74Schristos
110875fd0b74Schristos	* configure.tgt (m68*-*-gnu*): New target.  From Aymeric Vincent
110975fd0b74Schristos	<aymeric.vincent@emi.u-bordeaux.fr>.
111075fd0b74Schristos
111175fd0b74Schristos1998-12-04  Nick Clifton  <nickc@cygnus.com>
111275fd0b74Schristos
111375fd0b74Schristos	* emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR
111475fd0b74Schristos	from 0x100000 to 0x10000 so that it fits in 20 bits.
111575fd0b74Schristos
111675fd0b74SchristosSat Nov 28 22:32:20 1998  Ian Lance Taylor  <ian@cygnus.com>
111775fd0b74Schristos
111875fd0b74Schristos	* ldemul.h (ldemul_recognized_file): Declare.
111975fd0b74Schristos
112075fd0b74SchristosSat Nov 28 22:30:55 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
112175fd0b74Schristos
112275fd0b74Schristos	* ldlang.c (lang_add_wild): Don't pretend that there is an input
112375fd0b74Schristos	file if the filename is a wildcard pattern.
112475fd0b74Schristos
112575fd0b74Schristos1998-11-25  DJ Delorie  <dj@cygnus.com>
112675fd0b74Schristos
112775fd0b74Schristos	* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
112875fd0b74Schristos	* ldemul.c (ldemul_recognized_file): new function, new hook
112975fd0b74Schristos	* ldint.texinfo: document new hook.
113075fd0b74Schristos	* ldlang.c (load_symbols): call recognized_hook for all objects we
113175fd0b74Schristos	do recognize, in case the emulation needs to handle them
113275fd0b74Schristos	specially.  PE DLLs use this.
113375fd0b74Schristos	* pe-dll.c (pe_dll_generate_def_file): take out hack and debug
113475fd0b74Schristos	printfs
113575fd0b74Schristos	* emultempl/pe.em (gld_i386_recognized_file): new function
113675fd0b74Schristos	(gld_i486_unrecognized_file): take out hack
113775fd0b74Schristos
113875fd0b74Schristos1998-11-23  DJ Delorie  <dj@cygnus.com>
113975fd0b74Schristos
114075fd0b74Schristos	* pe-dll.c (fill_edata): fill in timestamp
114175fd0b74Schristos	(make_head): name object files sequentially to ensure
114275fd0b74Schristos	they link in the right order.
114375fd0b74Schristos	(make_tail): same here
114475fd0b74Schristos	(pe_process_import_defs): use sequential names for bfds to ensure
114575fd0b74Schristos	proper link order.
114675fd0b74Schristos	(pe_implied_import_dll): new function; handles linking directly
114775fd0b74Schristos	against DLLs by simulating IMPORTS directives.  * emultempl/pe.em
114875fd0b74Schristos	(gld_i386pe_before_parse): hack bfd to not recognize .dll files
114975fd0b74Schristos	via bfd_pe_dll_not_recognized_hack
115075fd0b74Schristos
115175fd0b74Schristos1998-11-23  DJ Delorie  <dj@cygnus.com>
115275fd0b74Schristos
115375fd0b74Schristos	* emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
115475fd0b74Schristos	pe_dll_add_excludes
115575fd0b74Schristos
115675fd0b74SchristosMon Nov 23 14:36:18 1998  Nick Clifton  <nickc@cygnus.com>
115775fd0b74Schristos
115875fd0b74Schristos	* emultempl/pe.em (after_parse): Only create an undefined entry
115975fd0b74Schristos	symbol if one has been specified.
116075fd0b74Schristos
116175fd0b74Schristos1998-11-23  DJ Delorie  <dj@cygnus.com>
116275fd0b74Schristos
116375fd0b74Schristos	* emultempl/pe.em (gld_i386pe_after_open): call
116475fd0b74Schristos	pe_process_import_defs
116575fd0b74Schristos	* pe-dll.c (pe_dll_generate_def_file): calculate BASE from
116675fd0b74Schristos	pe_data, only print if actually set.  Print version only if
116775fd0b74Schristos	set.
116875fd0b74Schristos	(save_relocs): save relocs for both input and output.
116975fd0b74Schristos	(make_one): support internal/external different names.
117075fd0b74Schristos	(pe_dll_generate_implib): support new make_one
117175fd0b74Schristos	(pe_process_import_defs): new function; handles IMPORT
117275fd0b74Schristos	directives in .def files.
117375fd0b74Schristos
117475fd0b74SchristosFri Nov 20 13:06:49 1998  Nick Clifton  <nickc@cygnus.com>
117575fd0b74Schristos
117675fd0b74Schristos	* ldmisc.c (vfinfo): Cope with empty symbol names.
117775fd0b74Schristos
117875fd0b74SchristosThu Nov 19 13:31:15 1998  Nick Clifton  <nickc@cygnus.com>
117975fd0b74Schristos
118075fd0b74Schristos	* scripttempl/pe.sc: Add provision of '_end' symbol.
118175fd0b74Schristos
118275fd0b74SchristosWed Nov 18 18:18:43 1998  Geoffrey Noer  <noer@cygnus.com>
118375fd0b74Schristos
118475fd0b74Schristos	* configure.tgt: change refs from cygwin32* to cygwin*.
118575fd0b74Schristos	* aclocal.m4: regenerate
118675fd0b74Schristos	* configure.in: don't need to call AM_CYGWIN32.
118775fd0b74Schristos	* configure: regenerate
118875fd0b74Schristos
118975fd0b74SchristosMon Nov 16 22:14:07 1998  DJ Delorie  <dj@cygnus.com>
119075fd0b74Schristos
119175fd0b74Schristos	* emultempl/pe.em (gld_i386_finish): generate import library
119275fd0b74Schristos	* deffile.h: add hint member.
119375fd0b74Schristos	* pe-dll.c (pe_dll_generate_implib): New function with helpers;
119475fd0b74Schristos	generates the import library directly from the export table.
119575fd0b74Schristos	(fill_edata): remember the actual hint for the import library.
119675fd0b74Schristos
119775fd0b74SchristosSat Nov 14 14:36:24 1998  Ian Lance Taylor  <ian@cygnus.com>
119875fd0b74Schristos
119975fd0b74Schristos	* ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>.
120075fd0b74Schristos
120175fd0b74SchristosThu Nov 12 19:21:57 1998  Dave Brolley  <brolley@cygnus.com>
120275fd0b74Schristos
120375fd0b74Schristos	* po/ld.pot: Regenerated.
120475fd0b74Schristos	* po/POTFILES.in: Regenerated.
120575fd0b74Schristos	* configure: Regenerated.
120675fd0b74Schristos	* aclocal.m4: Regenerated.
120775fd0b74Schristos	* Makefile.in: Regenerated.
120875fd0b74Schristos
120975fd0b74SchristosWed Nov 11 18:10:15 1998  DJ Delorie  <dj@cygnus.com>
121075fd0b74Schristos
121175fd0b74Schristos	* pe-dll.c (generate_reloc): don't output PE relocs for sections
121275fd0b74Schristos	that won't be loaded.
121375fd0b74Schristos
121475fd0b74SchristosWed Nov 11 13:44:54 1998  DJ Delorie  <dj@cygnus.com>
121575fd0b74Schristos
121675fd0b74Schristos	* pe-dll.c (fill_edata): don't strip underscores
121775fd0b74Schristos
121875fd0b74SchristosTue Nov 10 21:28:19 1998  DJ Delorie  <dj@cygnus.com>
121975fd0b74Schristos
122075fd0b74Schristos	* ld.texinfo: added i386pe option summary
122175fd0b74Schristos
122275fd0b74SchristosTue Nov 10 17:53:17 1998  DJ Delorie  <dj@cygnus.com>
122375fd0b74Schristos
122475fd0b74Schristos	* pe-dll.c (process_def_file): properly note undefined exported
122575fd0b74Schristos	symbols, clean up old code.
122675fd0b74Schristos	(pe_dll_generate_def_file): don't crash if pe_def_file is NULL
122775fd0b74Schristos	* emultempl/pe.em (gld_i386_parse_args): add
122875fd0b74Schristos	(en/dis)able-stdcall-fixups
122975fd0b74Schristos	(pe_fixup_stdcalls): warn about stdcall fixups
123075fd0b74Schristos	(gld_i386_unrecognized_file): make exported symbols undefs so that
123175fd0b74Schristos	archive members get pulled in
123275fd0b74Schristos
123375fd0b74SchristosTue Nov 10 14:50:51 1998  Catherine Moore  <clm@cygnus.com>
123475fd0b74Schristos
123575fd0b74Schristos	* scripttempl/elfd10v.sc: Add KEEP attribute to .init,
123675fd0b74Schristos	.fini, .dtors and .ctors.  Add .data and .text
123775fd0b74Schristos	wildcards to support section garbage collection.
123875fd0b74Schristos
123975fd0b74SchristosMon Nov  9 22:52:50 1998  DJ Delorie  <dj@indy.delorie.com>
124075fd0b74Schristos
124175fd0b74Schristos	* deffilep.y: properly handle relocs with multiple def_files,
124275fd0b74Schristos	cache import module names
124375fd0b74Schristos
124475fd0b74SchristosMon Nov  9 22:44:58 1998  DJ Delorie  <dj@cygnus.com>
124575fd0b74Schristos
124675fd0b74Schristos	* pe-dll.c (process_def_file): don't assume exports won't move
124775fd0b74Schristos	during a realloc
124875fd0b74Schristos
124975fd0b74SchristosMon Nov  9 16:41:30 1998  DJ Delorie  <dj@cygnus.com>
125075fd0b74Schristos
125175fd0b74Schristos	* pe-dll.c: New file; direct support for PE DLLs
125275fd0b74Schristos	* deffile.h: New file; direct support for PE DLLs
125375fd0b74Schristos	* deffilep.y: New file; direct support for PE DLLs
125475fd0b74Schristos	* emultempl/pe.em: add direct support for PE DLLs
125575fd0b74Schristos	* configure.tgt: allow target-specific extra files
125675fd0b74Schristos	* configure.in: allow target-specific extra files
125775fd0b74Schristos	* ldlang.c (lang_add_assignment): return the assignment so that
125875fd0b74Schristos	one can change the value later based on the object files (pe-dll
125975fd0b74Schristos	DEF files do this)
126075fd0b74Schristos	* ldint.texinfo: add section for emulation walkthrough
126175fd0b74Schristos	* Makefile.am: add new files and target-specific extra files
126275fd0b74Schristos	* emultempl/pe.em (gld_i386_list_options): list dll-specific
126375fd0b74Schristos	options.
126475fd0b74Schristos	* pe-dll.c (process_def_file): auto-export everything if
126575fd0b74Schristos	nothing is otherwise exported.
126675fd0b74Schristos
126775fd0b74SchristosWed Nov  4 16:39:18 1998  Nick Clifton  <nickc@cygnus.com>
126875fd0b74Schristos
126975fd0b74Schristos	* Makefile.am: Add support for FR30 target.
127075fd0b74Schristos	* configure.tgt: Add support for FR30 target.
127175fd0b74Schristos	* Makefile.in: Regenerate.
127275fd0b74Schristos	* emulparams/fr30.sh: New file.
127375fd0b74Schristos	* scripttempl/fr30.sc: New file.
127475fd0b74Schristos
127575fd0b74SchristosMon Nov  2 14:47:15 1998  Catherine Moore  <clm@cygnus.com>
127675fd0b74Schristos
127775fd0b74Schristos	* ldmain.c (main):  Don't report error for dynamic links and
127875fd0b74Schristos	--gc-sections.
127975fd0b74Schristos
128075fd0b74Schristos1998-10-26 16:05  Ulrich Drepper  <drepper@cygnus.com>
128175fd0b74Schristos
128275fd0b74Schristos	* lexsup.c (ld_options): Change text of -O to Optimize output file".
128375fd0b74Schristos	(parse_args): Set link_info.optimize based on -O argument.
128475fd0b74Schristos	* ldmain.c (main): Initialize link_info.optimze to false.
128575fd0b74Schristos	* ld.texinfo: Describe -O option.
128675fd0b74Schristos	* ld.1: Likewise.
128775fd0b74Schristos
128875fd0b74SchristosMon Oct 12 14:29:56 1998  Nick Clifton  <nickc@cygnus.com>
128975fd0b74Schristos
129075fd0b74Schristos	* scripttempl/v850.sc: Move .sbss and .scommon sections into their
129175fd0b74Schristos	own segment, so that they can be next to the .bss section and so
129275fd0b74Schristos	initialised by the same piece of code.
129375fd0b74Schristos
129475fd0b74SchristosFri Oct  9 15:59:52 1998  Catherine Moore  <clm@cygnus.com>
129575fd0b74Schristos
129675fd0b74Schristos	* scripttempl/elf.sc:  Merge .sdata.* etc sections.
129775fd0b74Schristos	* ldctor.c (ldctor_build_sets):  Set SEC_KEEP for
129875fd0b74Schristos	ctor sections.
129975fd0b74Schristos
130075fd0b74SchristosMon Oct  5 09:40:43 1998  Catherine Moore  <clm@cygnus.com>
130175fd0b74Schristos
130275fd0b74Schristos	* ldmain.c (main):  Error if --gc-sections and
130375fd0b74Schristos	dyanmic linking.
130475fd0b74Schristos	* scripttempl/v850.sc:  Add KEEP attribute to .init,
130575fd0b74Schristos	.fini, .dtors and .ctors.  Add .data and .text
130675fd0b74Schristos	wildcards to support section garbage collection.
130775fd0b74Schristos
130875fd0b74SchristosWed Sep 30 11:19:15 1998  Nick Clifton  <nickc@cygnus.com>
130975fd0b74Schristos
131075fd0b74Schristos	* scripttempl/v850.sc: Rename .call_table section to
131175fd0b74Schristos	.call_table_data and create a new section called
131275fd0b74Schristos	.call_table_text.
131375fd0b74Schristos
131475fd0b74SchristosSun Sep 20 00:43:26 1998  Ian Lance Taylor  <ian@cygnus.com>
131575fd0b74Schristos
131675fd0b74Schristos	* scripttempl/elf.sc: Add alignment at the end of the .bss
131775fd0b74Schristos	section, so that it is included in the memsize of the segment.
131875fd0b74Schristos
131975fd0b74SchristosFri Sep 18 13:42:42 1998  Catherine Moore  <clm@cygnus.com>
132075fd0b74Schristos
132175fd0b74Schristos	* emultempl/elf32.em (gld_place_orphan): Don't process for
132275fd0b74Schristos	sections with SEC_EXCLUDE flag.
132375fd0b74Schristos
132475fd0b74SchristosFri Sep  4 09:24:02 1998  Nick Clifton  <nickc@cygnus.com>
132575fd0b74Schristos
132675fd0b74Schristos	* emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K.
132775fd0b74Schristos	(DATA_SIZE): Increased to 2000K.
132875fd0b74Schristos
132975fd0b74SchristosThu Sep  3 17:30:58 1998  Richard Henderson  <rth@cygnus.com>
133075fd0b74Schristos
133175fd0b74Schristos	* emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.
133275fd0b74Schristos
133375fd0b74SchristosMon Aug 31 01:06:00 1998  Catherine Moore  <clm@cygnus.com>
133475fd0b74Schristos
133575fd0b74Schristos	* Makefile.am:  Change armelf.sc to elf.sc
133675fd0b74Schristos	* Makefile.in:  Regenerate.
133775fd0b74Schristos
133875fd0b74SchristosMon Aug 31 11:12:04 1998  Catherine Moore  <clm@cygnus.com>
133975fd0b74Schristos
134075fd0b74Schristos	* emulparams/armelf.sh:  Change SCRIPT_NAME to
134175fd0b74Schristos	elf.  Change TEXT_START_ADDR to 0x8000.  Define
134275fd0b74Schristos	OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
134375fd0b74Schristos	OTHER_BSS_END_SYMBOLS.
134475fd0b74Schristos	* scripttempl/elf.sc:  Modify to use
134575fd0b74Schristos	OTHER_BSS_END_SYMBOLS.
134675fd0b74Schristos	* scripttempl/elfarm.sc:  Remove file.
134775fd0b74Schristos
134875fd0b74SchristosTue Aug 18 12:05:34 1998  Catherine Moore  <clm@cygnus.com>
134975fd0b74Schristos
135075fd0b74Schristos	* emultempl/armelf.em (gld_armelf_before_allocation):
135175fd0b74Schristos	Add bfd_ prefix to elf32_arm_process_before_allocation
135275fd0b74Schristos	and elf32_arm_allocate_interworking_sections.
135375fd0b74Schristos	(gld_armelf_after_open): Add bfd_ prefix to
135475fd0b74Schristos	elf32_arm_get_bfd_for_interworking.
135575fd0b74Schristos
135675fd0b74SchristosFri Aug 14 15:34:29 1998  Ian Lance Taylor  <ian@cygnus.com>
135775fd0b74Schristos
135875fd0b74Schristos	* Makefile.am: Rebuild dependencies.
135975fd0b74Schristos	* Makefile.in: Rebuild.
136075fd0b74Schristos
136175fd0b74Schristos	* ldgram.y: Include "ldctor.h".
136275fd0b74Schristos	(statement): Accept SORT around CONSTRUCTORS.
136375fd0b74Schristos	* ldctor.c: Include <ctype.h>.
136475fd0b74Schristos	(constructors_sorted): New global variable.
136575fd0b74Schristos	(ctor_prio, ctor_cmp): New static functions.
136675fd0b74Schristos	(ldctor_build_sets): Sort constructors if requested.
136775fd0b74Schristos	* ldctor.h (constructors_sorted): Declare.
136875fd0b74Schristos	* ldlang.c (print_statement): Print sorted CONSTRUCTORS
136975fd0b74Schristos	correctly.
137075fd0b74Schristos	* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
137175fd0b74Schristos	* ld.texinfo (Output Section Keywords): Document SORT
137275fd0b74Schristos	(CONSTRUCTORS).
137375fd0b74Schristos
137475fd0b74SchristosThu Aug 13 12:20:39 1998  Catherine Moore  <clm@cygnus.com>
137575fd0b74Schristos
137675fd0b74Schristos	* emulparams/armelf.sh:  Define TEMPLATE_NAME to armelf.
137775fd0b74Schristos	* scripttempl/elfarm.sc:  Include .glue_7t and .glue7
137875fd0b74Schristos	sections.
137975fd0b74Schristos	* emultempl/armelf.em: New file.
138075fd0b74Schristos
138175fd0b74SchristosThu Aug 13 12:52:45 1998  H.J. Lu  <hjl@gnu.org>
138275fd0b74Schristos
138375fd0b74Schristos	* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
138475fd0b74Schristos	* Makefile.in: Rebuild.
138575fd0b74Schristos
138675fd0b74SchristosTue Aug 11 16:17:01 1998  Catherine Moore  <clm@cygnus.com>
138775fd0b74Schristos
138875fd0b74Schristos	* scripttempl/elfarm.sc:  Change text start address
138975fd0b74Schristos	back to zero.
139075fd0b74Schristos
139175fd0b74SchristosTue Aug 11 10:01:12 1998  Jeffrey A Law  (law@cygnus.com)
139275fd0b74Schristos
139375fd0b74Schristos	* emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
139475fd0b74Schristos	* emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
139575fd0b74Schristos
139675fd0b74SchristosSun Aug  9 20:31:27 1998  Catherine Moore  <clm@cygnus.com>
139775fd0b74Schristos
139875fd0b74Schristos	* scripttempl/elfarm.sc:  Set text start address to
139975fd0b74Schristos	0x8000.  Add __bss_end definition.
140075fd0b74Schristos
140175fd0b74SchristosSat Aug  1 11:47:37 1998  Catherine Moore  <clm@cygnus.com>
140275fd0b74Schristos
140375fd0b74Schristos	* scripttempl/elfarm.sc:  New file.
140475fd0b74Schristos	* emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
140575fd0b74Schristos
140675fd0b74SchristosFri Jul 31 15:56:16 1998  Catherine Moore  <clm@cygnus.com>
140775fd0b74Schristos
140875fd0b74Schristos	* emulparams/armelf.sh: New file.
140975fd0b74Schristos	* configure.tgt:  Recognize thumb-elf and arm-elf.
141075fd0b74Schristos	* Makefile.am (earmelf.o): New.
141175fd0b74Schristos	* Makefile.in: Rebuild.
141275fd0b74Schristos
141375fd0b74SchristosFri Jul 24 12:00:57 1998  Ian Lance Taylor  <ian@cygnus.com>
141475fd0b74Schristos
141575fd0b74Schristos	* Makefile.am (install-exec-local): Don't remove the file before
141675fd0b74Schristos	checking whether $(bindir) == $(tooldir)/bin.  From Maciej
141775fd0b74Schristos	W. Rozycki <macro@ds2.pg.gda.pl>.
141875fd0b74Schristos	* Makefile.in: Rebuild.
141975fd0b74Schristos
142075fd0b74Schristos	* configure.tgt: Recognize h8[35]00*-coff* as well as -hms*.
142175fd0b74Schristos
142275fd0b74SchristosThu Jul 23 11:15:12 1998  Ian Lance Taylor  <ian@cygnus.com>
142375fd0b74Schristos
142475fd0b74Schristos	* scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
142575fd0b74Schristos	alignment of end symbol.
142675fd0b74Schristos	* scripttempl/elf.sc: Likewise.
142775fd0b74Schristos	* emulparams/sun4.sh (ALIGNMENT): Define.
142875fd0b74Schristos	* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
142975fd0b74Schristos	* ldint.texinfo (emulation parameters): Document ALIGNMENT.
143075fd0b74Schristos
143175fd0b74Schristos	* lexsup.c (parse_args): Add missing break statement.
143275fd0b74Schristos
143375fd0b74Schristos	* ldlang.c (lang_gc_sections_1): Add default case to switch to
143475fd0b74Schristos	avoid warnings.
143575fd0b74Schristos
143675fd0b74SchristosTue Jul 14 15:42:17 1998  Richard Henderson  <rth@cygnus.com>
143775fd0b74Schristos
143875fd0b74Schristos	* configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
143975fd0b74Schristos	* Makefile.am (ei386beos.o): New.
144075fd0b74Schristos	* emulparams/i386beos.sh: New file.
144175fd0b74Schristos	* emultempl/beos.em, scripttempl/i386beos.sc: New file.
144275fd0b74Schristos
144375fd0b74SchristosTue Jul 14 15:35:42 1998  Richard Henderson  <rth@cygnus.com>
144475fd0b74Schristos
144575fd0b74Schristos	* lexsup.c: New option --version-exports-section.
144675fd0b74Schristos	* ld.h (struct args_type): Add version_exports_section.
144775fd0b74Schristos	* ldlang.c (lang_do_version_exports_section): New function.
144875fd0b74Schristos	(lang_process): Call it.
144975fd0b74Schristos
145075fd0b74SchristosMon Jul 13 13:20:23 1998  Steve Chamberlain  <sac@transmeta.com>
145175fd0b74Schristos
145275fd0b74Schristos	* ldlex.l: Accept ASSERT.
145375fd0b74Schristos	* ldgram.y (exp): Add ASSERT_K case.
145475fd0b74Schristos	* ldexp.h (node_type): Add etree_assert to node_class enum.
145575fd0b74Schristos	(etree_type): Add assert_s field.
145675fd0b74Schristos	(exp_assert): Declare.
145775fd0b74Schristos	* ldexp.c (exp_fold_tree): Handle etree_assert.
145875fd0b74Schristos	(exp_assert): New function.
145975fd0b74Schristos	(exp_print_tree): Handle etree_assert.
146075fd0b74Schristos	* ld.texinfo (Miscellaneous Commands): Document ASSERT.
146175fd0b74Schristos
146275fd0b74SchristosWed Jul  8 14:03:12 1998  Ian Lance Taylor  <ian@cygnus.com>
146375fd0b74Schristos
146475fd0b74Schristos	* ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
146575fd0b74Schristos	conflicts with system header files.  Change all uses.
146675fd0b74Schristos
146775fd0b74Schristos	* Makefile.am (MAINTAINERCLEANFILES): Define.
146875fd0b74Schristos	* Makefile.in: Rebuild.
146975fd0b74Schristos
147075fd0b74SchristosTue Jul  7 18:03:22 1998  Ian Lance Taylor  <ian@cygnus.com>
147175fd0b74Schristos
147275fd0b74Schristos	* Makefile.am (ldver.texi): New target.
147375fd0b74Schristos	(ld.info, ld.dvi): Depend upon ldver.texi.
147475fd0b74Schristos	* ld.texinfo: Include ldver.texi.  Mention version number on title
147575fd0b74Schristos	page and in top node.
147675fd0b74Schristos	* Makefile.in: Rebuild.
147775fd0b74Schristos
147875fd0b74SchristosMon Jul  6 14:55:13 1998  Ian Lance Taylor  <ian@cygnus.com>
147975fd0b74Schristos
148075fd0b74Schristos	* configure.tgt (i[3456]86-*-solaris*): New target.
148175fd0b74Schristos
148275fd0b74SchristosFri Jul  3 14:19:06 1998  Ian Lance Taylor  <ian@cygnus.com>
148375fd0b74Schristos
148475fd0b74Schristos	* ldlang.c (wild_section): Don't get an assertion failure if the
148575fd0b74Schristos	section is discarded.
148675fd0b74Schristos
148775fd0b74Schristos	* scripttempl/pe.sc: Use SORT to sort sections appropriately.
148875fd0b74Schristos	* emultempl/pe.em (sort_by_file_name): Remove.
148975fd0b74Schristos	(sort_by_section_name): Remove.
149075fd0b74Schristos	(sort_sections_1, sort_sections): Remove.
149175fd0b74Schristos	(gld_${EMULATION_NAME}_before_allocation): Don't call
149275fd0b74Schristos	sort_sections.
149375fd0b74Schristos	(hold_section, hold_section_name): New static variables.
149475fd0b74Schristos	(hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
149575fd0b74Schristos	(gld_${EMULATION_NAME}_place_orphan): Rewrite.  Look for a good
149675fd0b74Schristos	place to put the section.  Align the section.  Sort the input
149775fd0b74Schristos	sections by name.
149875fd0b74Schristos	(gld_${EMULATION_NAME}_place_section): New static function.
149975fd0b74Schristos
150075fd0b74Schristos	* ldlang.c (wild_sort): When sorting by file name, sort by archive
150175fd0b74Schristos	name first.
150275fd0b74Schristos
150375fd0b74Schristos	* emultempl/pe.em (set_pe_subsystem): Don't call
150475fd0b74Schristos	ldlang_add_undef.
150575fd0b74Schristos	(gld_${EMULATION_NAME}_after_parse): New static function.
150675fd0b74Schristos	(ld_${EMULATION_NAME}_emulation): Use new after_parse function
150775fd0b74Schristos	rather than after_parse_default.
150875fd0b74Schristos
150975fd0b74Schristos	* ldgram.y (extern_name_list): Do not require symbols to be
151075fd0b74Schristos	separated by commas.
151175fd0b74Schristos	(ifile_p1): Add EXTERN.
151275fd0b74Schristos	* ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI
151375fd0b74Schristos	mode.
151475fd0b74Schristos	* ld.texinfo (Options): Mention that EXTERN is equivalent to -u.
151575fd0b74Schristos	(Miscellaneous Commands): Document EXTERN.
151675fd0b74Schristos
151775fd0b74SchristosWed Jul  1 19:40:34 1998  Richard Henderson <rth@cygnus.com>
151875fd0b74Schristos
151975fd0b74Schristos	* ld.h (args_type): Add gc_sections.
152075fd0b74Schristos	* ldgram.y (ldgram_had_keep, KEEP): New.
152175fd0b74Schristos	(input_section_spec_no_keep): Rename from old input_section_spec.
152275fd0b74Schristos	(input_section_spec): New.  Recognize KEEP.
152375fd0b74Schristos	* ldlang.c (wild_section): Handle keep sections.
152475fd0b74Schristos	(lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
152575fd0b74Schristos	(lang_gc_sections_1, lang_gc_sections): New.
152675fd0b74Schristos	(lang_process): Invoke lang_gc_sections.
152775fd0b74Schristos	(lang_add_wild): Add keep argument.  Update all callers.
152875fd0b74Schristos	* ldlang.h (lang_wild_statement_struct): Add keep_sections.
152975fd0b74Schristos	* ldlex.l (KEEP): Match it.
153075fd0b74Schristos	* ldmain.c (main): Error on -r and --gc-sections.
153175fd0b74Schristos	* lexsup.c: Add --gc-sections.
153275fd0b74Schristos
153375fd0b74Schristos	* scripttempl/elf.sc: Merge .text.* etc sections appropriately.
153475fd0b74Schristos	Mark startup sections with KEEP.
153575fd0b74Schristos	* scripttempl/elfppc.sc: Likewise.
153675fd0b74Schristos
153775fd0b74Schristos	* ld.texinfo: Update for --gc-sections and KEEP.
153875fd0b74Schristos
153975fd0b74SchristosWed Jul  1 15:21:20 1998  Ian Lance Taylor  <ian@cygnus.com>
154075fd0b74Schristos
154175fd0b74Schristos	From Peter Jordan <pjordan@chla.usc.edu>:
154275fd0b74Schristos	* scripttempl/i386go32.sc: Correct constructor handling for -u.
154375fd0b74Schristos
154475fd0b74SchristosTue Jun 23 15:17:27 1998  Ian Lance Taylor  <ian@cygnus.com>
154575fd0b74Schristos
154675fd0b74Schristos	* Makefile.am (install-data-local): Make ldscripts subdirectory.
154775fd0b74Schristos	* Makefile.in: Rebuild.
154875fd0b74Schristos
154975fd0b74SchristosTue Jun 23 15:17:04 1998  Mike Stump  <mrs@wrs.com>
155075fd0b74Schristos
155175fd0b74Schristos	* Makefile.am (install-exec-local): Don't let EXEEXT interfere
155275fd0b74Schristos	with the program transform name.
155375fd0b74Schristos	* Makefile.in: Rebuild.
155475fd0b74Schristos
155575fd0b74SchristosSun Jun 21 23:55:16 1998  Jeffrey A Law  (law@cygnus.com)
155675fd0b74Schristos
155775fd0b74Schristos	* ld.texinfo: Note that -relax may make symbolic debugging
155875fd0b74Schristos	impossible on some platforms.
155975fd0b74Schristos
156075fd0b74SchristosTue Jun 16 12:51:13 1998  Geoff Keating  <geoffk@ozemail.com.au>
156175fd0b74Schristos
156275fd0b74Schristos	* Makefile.am (Makefile): Remove target.
156375fd0b74Schristos	(config.status): New target.
156475fd0b74Schristos	* Makefile.in: Rebuild.
156575fd0b74Schristos
156675fd0b74Schristos	* configure.host (powerpc*-*-linux-gnu*): New host.
156775fd0b74Schristos
156875fd0b74SchristosFri Jun 12 17:38:07 1998  Doug Evans  <devans@seba.cygnus.com>
156975fd0b74Schristos
157075fd0b74Schristos	* scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
157175fd0b74Schristos
157275fd0b74Schristos	* emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of
157375fd0b74Schristos	stack to 8MB.
157475fd0b74Schristos
157575fd0b74SchristosFri Jun 12 19:33:17 1998  Ian Lance Taylor  <ian@cygnus.com>
157675fd0b74Schristos
157775fd0b74Schristos	* Makefile.am (HFILES): Remove config.h.
157875fd0b74Schristos	(EMULATION_OFILES, POTFILES): Move patch of May 14 from
157975fd0b74Schristos	Makefile.in to Makefile.am.
158075fd0b74Schristos	(earmcoff.c): Depend upon armcoff.em, not generic.em.
158175fd0b74Schristos	* po/Make-in (all-yes): Correct misspelling in $(PACKAGE).
158275fd0b74Schristos	($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT).
158375fd0b74Schristos	* Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild.
158475fd0b74Schristos
158575fd0b74SchristosFri Jun 12 13:43:17 1998  Tom Tromey  <tromey@cygnus.com>
158675fd0b74Schristos
158775fd0b74Schristos	* po/Make-in (all-yes): If maintainer mode, depend on .pot file.
158875fd0b74Schristos	($(PACKAGE).pot): Unconditionally depend on POTFILES.
158975fd0b74Schristos
159075fd0b74SchristosTue Jun  9 09:36:48 1998  Nick Clifton  <nickc@cygnus.com>
159175fd0b74Schristos
159275fd0b74Schristos	* ldlang.c (lang_finish): Add CONST type modifier to declaration
159375fd0b74Schristos	of 'send'.
159475fd0b74Schristos
159575fd0b74SchristosFri Jun  5 18:19:59 1998  Ian Lance Taylor  <ian@cygnus.com>
159675fd0b74Schristos
159775fd0b74Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
159875fd0b74Schristos	config.has_shared to true.
159975fd0b74Schristos	* emultempl/linux.em (gld${EMULATION_NAME}_before_parse):
160075fd0b74Schristos	Likewise.
160175fd0b74Schristos	* emultempl/sunos.em (gld${EMULATION_NAME}_before_parse):
160275fd0b74Schristos	Likewise.
160375fd0b74Schristos
160475fd0b74SchristosTue Jun  2 12:55:03 1998  Ian Lance Taylor  <ian@cygnus.com>
160575fd0b74Schristos
160675fd0b74Schristos	* ldlang.c (lang_finish): If the entry symbol is not found, try
160775fd0b74Schristos	parsing it as a number.
160875fd0b74Schristos	* ld.texinfo (Options): Document this.
160975fd0b74Schristos
161075fd0b74SchristosMon Jun  1 14:01:20 1998  Ian Lance Taylor  <ian@cygnus.com>
161175fd0b74Schristos
161275fd0b74Schristos	* ld.texinfo (Input Section Wildcards): Document SORT keyword.
161375fd0b74Schristos
161475fd0b74SchristosMon May 18 12:42:53 1998  Doug Evans  <devans@canuck.cygnus.com>
161575fd0b74Schristos
161675fd0b74Schristos	* ld.h (ld_config_type): New member has_shared.
161775fd0b74Schristos	* ldmain.c (main): Initialize it.
161875fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it.
161975fd0b74Schristos	* lexsup.c (parse_args): Treat -shared as error if not supported.
162075fd0b74Schristos
162175fd0b74SchristosMon May 18 13:14:43 1998  Ian Lance Taylor  <ian@cygnus.com>
162275fd0b74Schristos
162375fd0b74Schristos	From Jason Merrill <jason@cygnus.com>:
162475fd0b74Schristos	* ldlang.c (wild_sort): Correct order of sort.
162575fd0b74Schristos	* scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
162675fd0b74Schristos	.dtors.
162775fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
162875fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
162975fd0b74Schristos	* scripttempl/elfppc.sc: Likewise.
163075fd0b74Schristos
163175fd0b74SchristosFri May 15 00:22:35 1998  Ian Lance Taylor  <ian@cygnus.com>
163275fd0b74Schristos
163375fd0b74Schristos	* ldlex.l: Recognize keyword SORT.
163475fd0b74Schristos	* ldgram.y (current_file): Change to struct wildcard_spec.
163575fd0b74Schristos	(%union): Add new fields cname and wildcard.
163675fd0b74Schristos	(wildcard_name, wildcard_spec): New nonterminals.
163775fd0b74Schristos	(file_NAME_list): Use wildcard_spec.
163875fd0b74Schristos	(input_section_spec): Change current_file usage.
163975fd0b74Schristos	* ld.h (struct wildcard_spec): Define.
164075fd0b74Schristos	* ldlang.h (lang_wild_statement_struct): Add new fields
164175fd0b74Schristos	sections_sorted and filenames_sorted.
164275fd0b74Schristos	(lang_add_wild): Update declaration.
164375fd0b74Schristos	* ldlang.c (wild_sort): New static function.
164475fd0b74Schristos	(wild_section): Use wild_sort.
164575fd0b74Schristos	(print_wild_statement): Print sorting information.
164675fd0b74Schristos	(lang_add_wild): Add new parameters sections_sorted and
164775fd0b74Schristos	filenames_sorted.  Change all callers.
164875fd0b74Schristos	* mri.c (mri_draw_tree): Update calls to lang_add_wild.
164975fd0b74Schristos	* scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name.
165075fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
165175fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
165275fd0b74Schristos	* scripttempl/elfppc.sc: Likewise.
165375fd0b74Schristos
165475fd0b74SchristosThu May 14 18:39:16 1998  Richard Henderson  <rth@cygnus.com>
165575fd0b74Schristos
165675fd0b74Schristos	* emulparams/m32relf.sh (TEMPLATE_NAME): Define.
165775fd0b74Schristos
165875fd0b74SchristosThu May 14 14:51:24 1998  Nick Clifton  <nickc@cygnus.com>
165975fd0b74Schristos
166075fd0b74Schristos	* ldemul.h: Add new prototype: ldemul_list_emulation_options.
166175fd0b74Schristos	(ld_emulation_xfer_struct): Add new field: list_options.
166275fd0b74Schristos	* ldemul.c (ldemul_list_options): New function.  Call the
166375fd0b74Schristos	list_options field of the ld_emulation_xfer_struct for each
166475fd0b74Schristos	supported emulation, if such a function is present.
166575fd0b74Schristos	* lexsup.c (help): Call ldemul_list_emulation_options.
166675fd0b74Schristos	* emultempl/pe.em (gld_<>_list_options): New function.  Describe
166775fd0b74Schristos	the pe emulation specific command line options.
166875fd0b74Schristos	* emultempl/armcoff.em (gld<>_list_options): New function.
166975fd0b74Schristos	Describe  the armcoff emulation specific command line options.
167075fd0b74Schristos
167175fd0b74Schristos	* emultempl/pe.em: Add a new command line option:
167275fd0b74Schristos	--support-old-code.
167375fd0b74Schristos	* emultempl/armcoff.em: Ditto.
167475fd0b74Schristos	* ld.texinfo: Document the --support-old-code option.
167575fd0b74Schristos
167675fd0b74Schristos	* Makefile.in: Add emulation files for POTFILES.in target.
167775fd0b74Schristos	* emultempl/pe.em: Internationalise suitable strings.
167875fd0b74Schristos	* emultempl/armcoff.em: Internationalise suitable strings.
167975fd0b74Schristos	* po/POTFILES.in: Rebuilt.
168075fd0b74Schristos
168175fd0b74SchristosSun May 10 22:36:30 1998  Jeffrey A Law  (law@cygnus.com)
168275fd0b74Schristos
168375fd0b74Schristos	* po/Make-in (install-info): New target.
168475fd0b74Schristos
168575fd0b74SchristosTue Apr 28 19:18:30 1998  Tom Tromey  <tromey@cygnus.com>
168675fd0b74Schristos
168775fd0b74Schristos	* ldmain.c (main): Conditionally call setlocale.
168875fd0b74Schristos	* ld.h: Include <locale.h> if HAVE_LOCALE_H.
168975fd0b74Schristos	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
169075fd0b74Schristos
169175fd0b74SchristosMon Apr 27 11:56:21 1998  Ian Lance Taylor  <ian@cygnus.com>
169275fd0b74Schristos
169375fd0b74Schristos	* configure.in: Change version number to 2.9.4
169475fd0b74Schristos	* configure: Rebuild.
169575fd0b74Schristos
169675fd0b74Schristos	* ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf.
169775fd0b74Schristos
169875fd0b74Schristos	Based on patch from H.J. Lu <hjl@gnu.org>:
169975fd0b74Schristos	* emultempl/elf32.em (global_vercheck_needed): New file static
170075fd0b74Schristos	variable.
170175fd0b74Schristos	(global_vercheck_failed): New file static variable.
170275fd0b74Schristos	(gld${EMULATION_NAME}_after_open): Check for shared libraries
170375fd0b74Schristos	twice, once with force set to 0 and once with it set to 1.
170475fd0b74Schristos	(gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter.
170575fd0b74Schristos	Change all callers.
170675fd0b74Schristos	(gld${EMULATION_NAME}_search_needed): Likewise.
170775fd0b74Schristos	(gld${EMULATION_NAME}_try_needed): Likewise.  If not force, check
170875fd0b74Schristos	whether the libraries needs any incompatible versions.
170975fd0b74Schristos	(gld${EMULATION_NAME}_vercheck): New static function.
171075fd0b74Schristos
171175fd0b74SchristosWed Apr 22 16:01:35 1998  Tom Tromey  <tromey@cygnus.com>
171275fd0b74Schristos
171375fd0b74Schristos	* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
171475fd0b74Schristos
171575fd0b74SchristosWed Apr 22 12:40:56 1998  Ian Lance Taylor  <ian@cygnus.com>
171675fd0b74Schristos
171775fd0b74Schristos	* Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
171875fd0b74Schristos	invoking runtest.
171975fd0b74Schristos	* Makefile.in: Rebuild.
172075fd0b74Schristos
172175fd0b74Schristos	* lexsup.c (parse_args): Change -l options into --library options
172275fd0b74Schristos	to avoid confusion between -li and -library.
172375fd0b74Schristos
172475fd0b74Schristos	* ld.texinfo (MEMORY): Clarify use of >REGION.
172575fd0b74Schristos
172675fd0b74SchristosTue Apr 21 23:12:40 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
172775fd0b74Schristos
172875fd0b74Schristos	* Many files: Added gettext invocations around user-visible
172975fd0b74Schristos	strings.
173075fd0b74Schristos	* ld.h: Added gettext-related includes and defines.
173175fd0b74Schristos	* ldmain.c: Call setlocale, bindtextdomain, textdomain.
173275fd0b74Schristos	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
173375fd0b74Schristos	HAVE_LC_MESSAGES): Define.
173475fd0b74Schristos	* configure.in: Call CY_GNU_GETTEXT.  Create po/Makefile.in and
173575fd0b74Schristos	po/Makefile.  Use AM_PROG_LEX.
173675fd0b74Schristos	(TDIRS): AC_SUBST early on, to avoid having value split when it
173775fd0b74Schristos	happens to cross line 90 of the generated sed script.
173875fd0b74Schristos	* Makefile.am (SUBDIRS): New macro.
173975fd0b74Schristos	(POTFILES): Likewise.
174075fd0b74Schristos	(po/POTFILES.in): New target.
174175fd0b74Schristos	(ld_new_LDADD): Added INTLLIBS.
174275fd0b74Schristos	(ld_new_DEPENDENCIES): Added INTLDEPS.
174375fd0b74Schristos	* po/Make-in, po/POTFILES.in, po/ld.pot: New files.
174475fd0b74Schristos
174575fd0b74SchristosTue Apr 21 23:07:07 1998  Ian Lance Taylor  <ian@cygnus.com>
174675fd0b74Schristos
174775fd0b74Schristos	* ld.texinfo (Simple Example): Rewrite a few things as suggested
174875fd0b74Schristos	by Nick Clifton <nickc@cygnus.com>.
174975fd0b74Schristos	(PROVIDE): Likewise.
175075fd0b74Schristos
175175fd0b74SchristosTue Apr 21 09:55:06 1998  Nick Clifton  <nickc@cygnus.com>
175275fd0b74Schristos
175375fd0b74Schristos	* emultempl/pe.em: Rename external arm interworking functions
175475fd0b74Schristos	to conform to BFD naming conventions.  Add code to _after_open()
175575fd0b74Schristos	function to obtain a bfd for use by the interworking code.
175675fd0b74Schristos
175775fd0b74Schristos	* emultempl/armcoff.em: Rename external arm interworking functions
175875fd0b74Schristos	to conform to BFD naming conventions.  Add new _after_open()
175975fd0b74Schristos	function to obtain a bfd for use by the interworking code.
176075fd0b74Schristos
176175fd0b74SchristosSun Apr 19 19:23:09 1998  Richard Henderson  <rth@cygnus.com>
176275fd0b74Schristos
176375fd0b74Schristos	* ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]:
176475fd0b74Schristos	Update dot and the default memory section even when relaxing.
176575fd0b74Schristos
176675fd0b74SchristosSat Apr 18 18:41:12 1998  Richard Henderson  <rth@cygnus.com>
176775fd0b74Schristos
176875fd0b74Schristos	* ldlang.c (lang_one_common): Manipulate the section's cooked size
176975fd0b74Schristos	rather than its raw size.
177075fd0b74Schristos
177175fd0b74SchristosTue Apr  7 13:35:29 1998  H.J. Lu  <hjl@gnu.org>
177275fd0b74Schristos
177375fd0b74Schristos	* configure.in (TESTBFDLIB): New.  Defined and substituted.
177475fd0b74Schristos	* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
177575fd0b74Schristos	* configure, Makefile.in: Rebuild.
177675fd0b74Schristos
177775fd0b74SchristosMon Apr  6 15:33:39 1998  Ian Lance Taylor  <ian@cygnus.com>
177875fd0b74Schristos
177975fd0b74Schristos	* Makefile.am (ld.info): Invoke makeinfo with -I options directly
178075fd0b74Schristos	rather than relying on default rule.  Don't depend upon
178175fd0b74Schristos	bfdsumm.texi.
178275fd0b74Schristos	(ld.dvi): Likewise.
178375fd0b74Schristos	(bfdsumm.texi): Remove target.
178475fd0b74Schristos	(CLEANFILES): Take bfdsumm.texi out of value.
178575fd0b74Schristos	* Makefile.in: Rebuild.
178675fd0b74Schristos
178775fd0b74SchristosSun Apr  5 13:07:57 1998  Ian Lance Taylor  <ian@cygnus.com>
178875fd0b74Schristos
178975fd0b74Schristos	* scripttempl/pe.sc: Use shell variables to avoid depending upon
179075fd0b74Schristos	how $ is handled when expanding a shell substitution.
179175fd0b74Schristos
179275fd0b74SchristosFri Apr  3 00:56:50 1998  Ian Lance Taylor  <ian@cygnus.com>
179375fd0b74Schristos
179475fd0b74Schristos	* Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
179575fd0b74Schristos	(DISTCLEANFILES): Add site.exp and site.bak.
179675fd0b74Schristos	* Makefile.in: Rebuild.
179775fd0b74Schristos
179875fd0b74Schristos	* configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
179975fd0b74Schristos	rather than in a shell variable and using AC_SUBST.
180075fd0b74Schristos	* Makefile.am (DISTCLEANFILES): Remove ldscripts.  Add tdirs.
180175fd0b74Schristos	(distclean-local): New target.
180275fd0b74Schristos	* configure, Makefile.in: Rebuild.
180375fd0b74Schristos
180475fd0b74Schristos	* ld.texinfo: Completely rewrite linker script documentation.
180575fd0b74Schristos
180675fd0b74SchristosMon Mar 30 12:47:33 1998  Ian Lance Taylor  <ian@cygnus.com>
180775fd0b74Schristos
180875fd0b74Schristos	* configure.in: Set version to 2.9.1.
180975fd0b74Schristos	* configure: Rebuild.
181075fd0b74Schristos
181175fd0b74Schristos	* Branched binutils 2.9.
181275fd0b74Schristos
181375fd0b74SchristosSat Mar 28 16:48:19 1998  Ian Lance Taylor  <ian@cygnus.com>
181475fd0b74Schristos
181575fd0b74Schristos	* Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
181675fd0b74Schristos	(mostlyclean-local): New target to remove tmpdir.
181775fd0b74Schristos	* Makefile.in: Rebuild.
181875fd0b74Schristos
181975fd0b74Schristos	Fix some gcc -Wall warnings:
182075fd0b74Schristos	* ldcref.c (output_cref): Add casts to avoid warnings.
182175fd0b74Schristos	* ldfile.c (ldfile_add_arch): Likewise.
182275fd0b74Schristos	* ldlang.c (lang_leave_overlay_section): Likewise.
182375fd0b74Schristos	* lexsup.c (OPTION_COUNT): Likewise.
182475fd0b74Schristos	(parse_args): Likewise.
182575fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
182675fd0b74Schristos	Likewise.
182775fd0b74Schristos	* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
182875fd0b74Schristos	* ldlang.c (lang_check): Initialize variables to avoid warnings.
182975fd0b74Schristos	* ldwrite.c (build_link_order): Likewise.
183075fd0b74Schristos	* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
183175fd0b74Schristos	* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
183275fd0b74Schristos	Remove unused variables.
183375fd0b74Schristos
183475fd0b74Schristos	* Makefile.am (MOSTLYCLEANFILES): Correct name (was
183575fd0b74Schristos	MOSTCLEANFILES).
183675fd0b74Schristos	* Makefile.in: Rebuild.
183775fd0b74Schristos
183875fd0b74SchristosFri Mar 27 16:39:25 1998  Ian Lance Taylor  <ian@cygnus.com>
183975fd0b74Schristos
184075fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
184175fd0b74Schristos	ARM code inside ifdef TARGET_IS_armpe.
184275fd0b74Schristos
184375fd0b74SchristosWed Mar 25 11:34:13 1998  Ian Lance Taylor  <ian@cygnus.com>
184475fd0b74Schristos
184575fd0b74Schristos	Based on patch from H.J. Lu  <hjl@gnu.org>:
184675fd0b74Schristos	* Makefile.am (LDDISTSTUFF): New variable.
184775fd0b74Schristos	(diststuff): New target.
184875fd0b74Schristos	* Makefile.in: Rebuild.
184975fd0b74Schristos
185075fd0b74Schristos	* scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
185175fd0b74Schristos	relocating.
185275fd0b74Schristos
185375fd0b74SchristosTue Mar 24 15:59:29 1998  Nick Clifton  <nickc@cygnus.com>
185475fd0b74Schristos
185575fd0b74Schristos	* scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to
185675fd0b74Schristos	hold Arm/Thumb stubs.
185775fd0b74Schristos
185875fd0b74Schristos	* emultempl/pe.em (gld_pe_before_allocation): Call
185975fd0b74Schristos	arm_process_before_allocation (for ARM/Thumb targets) in order to
186075fd0b74Schristos	gather interworking stb information.
186175fd0b74Schristos
186275fd0b74SchristosMon Mar 23 18:54:15 1998  Joel Sherrill  <joel@OARcorp.com>
186375fd0b74Schristos
186475fd0b74Schristos	* configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
186575fd0b74Schristos
186675fd0b74SchristosFri Mar 20 19:17:13 1998  Ian Lance Taylor  <ian@cygnus.com>
186775fd0b74Schristos
186875fd0b74Schristos	* aclocal.m4, configure: Rebuild with libtool 1.2.
186975fd0b74Schristos
187075fd0b74SchristosThu Mar 19 14:54:45 1998  Geoffrey Noer  <noer@cygnus.com>
187175fd0b74Schristos
187275fd0b74Schristos	* scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
187375fd0b74Schristos	section to avoid copying certain data on fork.  The linker used to
187475fd0b74Schristos	include this between __data_start__ and __data_end__, but that
187575fd0b74Schristos	breaks building the cygwin32 dll.  The fix is to rename the
1876*e992f068Schristos	section	".data_cygwin_nocopy" and explicitly include it after
187775fd0b74Schristos	__data_end__.
187875fd0b74Schristos
187975fd0b74SchristosWed Mar 18 09:42:24 1998  Nick Clifton  <nickc@cygnus.com>
188075fd0b74Schristos
188175fd0b74Schristos	* configure.tgt (targ_extra_emuls): Add thumb-pe target.
188275fd0b74Schristos
188375fd0b74SchristosSun Mar  8 23:34:14 1998  Stan Cox  <scox@equinox.cygnus.com>
188475fd0b74Schristos
188575fd0b74Schristos	* configure.tgt (sparclite*-*-elf): Added.
188675fd0b74Schristos
188775fd0b74SchristosMon Mar  2 19:24:08 1998  Michael Meissner  <meissner@cygnus.com>
188875fd0b74Schristos
188975fd0b74Schristos	* ldlang.c (lang_size_sections): If the default memory region is
189075fd0b74Schristos	*default*, see if there is a memory region that could be used.
189175fd0b74Schristos
189275fd0b74SchristosThu Feb 26 17:09:53 1998  Michael Meissner  <meissner@cygnus.com>
189375fd0b74Schristos
189475fd0b74Schristos	* scripttempl/elfd30v.sc: Add support for .eit_v section and put
189575fd0b74Schristos	it at 0xfffff020.
189675fd0b74Schristos	* emulparams/d30v{elf,_o,_e}.sh: Ditto.
189775fd0b74Schristos
189875fd0b74SchristosMon Feb 23 17:46:51 1998  Ian Lance Taylor  <ian@cygnus.com>
189975fd0b74Schristos
190075fd0b74Schristos	* emultempl/pe.em (sort_sections): Permit the wildcard to include
190175fd0b74Schristos	a trailing '*' when sorting grouped sections.
190275fd0b74Schristos	* scripttempl/pe.sc: Include grouped sections using NAME\$*.  Only
190375fd0b74Schristos	include them when relocating.
190475fd0b74Schristos
190575fd0b74SchristosWed Feb 18 23:39:46 1998  Richard Henderson  <rth@cygnus.com>
190675fd0b74Schristos
190775fd0b74Schristos	* Makefile.am (install-exec-local): Install properly when ln
190875fd0b74Schristos	fails or tooldir == prefix.
190975fd0b74Schristos
191075fd0b74SchristosFri Feb 13 15:24:06 1998  Ian Lance Taylor  <ian@cygnus.com>
191175fd0b74Schristos
191275fd0b74Schristos	* Makefile.am (AUTOMAKE_OPTIONS): Define.
191375fd0b74Schristos	* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
191475fd0b74Schristos
191575fd0b74SchristosThu Feb 12 14:10:44 1998  Ian Lance Taylor  <ian@cygnus.com>
191675fd0b74Schristos
191775fd0b74Schristos	* scripttempl/elf.sc: Align the _end symbol according to the ELF
191875fd0b74Schristos	format size.  From Gordon W. Ross <gwr@mc.com>.
191975fd0b74Schristos
192075fd0b74Schristos	NetBSD patches from Gordon W. Ross <gwr@mc.com>:
192175fd0b74Schristos	* configure.host (alpha*-*-netbsd*): New host.
192275fd0b74Schristos	* configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
192375fd0b74Schristos	targets.
192475fd0b74Schristos
192575fd0b74Schristos	* lexsup.c (help): Update bug-gnu-utils address.
192675fd0b74Schristos	* ld.texinfo (Bug Reporting): Likewise.
192775fd0b74Schristos
192875fd0b74SchristosTue Feb 10 18:05:56 1998  Ian Lance Taylor  <ian@cygnus.com>
192975fd0b74Schristos
193075fd0b74Schristos	* ldlang.c (lang_size_sections): Warn if some memory regions were
193175fd0b74Schristos	defined, but a loadable section is going into the default memory
193275fd0b74Schristos	region.
193375fd0b74Schristos
193475fd0b74SchristosTue Feb 10 16:17:20 1998  H.J. Lu  <hjl@gnu.org>
193575fd0b74Schristos
193675fd0b74Schristos	* ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix.
193775fd0b74Schristos
193875fd0b74SchristosTue Feb 10 15:09:45 1998  Ian Lance Taylor  <ian@cygnus.com>
193975fd0b74Schristos
194075fd0b74Schristos	* Makefile.am (Makefile): Add target, for dependencies on
194175fd0b74Schristos	configure.host and configure.tgt.
194275fd0b74Schristos	* configure.host, configure.tgt: Change -linux* to -linux-gnu*.
194375fd0b74Schristos	* Makefile.in: Rebuild.
194475fd0b74Schristos
194575fd0b74SchristosMon Feb  9 13:44:40 1998  Andrew Cagney  <cagney@b1.cygnus.com>
194675fd0b74Schristos
194775fd0b74Schristos	* scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE.
194875fd0b74Schristos
194975fd0b74Schristos	* emulparams/d10velf.sh (READONLY_START_ADDR): Read only section
195075fd0b74Schristos	moved to 0x00.....4.
195175fd0b74Schristos
195275fd0b74SchristosSat Feb  7 15:41:26 1998  Ian Lance Taylor  <ian@cygnus.com>
195375fd0b74Schristos
195475fd0b74Schristos	* configure, aclocal.m4: Rebuild with new libtool.
195575fd0b74Schristos
195675fd0b74SchristosThu Feb  5 12:16:11 1998  Ian Lance Taylor  <ian@cygnus.com>
195775fd0b74Schristos
195875fd0b74Schristos	* scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
195975fd0b74Schristos	From Thomas de Lellis <tdel@wrs.com>.
196075fd0b74Schristos
196175fd0b74Schristos	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
196275fd0b74Schristos
196375fd0b74SchristosWed Feb  4 13:02:32 1998  Ian Lance Taylor  <ian@cygnus.com>
196475fd0b74Schristos
196575fd0b74Schristos	* Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
196675fd0b74Schristos	* Makefile.in: Rebuild.
196775fd0b74Schristos
196875fd0b74SchristosMon Feb  2 19:34:54 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>
196975fd0b74Schristos
197075fd0b74Schristos	Add tms320c30 support:
197175fd0b74Schristos	* configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
197275fd0b74Schristos	* emulparams/tic30aout.sh: New file.
197375fd0b74Schristos	* emulparams/tic30coff.sh: New file.
197475fd0b74Schristos	* scripttempl/tic30aout.sc: New file.
197575fd0b74Schristos	* scripttempl/tic30coff.sc: New file.
197675fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
197775fd0b74Schristos	etic30coff.o.
197875fd0b74Schristos	(etic30aout.c, etic30coff.c): New targets.
197975fd0b74Schristos	* Makefile.in: Rebuild.
198075fd0b74Schristos
198175fd0b74SchristosMon Feb  2 14:10:59 1998  Ian Lance Taylor  <ian@cygnus.com>
198275fd0b74Schristos
198375fd0b74Schristos	* configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
198475fd0b74Schristos	accept either ld.so or ld-linux.so.
198575fd0b74Schristos
198675fd0b74SchristosFri Jan 30 19:16:28 1998  Doug Evans  <devans@canuck.cygnus.com>
198775fd0b74Schristos
198875fd0b74Schristos	* Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
198975fd0b74Schristos	to transform.
199075fd0b74Schristos	* Makefile.in: Regenerate.
199175fd0b74Schristos
199275fd0b74SchristosFri Jan 30 19:15:17 1998  Geoff Keating  <geoffk@ozemail.com.au>
199375fd0b74Schristos
199475fd0b74Schristos	* scripttempl/elfppc.sc: Put .dynsbss in .sbss.
199575fd0b74Schristos
199675fd0b74SchristosFri Jan 30 11:43:49 1998  H.J. Lu  <hjl@gnu.ai.mit.edu>
199775fd0b74Schristos
199875fd0b74Schristos	* Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
199975fd0b74Schristos	* Makefile.in: Rebuild.
200075fd0b74Schristos
200175fd0b74SchristosThu Jan 29 16:04:21 1998  Mumit Khan  <khan@xraylith.wisc.edu>
200275fd0b74Schristos
200375fd0b74Schristos	* ldfile.c (slash): Set to backslash if _WIN32 but not
200475fd0b74Schristos	__CYGWIN32__.
200575fd0b74Schristos	(ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
200675fd0b74Schristos	leading backslash or a leading x: as an absolute path.
200775fd0b74Schristos	(ldfile_find_command_file): Use slash rather than / when
200875fd0b74Schristos	generating name to try.
200975fd0b74Schristos	* lexsup.c (PATH_SEPARATOR): Define.
201075fd0b74Schristos	(set_default_dirlist): Use PATH_SEPARATOR rather than ':'.
201175fd0b74Schristos
201275fd0b74SchristosWed Jan 28 14:06:30 1998  Richard Henderson  <rth@cygnus.com>
201375fd0b74Schristos
201475fd0b74Schristos	* emulparams/elf64_sparc.sh (ELFSIZE): 64
201575fd0b74Schristos	(TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later.
201675fd0b74Schristos	(DATA_PLT): Needed by v9 abi.
201775fd0b74Schristos
201875fd0b74SchristosWed Jan 28 16:37:27 1998  J.J. van der Heijden  <J.J.vanderHeijden@student.utwente.nl>
201975fd0b74Schristos
202075fd0b74Schristos	* configure.tgt (i[3456]86-*-mingw32*): New entry.
202175fd0b74Schristos
202275fd0b74SchristosWed Jan 28 15:51:58 1998  Ian Lance Taylor  <ian@cygnus.com>
202375fd0b74Schristos
202475fd0b74Schristos	* scripttempl/elf.sc: Only include linkonce sections in final
202575fd0b74Schristos	sections when relocating.
202675fd0b74Schristos
202775fd0b74SchristosWed Jan 28 14:10:01 1998  Ian Lance Taylor  <ian@cygnus.com>
202875fd0b74Schristos
202975fd0b74Schristos	* ld.texinfo (Options): Add a brief description of the types of
203075fd0b74Schristos	information included in a link map.
203175fd0b74Schristos
203275fd0b74Schristos	* ld.texinfo (Options): Mention LDEMULATION in description of -m.
203375fd0b74Schristos	(Environment): Mention LDEMULATION.
203475fd0b74Schristos
203575fd0b74Schristos	* ld.texinfo (Options): Clarify --export-dynamic a bit.
203675fd0b74Schristos
203775fd0b74SchristosThu Jan 22 16:07:23 1998  Richard Henderson  <rth@cygnus.com>
203875fd0b74Schristos
203975fd0b74Schristos	* ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
204075fd0b74Schristos	pattern could match.
204175fd0b74Schristos
204275fd0b74SchristosWed Jan 21 22:26:46 1998  Ian Lance Taylor  <ian@cygnus.com>
204375fd0b74Schristos
204475fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
204575fd0b74Schristos	a relocateable link, set the image base to 0, and don't define the
204675fd0b74Schristos	various symbols.
204775fd0b74Schristos	* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
204875fd0b74Schristos	* scripttempl/pe.sc: Swap the .data and .bss sections so that
204975fd0b74Schristos	.data comes first.  If doing a relocateable link, use
205075fd0b74Schristos	RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
205175fd0b74Schristos	sections at 0, and don't define any symbols.
205275fd0b74Schristos
205375fd0b74Schristos	* ldlang.c (lang_memory_default): Correct parenthisization of
205475fd0b74Schristos	expression.
205575fd0b74Schristos
205675fd0b74SchristosWed Jan 21 21:20:32 1998  Manfred Hollstein  <manfred@s-direktnet.de>
205775fd0b74Schristos
205875fd0b74Schristos	* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
205975fd0b74Schristos	here; they are included already via sysdep.h.
206075fd0b74Schristos
206175fd0b74SchristosTue Jan  6 13:40:02 1998  Richard Henderson  <rth@cygnus.com>
206275fd0b74Schristos
206375fd0b74Schristos	* scripttempl/i960.sc: Don't explicitly set .data and .bss start.
206475fd0b74Schristos
206575fd0b74SchristosFri Jan  2 20:15:37 1998  Michael Meissner  <meissner@cygnus.com>
206675fd0b74Schristos
206775fd0b74Schristos	* ldgram.y (attributes_opt): Pass region pointer to
206875fd0b74Schristos	lang_set_flags, not &region->flags.
206975fd0b74Schristos
207075fd0b74Schristos	* ldlang.c (lang_memory_default): New function to figure out a
207175fd0b74Schristos	default memory region for a section if it was not specified.
207275fd0b74Schristos	(lang_memory_region_lookup): Zero flags, not_flags field.
207375fd0b74Schristos	(lang_map{,_flags}): Print attribute flags in memory map.
207475fd0b74Schristos	(lang_size_sections): Call lang_memory_default to get default
207575fd0b74Schristos	memory region.
207675fd0b74Schristos	(lang_set_flags): Implement attribute flags for real.  Take new
207775fd0b74Schristos	argument to give the flags we are to skip for this region.
207875fd0b74Schristos
207975fd0b74Schristos	* ldlang.h (memory_region_struct): Add not_flags field, make both
208075fd0b74Schristos	flags fields flagword type.
208175fd0b74Schristos	(lang_output_section_state): Make flags field flagword type.
208275fd0b74Schristos	(lang_set_flags): Update prototype to match new calling sequence.
208375fd0b74Schristos	(lang_memory_region_default): Add prototype.
208475fd0b74Schristos
208575fd0b74Schristos	* emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION):
208675fd0b74Schristos	Define whether or not the region gets default sections, and if so,
208775fd0b74Schristos	what sections.
208875fd0b74Schristos
208975fd0b74Schristos	* scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get
209075fd0b74Schristos	default sections.
209175fd0b74Schristos
209275fd0b74SchristosThu Jan  1 22:58:04 1998  Michael Meissner  <meissner@cygnus.com>
209375fd0b74Schristos
209475fd0b74Schristos	* scripttempl/elfd30v.sc (.eh_frame): Link into the data section.
209575fd0b74Schristos
209675fd0b74SchristosThu Jan  1 18:04:51 1998  Jeffrey A Law  (law@cygnus.com)
209775fd0b74Schristos
209875fd0b74Schristos	* scripttempl/h8300h.sc: Fix typo.
209975fd0b74Schristos	* scripttempl/h8300s.sc: Likewise.
210075fd0b74Schristos
210175fd0b74SchristosFor older changes see ChangeLog-9197
210275fd0b74Schristos
210375fd0b74SchristosCopyright (C) 1998-1999 Free Software Foundation, Inc.
210475fd0b74Schristos
210575fd0b74SchristosCopying and distribution of this file, with or without modification,
210675fd0b74Schristosare permitted in any medium without royalty provided the copyright
210775fd0b74Schristosnotice and this notice are preserved.
210875fd0b74Schristos
210975fd0b74SchristosLocal Variables:
211075fd0b74Schristosmode: change-log
211175fd0b74Schristosleft-margin: 8
211275fd0b74Schristosfill-column: 74
211375fd0b74Schristosversion-control: never
211475fd0b74SchristosEnd:
2115