Hi;

On Mon, Nov 8, 2010 at 12:40 PM, Frits van Bommel <[email protected]>wrote:

> On Mon, Nov 8, 2010 at 11:25 AM, İsmail Dönmez <[email protected]> wrote:
> > As far as I know "-z,relro" should work too.
>
> I just tried this: it works with regular ld, but not with gold:
>
> $ ld test.o -o test -z,relro -lc
> ld: ,relro: unknown -z option
> ld: use the --help option for usage information
> $ ld test.o -o test -z relro -lc
> $ ld --version
> GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
> [...]
>

Thanks for testing it, looks like gold is seriously broken while parsing
command line :-)

Regards,
ismail
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to