https://sourceware.org/bugzilla/show_bug.cgi?id=30877
Akhilesh Kumar changed:
What|Removed |Added
Target||RISC-V
Severity|normal
https://sourceware.org/bugzilla/show_bug.cgi?id=30877
--- Comment #1 from Akhilesh Kumar ---
below are the test results on RISC_V target
Summary
Even we compiled this application with -z,relro,-z,now on pmap showing .got
address as RW
Test Results :-
user@starfive:~/akhilesh$ gcc -g -Wl,-
https://sourceware.org/bugzilla/show_bug.cgi?id=30856
--- Comment #8 from Jan Beulich ---
https://sourceware.org/pipermail/binutils/2023-September/129587.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=30877
--- Comment #2 from Andreas Schwab ---
RISC-V use small data sections (it does not set NO_SMALL_DATA), and use the
default of placing .sdata and .got after .data, thus relro for .got is not
supported. In order to support relro, it needs to fo
https://sourceware.org/bugzilla/show_bug.cgi?id=30792
--- Comment #5 from Vsevolod Alekseyev ---
I think I have a workable fix. Tested on my little corpus of binaries against
llvm-dwarfdump. While at it, I've fixed issue #29267 regarding rangelists, but
not the loclists. Should I work on the latt
https://sourceware.org/bugzilla/show_bug.cgi?id=30792
--- Comment #6 from Vsevolod Alekseyev ---
Created attachment 15121
--> https://sourceware.org/bugzilla/attachment.cgi?id=15121&action=edit
Proposed patch
Fixes the issue at hand and a part of 29267
--
You are receiving this mail because:
https://sourceware.org/bugzilla/show_bug.cgi?id=30792
--- Comment #7 from Vsevolod Alekseyev ---
Anyway, here is the patch with the current state of affairs. Feel free to ditch
the patch and let me know if you'd rather wait until I address the rest of
29267.
Tried to keep the coding style along