A future commit will change when we choose to add an LC_LOAD_DYLIB to the final image. Currently we do this when an atom is used, but we need to do it when a dylib is referenced on the cmdline as this matches ld64. To allow this change, libsystem (and other future yaml files representing dylibs) need to be dylibs so that the loader can see to add them to the referenced dylib list. llvm-svn: 278386
14 lines
305 B
YAML
14 lines
305 B
YAML
#
|
|
# For use by test cases that create dynamic output types which may needs stubs
|
|
# and therefore will need a dylib definition of dyld_stub_binder.
|
|
#
|
|
|
|
--- !mach-o
|
|
arch: x86
|
|
file-type: MH_DYLIB
|
|
install-name: /usr/lib/libSystem.B.dylib
|
|
exports:
|
|
- name: dyld_stub_binder
|
|
|
|
...
|