mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
compiler: linker discard local symbols.
Fixes exception backtrace problem for ARM.
This commit is contained in:
parent
e3c5775584
commit
3bfd372c20
@ -183,6 +183,7 @@ class Target:
|
||||
"""Link the relocatable objects into a shared library for this target."""
|
||||
with RunTool([self.tool_ld, "-shared", "--eh-frame-hdr"] +
|
||||
["{{obj{}}}".format(index) for index in range(len(objects))] +
|
||||
["-x"] +
|
||||
["-o", "{output}"],
|
||||
output=None,
|
||||
**{"obj{}".format(index): obj for index, obj in enumerate(objects)}) \
|
||||
|
Loading…
Reference in New Issue
Block a user