]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
xen ldscripts: include .text.* in text (like on hw)
authorAntti Kantee <pooka@iki.fi>
Wed, 28 Oct 2015 12:48:12 +0000 (12:48 +0000)
committerAntti Kantee <pooka@iki.fi>
Wed, 28 Oct 2015 12:49:19 +0000 (12:49 +0000)
Might fix problems reported here:
https://www.freelists.org/post/rumpkernel-users/Issues-linking-executable-for-Rumprun-with-additional-library,4

platform/xen/xen/arch/x86/minios-x86_32.lds
platform/xen/xen/arch/x86/minios-x86_64.lds

index c4059ca41c091b21d68f3598798d3c432b5260c5..87ecb0b066617899366b7a1bfd07b81a8e7f2b21 100644 (file)
@@ -7,6 +7,7 @@ SECTIONS
   _text = .;                   /* Text and read-only data */
   .text : {
        *(.text)
+       *(.text.*)
        *(.gnu.warning)
        } = 0x9090
 
@@ -60,7 +61,6 @@ SECTIONS
 
   /* Sections to be discarded */
   /DISCARD/ : {
-       *(.text.exit)
        *(.data.exit)
        *(.exitcall.exit)
        }
index 8e00a9611953a9b2aa14373798cc0ebdc46f346b..113ca3cadb7917b7aec81493e2bded6bfe3834ab 100644 (file)
@@ -7,6 +7,7 @@ SECTIONS
   _text = .;                   /* Text and read-only data */
   .text : {
        *(.text)
+       *(.text.*)
        *(.gnu.warning)
        } = 0x9090
 
@@ -60,7 +61,6 @@ SECTIONS
 
   /* Sections to be discarded */
   /DISCARD/ : {
-       *(.text.exit)
        *(.data.exit)
        *(.exitcall.exit)
        }