History log of /openbsd-current/gnu/usr.bin/binutils-2.17/bfd/elfxx-sparc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.7 15-Apr-2017 kettenis

Handle R_SPARC_WPLT30 relocations against a local symbol. Fixes building the
audio/openal port with clang.

ok guenther@


Revision tags: OPENBSD_6_1_BASE
# 1.6 03-Sep-2016 guenther

Tests about TLS relocations that should only apply when building a
shared library need to test for 'shared && !executable' so that PIE
files can optimize to initial-exec and local-exec models

ok kettenis@


Revision tags: OPENBSD_6_0_BASE
# 1.5 23-Jun-2016 kettenis

Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a
symbol such that hidden symbols get handled properly. Gets rid of the
spurious DT_TEXTREL entries seen with (typically) C++ code.

ok deraadt@, guenther@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.4 25-Dec-2014 kettenis

Don't generate PLT entries for symbols defined in a regular object for
-static -pie.

On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute
relocs into RELATIVE relocs when we can for -static -pie.

With this change we don't need -Wl,-Bsymbolic anymore when building -static
-pie binaries.

ok millert@, kurt@


# 1.3 22-Dec-2014 kettenis

Teach ld(1) not to add a PT_INTERP entry for -static -pie.

ok kurt@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.2 22-Aug-2012 jsg

Bring in a change from post 2.17 (but still GPLv2) binutils
to avoid BFD64 host ifdefs in 32 bit only sparc targets.

elfxx-sparc.c 1.31 and elfxx-sparc.h 1.8

Needed to compile sparc from a 64 bit host.

ok miod@


# 1.1 24-Apr-2011 miod

branches: 1.1.1;
Initial revision