-
Notifications
You must be signed in to change notification settings - Fork 56
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
WIP: [atari] fgetpos/fsetpos using NOTE/POINT #355
base: main
Are you sure you want to change the base?
Conversation
These are initial steps on #334 . |
|
||
.globl __point | ||
|
||
__point: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add .section .text.__point,"ax",@progbits
|
||
.globl __note | ||
|
||
__note: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add .section .text.__note,"ax",@progbits
#include <stdio.h> | ||
#include <__stdio-internal.h> | ||
|
||
char __note(int fd, fpos_t *pos); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annotate function with __attribute__((leaf))
@@ -8,12 +8,13 @@ | |||
#include <errno.h> | |||
#include <fcntl.h> | |||
#include <limits.h> | |||
#include <stdbool.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stdbool.h
is coming in #357.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do already have <stdbool.h>
; it just comes from clang, not the SDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good overall; at least good enough to finish out the development.
@@ -8,12 +8,13 @@ | |||
#include <errno.h> | |||
#include <fcntl.h> | |||
#include <limits.h> | |||
#include <stdbool.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do already have <stdbool.h>
; it just comes from clang, not the SDK.
No description provided.