63bb5e9a79
(statement): Accept SORT around CONSTRUCTORS. * ldctor.c: Include <ctype.h>. (constructors_sorted): New global variable. (ctor_prio, ctor_cmp): New static functions. (ldctor_build_sets): Sort constructors if requested. * ldctor.h (constructors_sorted): Declare. * ldlang.c (print_statement): Print sorted CONSTRUCTORS correctly. * scripttempl/elf.sc: Add sort around CONSTRUCTORS. * ld.texinfo (Output Section Keywords): Document SORT (CONSTRUCTORS). |
||
---|---|---|
.. | ||
.Sanitize | ||
a29k.sc | ||
aix.sc | ||
alpha.sc | ||
aout.sc | ||
armaout.sc | ||
armcoff.sc | ||
delta68.sc | ||
ebmon29k.sc | ||
elf.sc | ||
elfarm.sc | ||
elfd10v.sc | ||
elfd30v.sc | ||
elfppc.sc | ||
go32coff.sc | ||
h8300.sc | ||
h8300h.sc | ||
h8300s.sc | ||
h8500.sc | ||
h8500b.sc | ||
h8500c.sc | ||
h8500m.sc | ||
h8500s.sc | ||
hppaelf.sc | ||
i386coff.sc | ||
i386go32.sc | ||
i386lynx.sc | ||
i386msdos.sc | ||
i960.sc | ||
m68kaux.sc | ||
m68kcoff.sc | ||
m68klynx.sc | ||
m88kbcs.sc | ||
mips.sc | ||
mipsbsd.sc | ||
nw.sc | ||
pe.sc | ||
ppcpe.sc | ||
psos.sc | ||
README | ||
riscix.sc | ||
sa29200.sc | ||
sh.sc | ||
sparccoff.sc | ||
sparclynx.sc | ||
st2000.sc | ||
tic30aout.sc | ||
tic30coff.sc | ||
tic80coff.sc | ||
v850.sc | ||
vanilla.sc | ||
w65.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.