Page MenuHomeFreeBSD

D19574.id55573.diff
No OneTemporary

D19574.id55573.diff

Index: head/sys/conf/ldscript.powerpc64
===================================================================
--- head/sys/conf/ldscript.powerpc64
+++ head/sys/conf/ldscript.powerpc64
@@ -6,12 +6,17 @@
ENTRY(__start)
SEARCH_DIR(/usr/lib);
PROVIDE (__stack = 0);
+PHDRS
+{
+ text PT_LOAD ;
+ dynamic PT_DYNAMIC ;
+}
SECTIONS
{
/* Low-address wrapper for bootloaders (kexec/kboot) that can't parse ELF */
. = kernbase - 0x100;
- .kboot : { *(.text.kboot) }
+ .kboot : { *(.text.kboot) } :text
/* Read-only sections, merged into text segment: */
. = kernbase;
@@ -19,6 +24,7 @@
.text :
{
+ *(.glink)
*(.text)
*(.stub)
/* .gnu.warning sections are handled specially by elf32.em. */
@@ -29,7 +35,6 @@
PROVIDE (etext = .);
/* Do not emit PT_INTERP section, which confuses some loaders (kexec-lite) */
- .interpX : { *(.interp) } : NONE
/DISCARD/ : { *(.interp) }
/* Also delete notes */
@@ -95,7 +100,7 @@
. = ALIGN(4096);
.got : ALIGN(8) { __tocbase = .; *(.got .toc) }
- .dynamic : { *(.dynamic) }
+ .dynamic : { *(.dynamic) } :text :dynamic
/* Put .ctors and .dtors next to the .got2 section, so that the pointers
get relocated with -mrelocatable. Also put in the .fixup pointers.
The current compiler no longer needs this, but keep it around for 2.7.2 */

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 21, 5:18 PM (6 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25779533
Default Alt Text
D19574.id55573.diff (1 KB)

Event Timeline