mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 03:09:30 +01:00
Update playground/ldscript
This commit is contained in:
parent
aef2c6ef23
commit
39413bedfd
@ -1,2 +1,8 @@
|
|||||||
ENTRY(init)
|
SECTIONS
|
||||||
|
{
|
||||||
|
. = 0x20000;
|
||||||
|
.text : { *(.text) }
|
||||||
|
. = 0x986754;
|
||||||
|
.data : { *(.data) }
|
||||||
|
.bss : { *(.bss) }
|
||||||
|
}
|
||||||
|
@ -21,9 +21,9 @@ def build(bld):
|
|||||||
)
|
)
|
||||||
|
|
||||||
from waflib import Utils
|
from waflib import Utils
|
||||||
from waflib.TaskGen import after, feature
|
from waflib.TaskGen import after_method, feature
|
||||||
|
|
||||||
@after('apply_link')
|
@after_method('propagate_uselib_vars')
|
||||||
@feature('cprogram', 'cshlib')
|
@feature('cprogram', 'cshlib')
|
||||||
def process_ldscript(self):
|
def process_ldscript(self):
|
||||||
if not getattr(self, 'ldscript', None) or self.env.CC_NAME != 'gcc':
|
if not getattr(self, 'ldscript', None) or self.env.CC_NAME != 'gcc':
|
||||||
|
Loading…
Reference in New Issue
Block a user