aboutsummaryrefslogtreecommitdiff
path: root/ld/sysdep.h
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2018-10-05 11:41:41 +0900
committerStafford Horne <shorne@gmail.com>2018-10-05 11:41:41 +0900
commitf2c1801f6255a3f9f483ae2f07c7d7da0ddae4af (patch)
tree42225e48a4f3b3a8ac41540c97ddc598b472ac98 /ld/sysdep.h
parent1c4f3780f7d939402cfe555007ebff45c8e38951 (diff)
downloadgdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.zip
gdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.tar.gz
gdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.tar.bz2
or1k: Fix messages for relocations in shared libraries
Added checks include: - Do not allow relocations to global symbols using relocations which are meant for local symbol relocations. - Require the use of -fpic when compiling shared libraries. - Require zero addend for plt relocations. bfd/ChangeLog: yyyy-mm-dd Richard Henderson <rth@twiddle.net> * elf32-or1k.c (or1k_elf_relocate_section): Add error for unknown relocations. Add error for non zero addend with plt and got relocations. Add error for got and plt references against dynamic, non local, symbols. Add error when linking non shared liraries with flag_pic.
Diffstat (limited to 'ld/sysdep.h')
0 files changed, 0 insertions, 0 deletions