https://sourceware.org/bugzilla/show_bug.cgi?id=33409
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot
com
Status|WAITING |NEW
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 16331
--> https://sourceware.org/bugzilla/attachment.cgi?id=16331&action=edit
A testcase
[hjl@gnu-cfl-3 pr33409]$ make
gcc -B./ -O2 -mdirect-extern-access -c -o a.o a.c
gcc -B./ -O2 -mno-direct-extern-access -c -o b.o b.c
gcc -B./ -O2 -fPIC -mno-direct-extern-access -c -o l.o l.c
gcc -B./ -shared -o libl.so l.o
gcc -B./ -o b a.o b.o libl.so -Wl,-R,.
./ld: a.o: warning: relocation against `__array' in read-only section `.text'
./ld: warning: creating DT_TEXTREL in a PDE
[hjl@gnu-cfl-3 pr33409]$
--
You are receiving this mail because:
You are on the CC list for the bug.