aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Smith <kensmith@FreeBSD.org>2012-03-23 15:49:46 +0000
committerKen Smith <kensmith@FreeBSD.org>2012-03-23 15:49:46 +0000
commit1779af0ee0775213c65da6c86b0f6c6acc292023 (patch)
tree72fe1f0b0f51bbe026b6248515295a6cbc376715
parent3c7d83123581c737d800b5b5806096aa06a9c1bb (diff)
downloadsrc-1779af0ee0775213c65da6c86b0f6c6acc292023.tar.gz
src-1779af0ee0775213c65da6c86b0f6c6acc292023.zip
MFS r233211 (problem not believed to effect head or stable/9):
Implement a workaround for a bug in the linker's estimate for the program header size that can cause it to fail linking the kernel. Reviewed by: kib Approved by: re (bz)
Notes
Notes: svn path=/releng/8.3/; revision=233366
-rw-r--r--sys/conf/ldscript.i3862
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/ldscript.i386 b/sys/conf/ldscript.i386
index a94f32fdd4c2..1d31bda8541c 100644
--- a/sys/conf/ldscript.i386
+++ b/sys/conf/ldscript.i386
@@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib);
SECTIONS
{
/* Read-only sections, merged into text segment: */
- . = kernbase + kernload + SIZEOF_HEADERS;
+ . = kernbase + kernload + 256;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }