Re: #define of 'extern' in stackgap.c

Felix von Leitner <[email protected]> Wed, 16 Mar 2016 18:02:00 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Thus spake Mathias Krause ([email protected]):
> Well, you can have both -- an ET_DYN binary (i.e. PIE) without the
> need to have a runtime linker. Just link with -shared instead of -pie.

And that is exactly what I'm doing right now.

> So maps[1] has no interpreter and is a PIE binary that has all its
> mappings randomized by the kernel. Just what you said is not possible,
> no?

I didn't say it's not possible.
I said it still has problems.
One of them being how to declare sys_errlist.

Felix