diff options
Diffstat (limited to 'src/runtime/rt0_linux_ppc64.s')
| -rw-r--r-- | src/runtime/rt0_linux_ppc64.s | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/runtime/rt0_linux_ppc64.s b/src/runtime/rt0_linux_ppc64.s index f527170ed2..c9300a9caf 100644 --- a/src/runtime/rt0_linux_ppc64.s +++ b/src/runtime/rt0_linux_ppc64.s @@ -3,10 +3,17 @@ // license that can be found in the LICENSE file. #include "textflag.h" -#include "asm_ppc64x.h" -DEFINE_PPC64X_FUNCDESC(_rt0_ppc64_linux, _main<>) -DEFINE_PPC64X_FUNCDESC(main, _main<>) +// actually a function descriptor for _main<>(SB) +TEXT _rt0_ppc64_linux(SB),NOSPLIT,$0 + DWORD $_main<>(SB) + DWORD $0 + DWORD $0 + +TEXT main(SB),NOSPLIT,$0 + DWORD $_main<>(SB) + DWORD $0 + DWORD $0 TEXT _main<>(SB),NOSPLIT,$-8 // In a statically linked binary, the stack contains argc, |
