aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2015-09-15 08:16:27 +0900
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2015-09-15 08:34:12 +0900
commitfbedb42d07cdc97a5bc698d1f7732ee776763cbc (patch)
tree8b8e9d6b6b6edb015b5568ada2d21bed12264c0d /bfd/ChangeLog
parent4c2f2a792a5971fcc7fe6511725eaf50d19d302b (diff)
downloadgdb-fbedb42d07cdc97a5bc698d1f7732ee776763cbc.zip
gdb-fbedb42d07cdc97a5bc698d1f7732ee776763cbc.tar.gz
gdb-fbedb42d07cdc97a5bc698d1f7732ee776763cbc.tar.bz2
Fix the SH behavior for EF_SH_PIC flag in FDPIC ABI
Fix it so that it's compatible with the kernel and other FDPIC targets. * elf32-sh.c (sh_elf_relocate_section): Set EF_SH_PIC flag instead of clearing it on cross-section relocations. (sh_elf_merge_private_data): Clear EF_SH_PIC flag by default.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 14c68bc..2c4a6e0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-14 Rich Felker <dalias@libc.org>
+
+ * elf32-sh.c (sh_elf_relocate_section): Set EF_SH_PIC flag
+ instead of clearing it on cross-section relocations.
+ (sh_elf_merge_private_data): Clear EF_SH_PIC flag by default.
+
2015-09-12 Helge Deller <deller@gmx.de>
PR ld/18514