]> sourceware.org Git - newlib-cygwin.git/commit
arc: libgloss: Use long calls attribute for exit_halt
authorClaudiu Zissulescu <claziss@gmail.com>
Tue, 21 May 2024 09:56:44 +0000 (10:56 +0100)
committerJeff Johnston <jjohnstn@redhat.com>
Wed, 22 May 2024 18:22:06 +0000 (14:22 -0400)
commitf84fed52916dae4d297f3a9b6b607cd6a1ed3ede
tree35b105f1118e44c814a19f68311dfde094ce84ec
parent7d386b6dac5e958d5301daa9b32f0c979ef4030f
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>
libgloss/arc/nsim-syscalls.c
This page took 0.028446 seconds and 5 git commands to generate.