blob: 094daad2539cc55d4c393bad6acd2b709dbaef75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
extern int f1 (int dummy);
int f2 (int add)
{
if (add)
return f1 (0) + 26;
return f1 (0);
}
/* Make sure conflict in f3 is not against read-only segment. */
asm (".section trampoline, \"awx\"; .previous");
void * __attribute__((section ("trampoline"))) f3 (void)
{
return (void *) f3;
}
|