ANDROID: um: Return to old __section declarations for um

There are build issues in certain targets due to a recent change to the
section declarations (33def8498f). Until
this is reconciled properly, revert to the older declaration style for a
few files.

Signed-off-by: J. Avila <elavila@google.com>
Change-Id: Id34aeca94bb395f79fb6a3710f92c6827964a79d
This commit is contained in:
J. Avila
2020-10-30 17:42:29 +00:00
parent 7ba2f04cb6
commit 7d5919218f
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@
* on some systems.
*/
void __section(".__syscall_stub")
void __attribute__ ((__section__ (".__syscall_stub")))
stub_clone_handler(void)
{
struct stub_data *data = (struct stub_data *) STUB_DATA;

View File

@@ -8,7 +8,7 @@
#include <sysdep/mcontext.h>
#include <sys/ucontext.h>
void __section(".__syscall_stub")
void __attribute__ ((__section__ (".__syscall_stub")))
stub_segv_handler(int sig, siginfo_t *info, void *p)
{
ucontext_t *uc = p;