Add __bss16() macro, and allow use of .bss16 section by removing

link-time check for section overlaps.  (In order to avoid wasting
space in the executable image, .bss16 will overlap with the following
section, which is .text).
This commit is contained in:
Michael Brown
2007-07-16 13:10:49 +01:00
parent c482fc90fb
commit 833d6cc8ec
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ endif
# this is almost always a win. the kernel uses it, too.
CFLAGS+= -mpreferred-stack-boundary=2
LDFLAGS+= -N
LDFLAGS+= -N --no-check-sections
ifeq "$(shell uname -s)" "FreeBSD"
CFLAGS+= -DIMAGE_FREEBSD -DELF_IMAGE -DAOUT_IMAGE