summaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-18 14:40:54 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-18 14:40:54 +0000
commit86d786c3f5712450547dda04a82681eedbac36de (patch)
tree0b3f8c4251716a66e12f81a0cb2d8b8d8fe4a862 /libbacktrace
parent2e9acae00ca9350c51edab9c02462c052439975c (diff)
downloadgcc-86d786c3f5712450547dda04a82681eedbac36de.tar.gz
PR target/71161
* elf.c (phdr_callback) [__i386__]: Add __attribute__((__force_align_arg_pointer__)). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236397 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/ChangeLog11
-rw-r--r--libbacktrace/elf.c3
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)
{