diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2016-05-18 16:40:54 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-05-18 16:40:54 +0200 |
commit | 28644f75a950c0710e49948b93321eb47004c438 (patch) | |
tree | 0b3f8c4251716a66e12f81a0cb2d8b8d8fe4a862 /libbacktrace | |
parent | 3c11e1af834f7768e14eac0473a346297f1c2a7d (diff) | |
download | gcc-28644f75a950c0710e49948b93321eb47004c438.tar.gz |
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')
-rw-r--r-- | libbacktrace/ChangeLog | 11 | ||||
-rw-r--r-- | libbacktrace/elf.c | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index eba34274385..acc07047f67 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,9 @@ +2016-05-18 Uros Bizjak <ubizjak@gmail.com> + + PR target/71161 + * elf.c (phdr_callback) [__i386__]: Add + __attribute__((__force_align_arg_pointer__)). + 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com> * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to @@ -15,12 +21,13 @@ 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi> - * configure.ac: Specify that DJGPP do not have mmap even when sys/mman.h exists + * configure.ac: Specify that DJGPP do not have mmap + even when sys/mman.h exists. * configure: Regenerate 2015-12-09 John David Anglin <danglin@gcc.gnu.org> - PR 68115/libfortran + PR libgfortran/68115 * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. * configure: Regenerate. * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index f85ac65d99f..81ba3440ab7 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) { |