mirror of https://github.com/aamine/cbc
* net/loveruby/cflat/compiler/Options.java: rename option: --readonly-plt -> --readonly-got.
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4297 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
b26702992c
commit
274b12a6cd
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Jun 21 17:14:19 2009 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
|
* net/loveruby/cflat/compiler/Options.java: rename option:
|
||||||
|
--readonly-plt -> --readonly-got.
|
||||||
|
|
||||||
Sun Jun 21 03:48:12 2009 Minero Aoki <aamine@loveruby.net>
|
Sun Jun 21 03:48:12 2009 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* net/loveruby/cflat/sysdep/GNULinker.java: parameterize linker
|
* net/loveruby/cflat/sysdep/GNULinker.java: parameterize linker
|
||||||
|
|
|
@ -197,7 +197,7 @@ class Options {
|
||||||
else if (arg.equals("-pie")) {
|
else if (arg.equals("-pie")) {
|
||||||
ldOptions.generatingPIE = true;
|
ldOptions.generatingPIE = true;
|
||||||
}
|
}
|
||||||
else if (arg.equals("--readonly-plt")) {
|
else if (arg.equals("--readonly-got")) {
|
||||||
addLdArg("-z");
|
addLdArg("-z");
|
||||||
addLdArg("combreloc");
|
addLdArg("combreloc");
|
||||||
addLdArg("-z");
|
addLdArg("-z");
|
||||||
|
@ -375,7 +375,7 @@ class Options {
|
||||||
out.println(" -shared Generates shared library rather than executable.");
|
out.println(" -shared Generates shared library rather than executable.");
|
||||||
out.println(" -static Linkes only with static libraries.");
|
out.println(" -static Linkes only with static libraries.");
|
||||||
out.println(" -pie Generates PIE.");
|
out.println(" -pie Generates PIE.");
|
||||||
out.println(" --readonly-plt Generates read-only PLT.");
|
out.println(" --readonly-got Generates read-only GOT (ld -z combreloc -z now -z relro).");
|
||||||
out.println(" -nostartfiles Do not link startup files.");
|
out.println(" -nostartfiles Do not link startup files.");
|
||||||
out.println(" -nodefaultlibs Do not link default libraries.");
|
out.println(" -nodefaultlibs Do not link default libraries.");
|
||||||
out.println(" -nostdlib Enables -nostartfiles and -nodefaultlibs.");
|
out.println(" -nostdlib Enables -nostartfiles and -nodefaultlibs.");
|
||||||
|
|
Loading…
Reference in New Issue