diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2015-11-23 17:20:35 -0600 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 15:30:27 -0600 |
commit | 105660534e02cb3223dcba7d4f7d6a1ad0433317 (patch) | |
tree | 5714c489f496f1ec9067c636ce4efd1d1638dd1e /src/module.ld | |
parent | 697c2f5339b9419fadfdc4d2bd09a985ef7a4e9f (diff) | |
download | talos-hostboot-105660534e02cb3223dcba7d4f7d6a1ad0433317.tar.gz talos-hostboot-105660534e02cb3223dcba7d4f7d6a1ad0433317.zip |
Linker support for thread-local storage
RTC: 124148
Change-Id: I6f9b1a654c5a19bb0a27ecb6179af27f2b783671
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22312
Tested-by: Jenkins Server
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/module.ld')
-rw-r--r-- | src/module.ld | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/module.ld b/src/module.ld index ddabf3981..02239b8d3 100644 --- a/src/module.ld +++ b/src/module.ld @@ -5,9 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2014 */ -/* [+] International Business Machines Corp. */ +/* Contributors Listed Below - COPYRIGHT 2010,2015 */ /* [+] Google Inc. */ +/* [+] International Business Machines Corp. */ /* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ @@ -34,6 +34,13 @@ SECTIONS .rodata ALIGN(0x8): { __minimum_data_start_addr = ALIGN(0x1000); + tls_start_address = .; + *(.tdata) + *(.tdata.*) + *(.tbss) + *(.tbss.*) + tls_end_address = .; + . = ALIGN(0x8); ctor_start_address = .; *(.ctors) *(.ctors.*) |