Skip to content
Commit a2776c43 authored by H.J. Lu's avatar H.J. Lu
Browse files

gold: Force a PC-relative reference to .LC0



Force a PC-relative reference to .LC0 with:

__asm__ (".dc.a .LC0 - .");

for all targets.

Tested on x86, powerpc64le and aarch64.

	* testsuite/discard_locals_relocatable_test.c: Force a PC-relative
	reference to .LC0.

Signed-off-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent dbb062e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment