diff options
author | Rich Felker <dalias@libc.org> | 2015-09-15 08:16:27 +0900 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2015-09-15 08:34:12 +0900 |
commit | fbedb42d07cdc97a5bc698d1f7732ee776763cbc (patch) | |
tree | 8b8e9d6b6b6edb015b5568ada2d21bed12264c0d /gdb/aarch64-linux-nat.c | |
parent | 4c2f2a792a5971fcc7fe6511725eaf50d19d302b (diff) | |
download | gdb-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 'gdb/aarch64-linux-nat.c')
0 files changed, 0 insertions, 0 deletions