Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
edb2b1b1
Commit
edb2b1b1
authored
Apr 08, 2014
by
Eric Botcazou
Committed by
Eric Botcazou
Apr 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re PR ada/60411 (Ada bootstrap failure on ARM)
PR ada/60411 * sigtramp.h: Add Android support. From-SVN: r209227
parent
98e6ecab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
gcc/ada/ChangeLog
+1
-0
gcc/ada/sigtramp.h
+22
-3
No files found.
gcc/ada/ChangeLog
View file @
edb2b1b1
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
*
s
-
linux
-
android
.
ads
:
New
file
.
*
s
-
linux
-
android
.
ads
:
New
file
.
*
s
-
intman
-
android
.
adb
:
Likewise
.
*
s
-
intman
-
android
.
adb
:
Likewise
.
*
sigtramp
-
armdroid
.
c
:
Likewise
.
*
sigtramp
-
armdroid
.
c
:
Likewise
.
*
sigtramp
.
h
:
Add
Android
support
.
2014
-
04
-
07
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
2014
-
04
-
07
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
...
...
gcc/ada/sigtramp.h
View file @
edb2b1b1
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* *
* *
* C Header File *
* C Header File *
* *
* *
* Copyright (C) 2011-201
3
, Free Software Foundation, Inc. *
* Copyright (C) 2011-201
4
, Free Software Foundation, Inc. *
* *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
* terms of the GNU General Public License as published by the Free Soft- *
...
@@ -41,10 +41,29 @@
...
@@ -41,10 +41,29 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
typedef
void
sighandler_t
(
int
signo
,
void
*
siginfo
,
void
*
sigcontext
);
#ifdef __ANDROID__
#include <stdlib.h>
#include <asm/signal.h>
#include <asm/sigcontext.h>
/* Android SDK doesn't define these structs */
typedef
struct
sigcontext
mcontext_t
;
typedef
struct
ucontext
{
unsigned
long
uc_flags
;
struct
ucontext
*
uc_link
;
stack_t
uc_stack
;
mcontext_t
uc_mcontext
;
}
ucontext_t
;
#endif
/* This typedef signature sometimes conflicts with the sighandler_t from
system headers so call it something unique. */
typedef
void
__sigtramphandler_t
(
int
signo
,
void
*
siginfo
,
void
*
sigcontext
);
void
__gnat_sigtramp
(
int
signo
,
void
*
siginfo
,
void
*
sigcontext
,
void
__gnat_sigtramp
(
int
signo
,
void
*
siginfo
,
void
*
sigcontext
,
sig
handler_t
*
handler
);
__sigtramp
handler_t
*
handler
);
/* To be called from an established signal handler. Setup the DWARF CFI
/* To be called from an established signal handler. Setup the DWARF CFI
bits letting unwinders walk through the signal frame up into the
bits letting unwinders walk through the signal frame up into the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment