Skip to content
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

i#5383 mac a64, part 5: Get hello,world to run #6183

Closed
wants to merge 2 commits into from

Conversation

derekbruening
Copy link
Contributor

Fixes global references in aarch64.asm which were loading the value
instead of the address (the Linux a64 assembler auto-magically gives
the address whether using ADD or LDR!).

Fixes and clarifies the Mac64 x86 and arm TLS slots vs offsets.

Uses gettimeofday() for query_time_seconds() instead of SYS_gettimeofday.

Removes an invalid hardcoded 0 sysnum for global_do_syscall.

Issue: #5383

Enables BUILD_TESTS to compile for M1: a combination of fixing and
disabling tests.  Many issues came from assembler and pre-processor
differences.

Issue: #5383
Fixes global references in aarch64.asm which were loading the value
instead of the address (the Linux a64 assembler auto-magically gives
the address whether using ADD or LDR!).

Fixes and clarifies the Mac64 x86 and arm TLS slots vs offsets.

Uses gettimeofday() for query_time_seconds() instead of SYS_gettimeofday.

Removes an invalid hardcoded 0 sysnum for global_do_syscall.

Issue: #5383
@derekbruening
Copy link
Contributor Author

The diff vs base didn't go as planned here -- will try again w/ the precise base branch.

@derekbruening derekbruening deleted the i5383-m1-run-hello branch July 4, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant