mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
31ddb15694
Add a new script operator, PROVIDE, to define a symbol only if it is needed. * ldgram.y (PROVIDE): New token. (assignment): Accept PROVIDE. * ldlex.l (PROVIDE): New token. * ldexp.h (node_type): Add etree_provide to node_class enum. (exp_provide): Declare. * ldexp.c (exp_fold_tree): Handle etree_provide. (exp_provide): New function. (exp_print_tree): Handle etree_provide. * ld.texinfo: Document PROVIDE. |
||
---|---|---|
.. | ||
.Sanitize | ||
a29k.sc | ||
alpha.sc | ||
aout.sc | ||
delta68.sc | ||
ebmon29k.sc | ||
elf.sc | ||
go32coff.sc | ||
h8500.sc | ||
h8500b.sc | ||
h8500c.sc | ||
h8500m.sc | ||
h8500s.sc | ||
hppaelf.sc | ||
i386coff.sc | ||
i386go32.sc | ||
i386lynx.sc | ||
i960.sc | ||
m68klynx.sc | ||
m88kbcs.sc | ||
mips.sc | ||
mipsbsd.sc | ||
README | ||
sa29200.sc | ||
sh.sc | ||
sparccoff.sc | ||
sparclynx.sc | ||
st2000.sc | ||
vanilla.sc | ||
z8ksim.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.