* scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first argument. (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first and . as second argument. (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. (fold_binary): Add it here. Insert padding to make relro_end COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in exp_dataseg_relro_adjust phase just use previously computed exp_data_seg.base. * ldlang.c (lang_size_sections): Set exp_data_seg.base for relro_adjust here. Call lang_size_sections_1 once more if there was too big padding at DATA_SEGMENT_RELRO_END. * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. |
||
|---|---|---|
| .. | ||
| a29k.sc | ||
| aix.sc | ||
| alpha.sc | ||
| aout.sc | ||
| armaout.sc | ||
| armbpabi.sc | ||
| armcoff.sc | ||
| avr.sc | ||
| crisaout.sc | ||
| delta68.sc | ||
| dlx.sc | ||
| ebmon29k.sc | ||
| elf32cr16c.sc | ||
| elf32crx.sc | ||
| elf32msp430_3.sc | ||
| elf32msp430.sc | ||
| elf32sh-symbian.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 | ||
| i386msdos.sc | ||
| i860coff.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.