Fix build with new binutils. This gets a working kernel with GCC 5.2 and
binutils 2.24. Without this, the self-relocation code in locore64.S was failing due to a misaligned TOC section. MFC after: 2 weeks
This commit is contained in:
parent
77a498d991
commit
466d476aac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291441
@ -69,6 +69,7 @@ SECTIONS
|
||||
.toc1 : ALIGN(8) { *(.toc1) }
|
||||
.opd : ALIGN(8) { KEEP (*(.opd)) }
|
||||
.branch_lt : ALIGN(8) { *(.branch_lt) }
|
||||
. = ALIGN(4096);
|
||||
.got : ALIGN(8) { __tocbase = .; *(.got .toc) }
|
||||
|
||||
.dynamic : { *(.dynamic) }
|
||||
|
Loading…
Reference in New Issue
Block a user