projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
RISC-V: The object without priv spec attributes can be linked with any object.
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
pr25754-3a.c
1
#include <stdio.h>
2
#include <bfd_stdint.h>
3
4
extern
uintptr_t
bar
;
5
6
uintptr_t
*
7
__attribute__
((
noinline
,
noclone
))
8
get_bar
(
void
)
9
{
10
return
&
bar
;
11
}
12
13
int
14
main
()
15
{
16
if
((
uintptr_t
)
get_bar
() == -
0x80000001
LL
)
17
printf
(
"PASS
\n
"
);
18
return
0
;
19
}
This page took
0.035122 seconds
and
4
git commands to generate.