Fix: test weak-hidden symbols
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 22 May 2016 15:26:00 +0000 (11:26 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 22 May 2016 15:30:17 +0000 (11:30 -0400)
commit3227b2b93e5eafe5e9ab5fcbad718eb36cd4a383
treed95bc9638996f2a13e20ed8c18fcf72e6619e881
parent5517d34d4c242bb2a5233e08e21eec7fa12f3489
Fix: test weak-hidden symbols

On many architectures (arm32, arm64, powerpc64) gcc chooses to assign
different addresses to weak-hidden symbols from different compile units
within the same module.

This is unfortunate, but still OK with respect to tracepoints.

The real issue is on 32-bit powerpc, where gcc (in O1 or more) assigns
different addresses only for objects larger than 8 bytes, but same
addresses for objects of 8 bytes or less (int and pointers).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/gcc-weak-hidden/b.c
tests/gcc-weak-hidden/c.c
tests/gcc-weak-hidden/d.c
tests/gcc-weak-hidden/main.c
This page took 0.025433 seconds and 4 git commands to generate.