Alfred M. Szmidt wrote:
Hey,
and so has GNU/Linux on x86.
I'm quite confident that GNU/Linux on x86 doesn't use
sysdeps/mach/hurd/i386/init-first.c. Right, and that is where the
problem is.
I don't think so. The attribute_relro attribute for _dl_argv was added
only last year. As Thomas noted, it had no effect on GNU/Hurd since
everything was built using a old binutils version that did not support
-z relro.
Jakub Jelinek introduced a macro that libc ports should define if their
_dl_argv is not really relro. At that time (2004-02-19), nobody from the
Hurd project commented. Judging from the bits posted by Thomas, I'm
pretty sure this macro (DL_ARGV_NOT_RELRO) should be defined for
hurd-i386, like it is for sparc, ia64 and alpha.
As to the right place, it seems to be sysdeps/mach/hurd/i386/dl-machine.h.
Perhaps Roland can comment on that, though.
Cheers,
--
Manuel Menal
_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd