https://sourceware.org/bugzilla/show_bug.cgi?id=20995
--- Comment #13 from Jiong Wang <jiwang at gcc dot gnu.org> --- (In reply to Jiong Wang from comment #12) > (In reply to Alan Modra from comment #11) > > I deliberately left the arm FAILs showing. They are telling you that -z > > relro does not wotk on those target variants. That should probably be > > fixed. > > Reading the comment at > https://sourceware.org/ml/binutils/2017-01/msg00094.html, I feel we should > define COMMONPAGESIZE for arm-none-eabi, searching src/bfd and src/ld, the > only usage of it is to initialize config.commonpagesize which is later used > to expand "CONSTANT (COMMONPAGESIZE)" when COMMONPAGESIZE is used in linker > script which only play a role when calculating relro_end. > > If the runtime doesn't support GNU_RELRO, then I looks to me the user is > responsible to make sure don't pass -z relro to the linker. Hmm, but my testing shows define this will waste disk and mem size.... as there will be ". = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));" after data segment. -- 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