binutils-gdb/ld/testsuite
H.J. Lu 24718e3ba5 bfd/
2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* bfd.c (bfd_emul_get_maxpagesize): New.
	(bfd_elf_set_pagesize): Likewise.
	(bfd_emul_set_maxpagesize): Likewise.
	(bfd_emul_get_commonpagesize): Likewise.
	(bfd_emul_set_commonpagesize): Likewise.
	* bfd-in2.h: Regenerated.

	* elf-bfd.h (elf_backend_data): Add commonpagesize.
	(xvec_get_elf_backend_data): New.
	(get_elf_backend_data): Use xvec_get_elf_backend_data.

	* elf32-arm.c (elf32_arm_vxworks_bed): Remove const.
	* elfxx-target.h (elfNN_bed): Likewise.

	* elf32-arm.c (ELF_COMMONPAGESIZE): Defined.
	* elf32-mips.c (ELF_COMMONPAGESIZE): Likewise.
	* elf32-ppc.c (ELF_COMMONPAGESIZE): Likewise.
	* elf32-sh.c (ELF_COMMONPAGESIZE): Likewise.
	* elf32-sh64.c (ELF_COMMONPAGESIZE): Likewise.
	* elf32-sparc.c (ELF_COMMONPAGESIZE): Likewise.
	* elf64-alpha.c (ELF_COMMONPAGESIZE): Likewise.
	* elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
	* elf64-sparc.c (ELF_COMMONPAGESIZE): Likewise.
	* elf64-x86-64.c (ELF_COMMONPAGESIZE): Likewise.
	* elfn32-mips.c (ELF_COMMONPAGESIZE): Likewise.
	* elfxx-ia64.c (ELF_COMMONPAGESIZE): Likewise.

	* elfxx-target.h (ELF_COMMONPAGESIZE): Define if not defined.
	(elfNN_bed): Initialize commonpagesize with ELF_COMMONPAGESIZE.

	* targets.c (bfd_find_target): Support NULL abfd.

ld/

2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* emulparams/arcelf.sh (MAXPAGESIZE): Changed to
	"CONSTANT (MAXPAGESIZE)".
	* emulparams/armelf_nbsd.sh: Likewise.
	* emulparams/armelf_vxworks.sh: Likewise.
	* emulparams/armnto.sh: Likewise.
	* emulparams/armsymbian.sh: Likewise.
	* emulparams/crislinux.sh: Likewise.
	* emulparams/elf32_i860.sh: Likewise.
	* emulparams/elf32_i960.sh: Likewise.
	* emulparams/elf32am33lin.sh: Likewise.
	* emulparams/elf32bfinfd.sh: Likewise.
	* emulparams/elf32bmipn32-defs.sh: Likewise.
	* emulparams/elf32frvfd.sh: Likewise.
	* emulparams/elf32i370.sh: Likewise.
	* emulparams/elf32lppcnto.sh: Likewise.
	* emulparams/elf32mcore.sh: Likewise.
	* emulparams/elf32openrisc.sh: Likewise.
	* emulparams/elf32ppcnto.sh: Likewise.
	* emulparams/elf32ppcwindiss.sh: Likewise.
	* emulparams/elf32vax.sh: Likewise.
	* emulparams/elf32xc16x.sh: Likewise.
	* emulparams/elf32xc16xl.sh: Likewise.
	* emulparams/elf32xc16xs.sh: Likewise.
	* emulparams/elf64_aix.sh: Likewise.
	* emulparams/elf64hppa.sh: Likewise.
	* emulparams/elf64mmix.sh: Likewise.
	* emulparams/elf_i386_be.sh: Likewise.
	* emulparams/elf_i386_chaos.sh: Likewise.
	* emulparams/elf_i386_ldso.sh: Likewise.
	* emulparams/hppa64linux.sh: Likewise.
	* emulparams/hppalinux.sh: Likewise.
	* emulparams/hppaobsd.sh: Likewise.
	* emulparams/i386lynx.sh: Likewise.
	* emulparams/i386moss.sh: Likewise.
	* emulparams/i386nto.sh: Likewise.
	* emulparams/i386nw.sh: Likewise.
	* emulparams/m32relf_linux.sh: Likewise.
	* emulparams/m68kpsos.sh: Likewise.
	* emulparams/or32elf.sh: Likewise.
	* emulparams/pjelf.sh: Likewise.
	* emulparams/pjlelf.sh: Likewise.
	* emulparams/ppclynx.sh: Likewise.
	* emulparams/ppcnw.sh: Likewise.
	* emulparams/shelf32_nbsd.sh : Likewise.
	* emulparams/shelf_nbsd.sh: Likewise.
	* emulparams/shelf_nto.sh: Likewise.
	* emulparams/shlelf_nto.sh: Likewise.
	* emulparams/xtensa-config.sh: Likewise.

	* emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
	"CONSTANT (MAXPAGESIZE)".
	(COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
	* emulparams/elf32_sparc.sh: Likewise.
	* emulparams/elf32bmip.sh: Likewise.
	* emulparams/elf32ppccommon.sh: Likewise.
	* emulparams/elf64_ia64.sh: Likewise.
	* emulparams/elf64_s390.sh: Likewise.
	* emulparams/elf64_sparc.sh: Likewise.
	* emulparams/elf64alpha.sh: Likewise.
	* emulparams/elf64ppc.sh: Likewise.
	* emulparams/elf_i386.sh: Likewise.
	* emulparams/elf_i386_vxworks.sh: Likewise.
	* emulparams/elf_s390.sh: Likewise.
	* emulparams/elf_x86_64.sh: Likewise.
	* emulparams/shlelf32_linux.sh: Likewise.
	* emulparams/shlelf_linux.sh: Likewise.

	* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
	"CONSTANT (COMMONPAGESIZE)".
	* emulparams/elf32btsmipn32.sh: Likewise.

	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
	"-z max-page-size=" and "-z common-page-size=".
	(gld${EMULATION_NAME}_list_options): Likewise.

	* ld.h (ld_config_type): Add maxpagesize and commonpagesize.

	* ld.texinfo: Document "-z max-page-size=" and
	"-z common-page-size=".

	* ldexp.c (exp_print_token): Handle CONSTANT.
	(fold_name): Likewise.
	* ldgram.y: Likewise.
	* ldlex.l: Likewise.

	* ldmain.c (main): Initiliaze config.maxpagesize and
	config.commonpagesize. Call bfd_emul_set_maxpagesize if
	config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
	config.commonpagesize config.maxpagesize isn't 0.
ld/testsuite/

2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/binutils.exp: New file.
	* ld-elf/commonpage1.d: Likewise.
	* ld-elf/maxpage1.d: Likewise.
	* ld-elf/maxpage1.s: Likewise.
2006-05-30 16:45:32 +00:00
..
config * config/default.exp (CC): Use find_gcc. 2005-05-27 17:27:03 +00:00
ld-alpha 2006-04-25 H.J. Lu <hongjiu.lu@intel.com> 2006-04-25 22:05:15 +00:00
ld-arm 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +00:00
ld-auto-import Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-bootstrap binutils/testsuite/ 2005-11-15 08:32:02 +00:00
ld-cdtest 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:35:45 +00:00
ld-checks Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
ld-cris * ld-cris/noov.d: Restrict to cris-*-*elf*. 2005-11-11 00:29:14 +00:00
ld-crx Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-cygwin Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-d10v * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-discard Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elf bfd/ 2006-05-30 16:45:32 +00:00
ld-elfcomm Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfvers 2006-04-26 H.J. Lu <hongjiu.lu@intel.com> 2006-04-30 00:23:00 +00:00
ld-elfvsb Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfweak * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s: 2006-05-17 11:30:24 +00:00
ld-fastcall Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-frv Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
ld-h8300 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-i386 ld/ 2006-03-03 09:32:01 +00:00
ld-ia64 bfd/ 2005-10-24 01:40:58 +00:00
ld-linkonce Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-m68hc11 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-m68k bfd/ 2006-03-25 10:24:27 +00:00
ld-maxq Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-mips-elf bfd/ 2006-05-22 15:06:23 +00:00
ld-mmix * ld-mmix/sec-1.d: Adjust for section order changes. 2006-01-03 07:03:26 +00:00
ld-pe Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-pie 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> 2006-02-23 22:23:26 +00:00
ld-powerpc * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. 2006-05-05 13:08:49 +00:00
ld-s390 Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-scripts * ld-scripts/empty-orphan.d: Update again. 2006-05-19 11:50:31 +00:00
ld-selective * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-sh Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-shared Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-sparc bfd/ 2006-04-05 12:41:59 +00:00
ld-srec 2006-05-02 H.J. Lu <hongjiu.lu@intel.com> 2006-05-02 13:35:45 +00:00
ld-undefined * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-v850 include/elf/ 2004-12-16 16:56:04 +00:00
ld-versados Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-x86-64 bfd/ 2006-05-26 02:44:19 +00:00
ld-xc16x Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
ld-xstormy16 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-xtensa Update FSF addresses 2005-05-12 07:32:09 +00:00
lib * lib/ld-lib.exp: Comment cleanups. 2006-04-05 01:51:15 +00:00
ChangeLog bfd/ 2006-05-30 16:45:32 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00