arc: enable thread local storage
This adds the necessary bits to support thread local storage in ARC. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
d911f99bfc
commit
c7704d8c66
6 changed files with 79 additions and 1 deletions
|
@ -98,6 +98,7 @@ SECTIONS {
|
|||
_image_rodata_start = .;
|
||||
|
||||
#include <linker/common-rom.ld>
|
||||
#include <linker/thread-local-storage.ld>
|
||||
|
||||
SECTION_PROLOGUE(_RODATA_SECTION_NAME,,) {
|
||||
KEEP(*(.openocd_dbg))
|
||||
|
@ -220,5 +221,11 @@ SECTIONS {
|
|||
KEEP(*(.gnu.attributes))
|
||||
}
|
||||
|
||||
/DISCARD/ : { *(.note.GNU-stack) }
|
||||
/DISCARD/ : {
|
||||
*(.note.GNU-stack)
|
||||
*(.got.plt)
|
||||
*(.igot.plt)
|
||||
*(.got)
|
||||
*(.igot)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue