binutils-gdb/ld/testsuite
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
..
config
ld-alpha
ld-arm * ld/testsuite/ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in 2010-11-25 09:34:43 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Add SORT_BY_INIT_PRIORITY. 2010-12-15 14:56:40 +00:00
ld-elfcomm
ld-elfvers * ld-elfvers/vers25a.dsym: Really include _? in match. 2010-12-11 12:58:36 +00:00
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386
ld-ia64
ld-ifunc
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-mips-elf
ld-mmix
ld-mn10300
ld-pe
ld-pie
ld-plugin Properly convert LTO plugin visibility to ELF visibility. 2010-12-06 00:00:15 +00:00
ld-powerpc
ld-s390
ld-scripts * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test 2010-11-30 13:38:59 +00:00
ld-selective Don't pass -fvtable-gc to GCC 3.4.0 or above. 2010-12-04 18:32:52 +00:00
ld-sh
ld-shared
ld-sparc
ld-spu
ld-srec
ld-tic6x
ld-undefined
ld-v850
ld-versados
ld-vxworks
ld-x86-64
ld-xc16x
ld-xstormy16
ld-xtensa
lib binutils/testsuite/ 2010-11-20 15:36:34 +00:00
ChangeLog Add SORT_BY_INIT_PRIORITY. 2010-12-15 14:56:40 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-9303