* 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:
Minero Aoki 2009-06-21 08:14:50 +00:00
parent b26702992c
commit 274b12a6cd
2 changed files with 7 additions and 2 deletions

View File

@ -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>
* net/loveruby/cflat/sysdep/GNULinker.java: parameterize linker

View File

@ -197,7 +197,7 @@ class Options {
else if (arg.equals("-pie")) {
ldOptions.generatingPIE = true;
}
else if (arg.equals("--readonly-plt")) {
else if (arg.equals("--readonly-got")) {
addLdArg("-z");
addLdArg("combreloc");
addLdArg("-z");
@ -375,7 +375,7 @@ class Options {
out.println(" -shared Generates shared library rather than executable.");
out.println(" -static Linkes only with static libraries.");
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(" -nodefaultlibs Do not link default libraries.");
out.println(" -nostdlib Enables -nostartfiles and -nodefaultlibs.");