Displaying 1 result from an estimated 1 matches for "__stub_helper".
Did you mean:
__stub_helpers
2017 Jul 10
2
Problems generating Mach-O File (x86_64 , osx 10.12)
I discovered that lld for darwin is generating the wrong code for lazy
bindings in the __stub_helper section (at least for osx 10.12). This is the
way i can reproduce this problem, using this program:
program:
#include <stdio.h>
int main(int argc, char **argv) {
printf("C: printf!\n");
puts("C: puts!\n");
return 0;
}
Then I link it using i have tested it i...