Mercurial > hg > index.cgi
diff lwlink/main.c @ 179:606123758641
Added --sysroot support to lwlink and the ld wrapper script
author | lost@l-w.ca |
---|---|
date | Thu, 15 Sep 2011 17:08:16 -0600 |
parents | 08fb11004df9 |
children | c6a38fd8bd33 |
line wrap: on
line diff
--- a/lwlink/main.c Fri Sep 09 22:08:07 2011 -0600 +++ b/lwlink/main.c Thu Sep 15 17:08:16 2011 -0600 @@ -100,6 +100,10 @@ add_section_base(arg); break; + case 0x101: + sysroot = arg; + break; + case 'm': map_file = arg; break; @@ -134,6 +138,8 @@ "Add DIR to the library search path" }, { "section-base", 0x100, "SECT=BASE", 0, "Load section SECT at BASE" }, + { "sysroot", 0x101, "DIR", 0, + "Specify the path to replace an initial = with in library paths" }, { "map", 'm', "FILE", 0, "Output informaiton about the link" }, { 0 }