old-cross-binutils/ld/scripttempl
Jakub Jelinek 9203ba999f bfd/
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec.
	(elfNN_ia64_dynamic_symbol_p): Change info->shared into
	!info->executable.
	(get_fptr): For -pie create .opd as writable section and create
	.rela.opd as well.
	(elfNN_ia64_check_relocs): Change info->shared into
	!info->executable.
	(allocate_fptr): Likewise.
	(allocate_dynrel_entries): Account for a relative reloc for -pie
	@fptr().  Don't account for a relative reloc if -pie want_ltoff_fptr
	for undefweak symbol.  Account for an IPLT reloc in .rela.opd
	section if -pie.
	(set_got_entry): Don't create a relative reloc if -pie
	want_ltoff_fptr for undefweak symbol.
	(set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie.
	(elfNN_ia64_relocate_section): Emit a relative reloc for -pie
	@fptr().

	* elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol
	even if -pie.
	* elf32-i386.c (elf_i386_relocate_section): Likewise.
	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
	* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
	* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
	* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
	* elf32-s390.c (elf_s390_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
ld/
	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
	.opd if -pie.
	(OTHER_READWRITE_SECTIONS): Include .opd if -pie.
	* scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
	if -pie.
2003-07-04 13:53:38 +00:00
..
a29k.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aix.sc * emulparams/elf64ppc.sh (DATA_ADDR): Define. 2002-09-24 04:02:03 +00:00
alpha.sc 19990502 sourceware import 1999-05-03 07:29:11 +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
armcoff.sc Add iWMMXt support 2003-03-25 20:56:01 +00:00
avr.sc * scripttempl/avr.sc: Changes to support current GCC and avr-libc, 2002-06-01 23:28:59 +00:00
crisaout.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
delta68.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
dlx.sc Add DLX target 2002-05-28 14:08:47 +00:00
ebmon29k.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
elf.sc bfd/ 2003-07-04 13:53:38 +00:00
elf32avr.sc * emulparams/avr1200.sh (DATA_START): Define as 0x60. 2002-01-12 20:22:19 +00:00
elf32msp430.sc Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor. 2003-04-09 11:07:51 +00:00
elf32msp430_3.sc Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor. 2003-04-09 11:07:51 +00:00
elf_chaos.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
elfd10v.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
elfd30v.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
elfi370.sc * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2001-11-22 09:08:05 +00:00
elfm68hc11.sc * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, 2002-10-13 09:29:35 +00:00
elfm68hc12.sc * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, 2002-10-13 09:29:35 +00:00
elfxtensa.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
epocpe.sc Add arm-epoc-pe specific linker script 1999-12-02 11:49:20 +00:00
h8300.sc Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
h8300h.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 11:42:27 +00:00
h8300hn.sc oops - omitted from previous delta 2003-04-24 15:25:24 +00:00
h8300s.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 11:42:27 +00:00
h8300sn.sc oops - omitted from previous delta 2003-04-24 15:25:24 +00:00
h8300sx.sc 2003-06-03 Michael Snyder <msnyder@redhat.com> 2003-06-03 21:43:52 +00:00
h8300sxn.sc * scripttempl/h8300sxn.sc: New file. 2003-06-10 08:31:04 +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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386beos.sc Add .gnu.linkonce.wi.* to .debug_info sections. 2000-09-02 20:43:22 +00:00
i386coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386go32.sc * scripttempl/i386go32.sc: Handle bss unique sections. 2002-09-23 11:36:15 +00:00
i386lynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386msdos.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i960.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ip2k.sc Add IP2k support to BFD and LD 2002-07-17 14:15:52 +00:00
iq2000.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
m68kaux.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68kcoff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68klynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m88kbcs.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mcorepe.sc Fix typo in defintion of OUTPUT_FORMAT. 1999-08-11 09:21:38 +00:00
mips.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mipsbsd.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mmo.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
nw.sc * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2001-11-22 09:08:05 +00:00
or32.sc Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:08 +00:00
pe.sc * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, 2003-03-03 02:38:10 +00:00
pj.sc 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:37:36 +00:00
ppcpe.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
psos.sc 19990502 sourceware import 1999-05-03 07:29:11 +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
sa29200.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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sparclynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
st2000.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic4xcoff.sc Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update 2003-04-04 08:15:15 +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 Remove unimplemented "PAGE N:" flag from default linker script. 2000-06-30 12:36:38 +00:00
tic80coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
v850.sc Add EXTERN references to __ctbpm __gp and __ep. 2002-09-02 17:03:30 +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 Define __data and __rdata 2003-04-18 08:26:17 +00:00
z8000.sc Use ${CONSTRUCTING...} to enclose constructors and destructors. 2000-11-03 19:49:05 +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.