https://sourceware.org/bugzilla/show_bug.cgi?id=21000
--- Comment #16 from dave.anglin at bell dot net --- On 2017-02-12, at 8:34 PM, amodra at gmail dot com wrote: > I obviously didn't understand the alias problem.. If I am grasping it > correctly now, is the complaint about INEQUIVALENT ALIASES really that in the > following load map from a trivial -z relro main.c we have file offsets in the > same page? > > LOAD 0x000000 0x00010000 0x00010000 0x00898 0x00898 R E 0x1000 > LOAD 0x000f20 0x00011f20 0x00011f20 0x0014c 0x0015c RWE 0x1000 I think the issue is easiest to understand by looking at the maps file for the process. For the trivial -z relro main we have dave@mx3210:/proc/19876$ cat maps 00010000-00011000 r-xp 00000000 08:11 11799480 /home/dave/ffmpeg/main 00011000-00012000 r--p 00000000 08:11 11799480 /home/dave/ffmpeg/main 00012000-00013000 rwxp 00001000 08:11 11799480 /home/dave/ffmpeg/main f9ffb000-fa167000 r-xp 00000000 08:25 33770753 /lib/hppa-linux-gnu/libc-2.24.so fa167000-fa16e000 rwxp 0016c000 08:25 33770753 /lib/hppa-linux-gnu/libc-2.24.so fa16e000-fa170000 rwxp 00000000 00:00 0 fa3f8000-fa41b000 r-xp 00000000 08:25 33710119 /lib/hppa-linux-gnu/ld-2.24.so fa41b000-fa41f000 rwxp 00023000 08:25 33710119 /lib/hppa-linux-gnu/ld-2.24.so fa4fc000-fa501000 rw-p 00000000 00:00 0 fa501000-fa523000 rwxp 00000000 00:00 0 [stack] Without -z relro, we have dave@mx3210:/proc/25080$ cat maps 00010000-00011000 r-xp 00000000 08:11 11799480 /home/dave/ffmpeg/main 00011000-00012000 rwxp 00001000 08:11 11799480 /home/dave/ffmpeg/main f9ffb000-fa167000 r-xp 00000000 08:25 33770753 /lib/hppa-linux-gnu/libc-2.24.so fa167000-fa16e000 rwxp 0016c000 08:25 33770753 /lib/hppa-linux-gnu/libc-2.24.so fa16e000-fa170000 rwxp 00000000 00:00 0 fa3f8000-fa41b000 r-xp 00000000 08:25 33710119 /lib/hppa-linux-gnu/ld-2.24.so fa41b000-fa41f000 rwxp 00023000 08:25 33710119 /lib/hppa-linux-gnu/ld-2.24.so fa4fc000-fa501000 rw-p 00000000 00:00 0 fa501000-fa523000 rwxp 00000000 00:00 0 [stack] -- John David Anglin dave.ang...@bell.net -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils