runtime_loader: disable importing its own symbols
Now only image relative relocations are produced. runtime_loader do not use symbol resolution for itself and programs can't link with it. Also it is loaded in special way and do not register in image list available for symbol resolution. So there are no meaning in self importing. Change-Id: Iff3cb0ee5ef1dd307134d52c3c911759c59a9b5c Reviewed-on: https://review.haiku-os.org/c/haiku/+/5153 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: X512 <danger_mail@list.ru> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
parent
f6e2256327
commit
52a7b62f61
@ -111,7 +111,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
[ TargetKernelLibgcc ]
|
||||
[ TargetKernelLibgcceh ]
|
||||
: $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/runtime_loader.ld
|
||||
: --no-undefined -shared -soname=runtime_loader
|
||||
: --no-undefined -shared -Bsymbolic -soname=runtime_loader
|
||||
;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user