summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0949ce9)
Relying on something that the compiler automatically sets is apparently
not reliable.
# define LREG ld
# define SREG sd
# define REGBYTES 8
# define LREG ld
# define SREG sd
# define REGBYTES 8
"-T", "targets/%s/link.lds" % (self.directory or self.name),
"-nostartfiles",
"-mcmodel=medany",
"-T", "targets/%s/link.lds" % (self.directory or self.name),
"-nostartfiles",
"-mcmodel=medany",
+ "-DXLEN=%d" % self.xlen,
"-o", binary_name),
xlen=self.xlen)
return binary_name
"-o", binary_name),
xlen=self.xlen)
return binary_name