projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-ust-elf.c: define NT_GNU_BUILD_ID if not defined
[lttng-ust.git]
/
tests
/
gcc-weak-hidden
/
c.c
diff --git
a/tests/gcc-weak-hidden/c.c
b/tests/gcc-weak-hidden/c.c
index 59f9046d9295f1b493393f57c98bde228a72be37..1a744e29feda691995db3ad64808064d53fb1486 100644
(file)
--- a/
tests/gcc-weak-hidden/c.c
+++ b/
tests/gcc-weak-hidden/c.c
@@
-1,6
+1,20
@@
-char testsym[9] __attribute__((weak, visibility("hidden")));
+int testint __attribute__((weak, visibility("hidden")));
+void *testptr __attribute__((weak, visibility("hidden")));
+struct {
+ char a[24];
+} testsym_24_bytes __attribute__((weak, visibility("hidden")));
-void *
fctlib1
(void)
+void *
testlibfct1_int
(void)
{
{
- return testsym;
+ return &testint;
+}
+
+void *testlibfct1_ptr(void)
+{
+ return &testptr;
+}
+
+void *testlibfct1_24_bytes(void)
+{
+ return &testsym_24_bytes;
}
}
This page took
0.023931 seconds
and
4
git commands to generate.