[cfe-commits] r118382 - in /cfe/trunk: include/clang/Driver/Options.td lib/Driver/ToolChains.cpp lib/Driver/ToolChains.h lib/Driver/Tools.cpp lib/Driver/Tools.h test/Driver/emit-llvm.c test/Driver/sysroot-flags.c

Frits van Bommel fvbommel at gmail.com
Mon Nov 8 02:40:52 PST 2010


On Mon, Nov 8, 2010 at 11:25 AM, İsmail Dönmez <ismail at namtrac.org> 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
[...]




More information about the cfe-commits mailing list