8000 Fixed linker errors in SH by andrewapperley · Pull Request #809 · libffi/libffi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed linker errors in SH #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/sh/sysv.S
8000
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# sp+4: fn

# This assumes we are using gas.
ENTRY(ffi_call_SYSV)
ENTRY(_ffi_call_SYSV)
# Save registers
.LFB1:
mov.l r8,@-r15
Expand Down Expand Up @@ -489,12 +489,12 @@ L_epilogue:
mov.l @r15+,r8
#endif
.LFE1:
.ffi_call_SYSV_end:
.size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
._ffi_call_SYSV_end:
.size CNAME(_ffi_call_SYSV),._ffi_call_SYSV_end-CNAME(_ffi_call_SYSV)

.globl ffi_closure_helper_SYSV
.globl _ffi_closure_helper_SYSV

ENTRY(ffi_closure_SYSV)
ENTRY(_ffi_closure_SYSV)
.LFB2:
mov.l r7,@-r15
.LCFI7:
Expand Down Expand Up @@ -600,10 +600,10 @@ ENTRY(ffi_closure_SYSV)
L_got:
.long _GLOBAL_OFFSET_TABLE_
L_helper:
.long ffi_closure_helper_SYSV@GOTOFF
.long _ffi_closure_helper_SYSV@GOTOFF
#else
L_helper:
.long ffi_closure_helper_SYSV
.long _ffi_closure_helper_SYSV 6F73
#endif
L_table:
.short L_case_v - 0b /* FFI_TYPE_VOID */
Expand Down Expand Up @@ -699,8 +699,8 @@ L_case_v:
rts
add #16,r15
.LFE2:
.ffi_closure_SYSV_end:
.size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
._ffi_closure_SYSV_end:
.size CNAME(_ffi_closure_SYSV),._ffi_closure_SYSV_end-CNAME(_ffi_closure_SYSV)

#if defined __ELF__ && defined __linux__
.section .note.GNU-stack,"",@progbits
Expand Down
0