diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2024-05-21 10:56:44 +0100 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2024-05-22 14:22:06 -0400 |
commit | f84fed52916dae4d297f3a9b6b607cd6a1ed3ede (patch) | |
tree | 35b105f1118e44c814a19f68311dfde094ce84ec /newlib/libc/machine/arc/strcpy-stub.c | |
parent | 7d386b6dac5e958d5301daa9b32f0c979ef4030f (diff) | |
download | newlib-f84fed52916dae4d297f3a9b6b607cd6a1ed3ede.zip newlib-f84fed52916dae4d297f3a9b6b607cd6a1ed3ede.tar.gz newlib-f84fed52916dae4d297f3a9b6b607cd6a1ed3ede.tar.bz2 |
arc: libgloss: Use long calls attribute for exit_halt
According to GCC documentation for ARC, a function marked with
the long_call attribute is always called using register-indirect
jump-and-link instructions, thereby enabling the called function
to be placed anywhere within the 32-bit address space.
exit_halt function is provided by crt0.S and it's used
in nsim-syscalls.c. Thus, we want to ensure that a linkage
issue will not arise.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
Diffstat (limited to 'newlib/libc/machine/arc/strcpy-stub.c')
0 files changed, 0 insertions, 0 deletions