Open GoogleCodeExporter opened 9 years ago
We also can find this behavior in X86 backend (and others probably). And there
is a related segfault when linking a fbsd kernel module:
ld.mcld -march=x86 -shared -o cam.ko.debug cam.kld
Currently the target fragref in output relocs may not be set, because the
condition checks for symbolNeedsDynRel() might return different values in
scan/apply functions. We probably should set up output relocs in scan functions
instead. Doing so can also remove the same checks in apply functions. And then
we can consider to follow bfd to save the cost of plt entry.
Original comment by pete.c...@gmail.com
on 11 Sep 2013 at 3:12
Attachments:
Original issue reported on code.google.com by
mysekki
on 18 Jan 2012 at 9:03Attachments: