[haiku-commits] haiku: hrev44162 - src/system/ldscripts/arm

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 15 May 2012 19:17:11 +0200 (CEST)

hrev44162 adds 1 changeset to branch 'master'
old head: e91f4b7230c7609bf865c70bcb1633a0d4119512
new head: 6f19b90aca7fd11282e73ba8374eb8bf58199770

----------------------------------------------------------------------------

6f19b90: Fix linking in static ctors
  
  * It seems we also need to call them in the .init_array section.

                                          [ François Revol <revol@xxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44162
Commit:      6f19b90aca7fd11282e73ba8374eb8bf58199770
URL:         http://cgit.haiku-os.org/haiku/commit/?id=6f19b90
Author:      François Revol <revol@xxxxxxx>
Date:        Tue May 15 17:08:36 2012 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/system/ldscripts/arm/boot_loader_u-boot.ld |    2 +-

----------------------------------------------------------------------------

diff --git a/src/system/ldscripts/arm/boot_loader_u-boot.ld 
b/src/system/ldscripts/arm/boot_loader_u-boot.ld
index 70176e6..055c104 100644
--- a/src/system/ldscripts/arm/boot_loader_u-boot.ld
+++ b/src/system/ldscripts/arm/boot_loader_u-boot.ld
@@ -11,7 +11,7 @@ SECTIONS
 
        . = ALIGN(0x4);
        __ctor_list = .;
-       .ctors : { *(.ctors) }
+       .ctors : { *(.ctors) *(.init_array) }
        __ctor_end = .;
 
        .rodata : { *(.rodata .rodata.*) }


Other related posts:

  • » [haiku-commits] haiku: hrev44162 - src/system/ldscripts/arm - revol