aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/elf.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2016-05-18 16:40:54 +0200
committerUros Bizjak <uros@gcc.gnu.org>2016-05-18 16:40:54 +0200
commit28644f75a950c0710e49948b93321eb47004c438 (patch)
tree0b3f8c4251716a66e12f81a0cb2d8b8d8fe4a862 /libbacktrace/elf.c
parent3c11e1af834f7768e14eac0473a346297f1c2a7d (diff)
downloadgcc-28644f75a950c0710e49948b93321eb47004c438.zip
gcc-28644f75a950c0710e49948b93321eb47004c438.tar.gz
gcc-28644f75a950c0710e49948b93321eb47004c438.tar.bz2
re PR target/71161 (Lots of ASAN and libgo runtime FAILs after r236090)
PR target/71161 * elf.c (phdr_callback) [__i386__]: Add __attribute__((__force_align_arg_pointer__)). From-SVN: r236397
Diffstat (limited to 'libbacktrace/elf.c')
-rw-r--r--libbacktrace/elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c
index f85ac65..81ba344 100644
--- a/libbacktrace/elf.c
+++ b/libbacktrace/elf.c
@@ -866,6 +866,9 @@ struct phdr_data
libraries. */
static int
+#ifdef __i386__
+__attribute__ ((__force_align_arg_pointer__))
+#endif
phdr_callback (struct dl_phdr_info *info, size_t size ATTRIBUTE_UNUSED,
void *pdata)
{