darling-gdb/ld/scripttempl
H.J. Lu 02ecc8e968 Add SORT_BY_INIT_PRIORITY.
bfd/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

	* elf.c (_bfd_elf_new_section_hook): Special handling for
	.init_array/.fini_array output sections.

ld/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.am (GENSCRIPTS): Add @enable_initfini_array@.

	* NEWS: Mention SORT_BY_INIT_PRIORITY.

	* configure.in: Add AC_CANONICAL_BUILD.
	Add --enable-initfini-array.

	* genscripts.sh (ENABLE_INITFINI_ARRAY): New.

	* ld.h (sort_type): Add by_init_priority.

	* ld.texinfo: Document SORT_BY_INIT_PRIORITY.

	* ldgram.y (SORT_BY_INIT_PRIORITY): New.
	(wildcard_spec): Handle SORT_BY_INIT_PRIORITY.

	* ldlang.c (get_init_priority): New.
	(compare_section): Use get_init_priority for by_init_priority.

	* ldlex.l (SORT_BY_INIT_PRIORITY): New.

	* scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY.

	* Makefile.in: Regenerated.
	* aclocal.m4: Regenerated.
	* config.in: Likewise.
	* configure: Likewise.

ld/testsuite/

2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/elf.exp (array_tests): Add init-mixed.
	(array_tests_static): Likewise.
	Also delete tmpdir/init-mixed.

	* ld-elf/init-mixed.c: New.
	* ld-elf/init-mixed.out: Likewise.
2010-12-15 14:56:40 +00:00
..
aix.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
alpha.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
alphavms.sc bfd/ 2010-06-01 09:52:28 +00:00
aout.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
armaout.sc Fix arm aout placement of .bss section 2001-10-11 17:28:43 +00:00
armbpabi.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
armcoff.sc * scripttempl/armcoff.sc: Revert 2010-09-22 change. 2010-09-24 04:41:12 +00:00
avr.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
crisaout.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
delta68.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
dlx.sc Add DLX target 2002-05-28 14:08:47 +00:00
elf32cr16.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf32cr16c.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elf32crx.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf32msp430_3.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf32msp430.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf32sh-symbian.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf32xc16x.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xl.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xs.sc PR ld/6766 2009-09-13 07:19:18 +00:00
elf64hppa.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf_chaos.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elf.sc Add SORT_BY_INIT_PRIORITY. 2010-12-15 14:56:40 +00:00
elfd10v.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elfd30v.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elfi370.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elfm68hc11.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elfm68hc12.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
elfmicroblaze.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elfxtensa.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
epocpe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300h.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300hn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300s.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sx.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sxn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8500.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500b.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500c.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500m.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500s.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
hppaelf.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386beos.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386go32.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386msdos.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i860coff.sc 2003-08-04 Christian Groessler <chris@groessler.org> 2003-08-06 02:19:05 +00:00
i960.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ip2k.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
iq2000.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
m68kaux.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
m68kcoff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m88kbcs.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mcorepe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mep.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
mips.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mipsbsd.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mmo.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
moxie.sc Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
nw.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
or32.sc Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:08 +00:00
pe.sc bfd/ 2010-11-04 16:03:25 +00:00
pep.sc bfd/ 2010-11-04 16:03:25 +00:00
pj.sc 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:37:36 +00:00
ppcpe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
psos.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
riscix.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sh.sc From "Anita Kulkarni" <AnitaK@kpit.com> 2002-09-25 17:06:09 +00:00
sparccoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
st2000.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic4xcoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
tic30aout.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic30coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic54xcoff.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
tic80coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
v850.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
vanilla.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
w65.sc Use ${CONSTRUCTING...} to enclose constructors and destructors. 2000-11-03 19:49:05 +00:00
xstormy16.sc Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
z80.sc Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8000.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.