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:
@@ -21,7 +21,7 @@
|
|||||||
* on some systems.
|
* on some systems.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void __section(".__syscall_stub")
|
void __attribute__ ((__section__ (".__syscall_stub")))
|
||||||
stub_clone_handler(void)
|
stub_clone_handler(void)
|
||||||
{
|
{
|
||||||
struct stub_data *data = (struct stub_data *) STUB_DATA;
|
struct stub_data *data = (struct stub_data *) STUB_DATA;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <sysdep/mcontext.h>
|
#include <sysdep/mcontext.h>
|
||||||
#include <sys/ucontext.h>
|
#include <sys/ucontext.h>
|
||||||
|
|
||||||
void __section(".__syscall_stub")
|
void __attribute__ ((__section__ (".__syscall_stub")))
|
||||||
stub_segv_handler(int sig, siginfo_t *info, void *p)
|
stub_segv_handler(int sig, siginfo_t *info, void *p)
|
||||||
{
|
{
|
||||||
ucontext_t *uc = p;
|
ucontext_t *uc = p;
|
||||||
|
|||||||
Reference in New Issue
Block a user