]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - debug/tst-backtrace.h
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / debug / tst-backtrace.h
index d0f22b65655fecc40b210946d79430b032b5c648..54af7bbc313dde004444937aa082494fd8e5bf4e 100644 (file)
@@ -1,6 +1,6 @@
 /* Test backtrace and backtrace_symbols: common code for examining
    backtraces.
-   Copyright (C) 2013-2015 Free Software Foundation, Inc.
+   Copyright (C) 2013-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@ volatile int x;
 
 /* Use this attribute to prevent inlining, so that all expected frames
    are present.  */
-#define NO_INLINE __attribute__ ((noinline))
+#define NO_INLINE __attribute__ ((noinline, noclone, weak))
 
 /* Look for a match in SYM from backtrace_symbols to NAME, a fragment
    of a function name.  Ignore the filename before '(', but presume