projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b53c6
)
core: fail the link if we push above the 64K point
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 5 Jun 2008 23:37:24 +0000
(16:37 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 5 Jun 2008 23:37:24 +0000
(16:37 -0700)
If the base section stuff exceeds 64K, then fail.
core/syslinux.ld
patch
|
blob
|
history
diff --git
a/core/syslinux.ld
b/core/syslinux.ld
index
3c55820
..
66ea5e5
100644
(file)
--- a/
core/syslinux.ld
+++ b/
core/syslinux.ld
@@
-116,4
+116,6
@@
SECTIONS
}
__bss1_len = __bss1_end - __bss1_start;
__bss1_dwords = (__bss1_len + 3) >> 2;
+
+ . = ASSERT(__bss1_end <= 0x10000, "64K overflow");
}