using -z relo for arm-none-eabi
Norbert Lange
nolange79@gmail.com
Tue Apr 6 12:40:29 GMT 2021
Hello,
my usecase is compiling some loadable modules for some custom
firmware, the loader there is compatible with "relro" (only supports
relro + now).
With the new binutils I now get the warning that "-z relro" is not
supported (and the Linker scripts are probably missing stuff).
Is there a way to activate this? AFAIU, relro is purely some modified
layout so that should not be a problem, atlease if I feed the linker
commonpagesize and maxpagesize?
I mean, strictly speaking the liner for arm-none-eabi has no concept
of a shared library, so I dont understand why this option would be an
issue.
regards,
Norbert
More information about the Binutils
mailing list