9203ba999f
* 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. |
||
---|---|---|
.. | ||
a29k.sc | ||
aix.sc | ||
alpha.sc | ||
aout.sc | ||
armaout.sc | ||
armcoff.sc | ||
avr.sc | ||
crisaout.sc | ||
delta68.sc | ||
dlx.sc | ||
ebmon29k.sc | ||
elf32avr.sc | ||
elf32msp430_3.sc | ||
elf32msp430.sc | ||
elf_chaos.sc | ||
elf.sc | ||
elfd10v.sc | ||
elfd30v.sc | ||
elfi370.sc | ||
elfm68hc11.sc | ||
elfm68hc12.sc | ||
elfxtensa.sc | ||
epocpe.sc | ||
h8300.sc | ||
h8300h.sc | ||
h8300hn.sc | ||
h8300s.sc | ||
h8300sn.sc | ||
h8300sx.sc | ||
h8300sxn.sc | ||
h8500.sc | ||
h8500b.sc | ||
h8500c.sc | ||
h8500m.sc | ||
h8500s.sc | ||
hppaelf.sc | ||
i386beos.sc | ||
i386coff.sc | ||
i386go32.sc | ||
i386lynx.sc | ||
i386msdos.sc | ||
i960.sc | ||
ip2k.sc | ||
iq2000.sc | ||
m68kaux.sc | ||
m68kcoff.sc | ||
m68klynx.sc | ||
m88kbcs.sc | ||
mcorepe.sc | ||
mips.sc | ||
mipsbsd.sc | ||
mmo.sc | ||
nw.sc | ||
or32.sc | ||
pe.sc | ||
pj.sc | ||
ppcpe.sc | ||
psos.sc | ||
README | ||
riscix.sc | ||
sa29200.sc | ||
sh.sc | ||
sparccoff.sc | ||
sparclynx.sc | ||
st2000.sc | ||
tic4xcoff.sc | ||
tic30aout.sc | ||
tic30coff.sc | ||
tic54xcoff.sc | ||
tic80coff.sc | ||
v850.sc | ||
vanilla.sc | ||
w65.sc | ||
xstormy16.sc | ||
z8000.sc |
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.