[lld] r249428 - [ELF2] Implement --{enable, disable}-new-dtags options.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 12:46:49 PDT 2015
> + bool EnableNewDtags = true;
You don't need the " = true;" since
> + Config->EnableNewDtags = !Args.hasArg(OPT_disable_new_dtags);
It is unconditionally set in here.
> +// RUN: lld -flavor gnu2 %t.o -rpath=/somepath -shared --disable-new-dtags -o %t
> +// RUN: lld -flavor gnu2 %t.o -rpath=/somepath -shared --enable-new-dtags -o %t2
You are creating shared libraries.
> +.global _start
> +_start:
So you don't nee this.
Cheers,
Rafael
More information about the llvm-commits
mailing list