Displaying 1 result from an estimated 1 matches for "_exec_sym".
2016 Apr 21
2
lld and linker scripts
Hi,
I tried to use linker script with lld (this script works just file with GNU
ld). I got a problem with defining new symbols and assign values
(addresses) to them. For instance I got the following code in the linker
script:
SECTIONS
{
_exec_sym = 0;
...
After using lld command with the --script option I got the following error:
line 3: : expected, but got =
_exec_sym = 0;
^
As a result I couldn't define new symbol. Also the PROVIDE expression is
not supported. I believe I got a latest lld sources from the "git clo...