binutils-gdb/ld/emulparams
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
..
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
arcelf.sh bfd/ 2006-05-30 16:45:32 +00:00
arm_epoc_pe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
armaoutb.sh
armaoutl.sh
armcoff.sh
armelf_fbsd.sh bfd/ 2004-09-17 12:18:19 +00:00
armelf_linux_eabi.sh * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. 2004-11-19 19:28:40 +00:00
armelf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf_vxworks.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf.sh 2005-10-19 Paul Brook <paul@codesourcery.com> 2005-10-19 14:43:21 +00:00
armelfb_linux_eabi.sh * emulparams/armelfb_linux_eabi.sh: New file. 2005-01-22 01:50:35 +00:00
armelfb_linux.sh
armelfb_nbsd.sh
armelfb.sh
armnbsd.sh
armnto.sh bfd/ 2006-05-30 16:45:32 +00:00
armpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
armsymbian.sh bfd/ 2006-05-30 16:45:32 +00:00
avr1.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr2.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr3.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr4.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr5.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr6.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
bfin.sh bfd/ 2006-05-30 16:45:32 +00:00
coff_i860.sh
coff_sparc.sh
crisaout.sh
criself.sh * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 2005-08-05 04:29:57 +00:00
crislinux.sh bfd/ 2006-05-30 16:45:32 +00:00
d10velf.sh
d30v_e.sh
d30v_o.sh
d30velf.sh
delta68.sh
elf32_dlx.sh
elf32_i860.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32_i960.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32_sparc_vxworks.sh bfd/ 2006-04-05 12:41:59 +00:00
elf32_sparc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32am33lin.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32b4300.sh
elf32bfinfd.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bmip.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bmipn32-defs.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bmipn32.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bsmip.sh
elf32btsmip.sh * emulparams/elf32btsmip.sh: Unset DATA_ADDR. 2005-06-01 19:26:25 +00:00
elf32btsmipn32.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32cr16c.sh
elf32crx.sh
elf32ebmip.sh
elf32ebmipvxworks.sh Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
elf32elmip.sh
elf32elmipvxworks.sh Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
elf32fr30.sh * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 2005-08-05 04:29:57 +00:00
elf32frv.sh * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
elf32frvfd.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32i370.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ip2k.sh
elf32iq10.sh
elf32iq2000.sh
elf32l4300.sh
elf32lmip.sh
elf32lppc.sh
elf32lppcnto.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32lppcsim.sh
elf32lsmip.sh
elf32ltsmip.sh
elf32ltsmipn32.sh
elf32m32c.sh * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. 2005-07-20 19:33:18 +00:00
elf32mcore.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32mipswindiss.sh
elf32mt.sh Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
elf32openrisc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppc_fbsd.sh
elf32ppc.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppccommon.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppclinux.sh * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
elf32ppcnto.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppcsim.sh
elf32ppcvxworks.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppcwindiss.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32vax.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16x.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xl.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xs.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xstormy16.sh
elf32xtensa.sh * scripttempl/elfxtensa.sc: Sync up with elf.sc. 2005-05-12 00:31:22 +00:00
elf64_aix.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_ia64_fbsd.sh 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> 2004-10-14 17:00:16 +00:00
elf64_ia64.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_s390.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_sparc_fbsd.sh
elf64_sparc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64alpha_fbsd.sh
elf64alpha_nbsd.sh
elf64alpha.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64bmip.sh
elf64btsmip.sh
elf64hppa.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64lppc.sh
elf64ltsmip.sh
elf64mmix.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64ppc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_fbsd.sh
elf_i386_be.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_chaos.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_fbsd.sh
elf_i386_ldso.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_vxworks.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_s390.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_x86_64_fbsd.sh
elf_x86_64.sh bfd/ 2006-05-30 16:45:32 +00:00
gld960.sh
gld960coff.sh
h8300.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300elf.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300h.sh
h8300helf.sh
h8300hn.sh
h8300hnelf.sh
h8300s.sh
h8300self.sh
h8300sn.sh
h8300snelf.sh
h8300sx.sh
h8300sxelf.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300sxn.sh
h8300sxnelf.sh
h8500.sh
h8500b.sh
h8500c.sh
h8500m.sh
h8500s.sh
hp3hpux.sh
hp300bsd.sh
hppa64linux.sh bfd/ 2006-05-30 16:45:32 +00:00
hppaelf.sh
hppalinux.sh bfd/ 2006-05-30 16:45:32 +00:00
hppanbsd.sh
hppaobsd.sh bfd/ 2006-05-30 16:45:32 +00:00
i386aout.sh
i386beos.sh
i386bsd.sh
i386coff.sh
i386go32.sh
i386linux.sh
i386lynx.sh bfd/ 2006-05-30 16:45:32 +00:00
i386mach.sh
i386moss.sh bfd/ 2006-05-30 16:45:32 +00:00
i386msdos.sh
i386nbsd.sh
i386nto.sh bfd/ 2006-05-30 16:45:32 +00:00
i386nw.sh bfd/ 2006-05-30 16:45:32 +00:00
i386pe_posix.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
i386pe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
lnk960.sh
m32relf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
m32relf.sh * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 2005-08-05 04:29:57 +00:00
m32rlelf_linux.sh
m32rlelf.sh
m68hc11elf.sh
m68hc11elfb.sh
m68hc12elf.sh
m68hc12elfb.sh
m68k4knbsd.sh
m68kaout.sh
m68kaux.sh
m68kcoff.sh
m68kelf.sh bfd/ 2006-05-30 16:45:32 +00:00
m68kelfnbsd.sh
m68klinux.sh
m68knbsd.sh
m68kpsos.sh bfd/ 2006-05-30 16:45:32 +00:00
m88kbcs.sh
maxqcoff.sh Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
mcorepe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
mipsbig.sh
mipsbsd.sh
mipsidt.sh
mipsidtl.sh
mipslit.sh
mipslnews.sh
mipspe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
mmo.sh
mn10200.sh
mn10300.sh
msp430all.sh Add support for msp430x21xx variants 2005-08-08 17:08:04 +00:00
news.sh
ns32knbsd.sh
or32.sh
or32elf.sh bfd/ 2006-05-30 16:45:32 +00:00
pc532macha.sh
pdp11.sh
pjelf.sh bfd/ 2006-05-30 16:45:32 +00:00
pjlelf.sh bfd/ 2006-05-30 16:45:32 +00:00
ppclynx.sh bfd/ 2006-05-30 16:45:32 +00:00
ppcmacos.sh
ppcnw.sh bfd/ 2006-05-30 16:45:32 +00:00
ppcpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
README
riscix.sh
sh.sh
shelf32_linux.sh
shelf32_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf32.sh
shelf64_nbsd.sh
shelf64.sh
shelf_linux.sh
shelf_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf_nto.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf.sh PR 600 2004-12-23 12:27:45 +00:00
shl.sh
shlelf32_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf32_nbsd.sh
shlelf32.sh
shlelf64_nbsd.sh
shlelf64.sh
shlelf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf_nbsd.sh
shlelf_nto.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf.sh
shlsymbian.sh
shpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
sparcaout.sh
sparclinux.sh
sparcnbsd.sh
st2000.sh
sun3.sh
sun4.sh
tic3xcoff_onchip.sh
tic3xcoff.sh
tic4xcoff.sh
tic30aout.sh
tic30coff.sh
tic54xcoff.sh
tic80coff.sh
v850.sh
vanilla.sh
vax.sh
vaxnbsd.sh
vsta.sh
vxworks.sh bfd/ 2006-03-07 08:39:21 +00:00
w65.sh
xtensa-config.sh bfd/ 2006-05-30 16:45:32 +00:00
z80.sh Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8001.sh
z8002.sh

The files in this directory are read by genscripts.sh as shell commands.
They set parameters for the emulations.