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>
Mon, 23 May 2016 15:56:56 +0000 (11:56 -0400)
commitcd33a48baed27c46bc6094f337a3c29039c1c172
tree7586ef2f8241db9d5dddbe6e75c5dbafb6db6f15
parentc2c10797328e1a2d465d53f05a33b89d8dc16154
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.025208 seconds and 4 git commands to generate.