From c40ae9dbd3c8443543081e81266ba91d86cd6c18 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 29 Jul 2015 12:40:30 +0300 Subject: [PATCH] MiSoC is not built with -fPIC anymore, remove support code for that. --- soc/runtime/ksupport.ld | 11 ----------- soc/runtime/linker.ld | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/soc/runtime/ksupport.ld b/soc/runtime/ksupport.ld index 0aec5ca64..3cc585399 100644 --- a/soc/runtime/ksupport.ld +++ b/soc/runtime/ksupport.ld @@ -24,17 +24,6 @@ SECTIONS _etext = .; } > ksupport - .got : - { - _GLOBAL_OFFSET_TABLE_ = .; - *(.got) - } > ksupport - - .got.plt : - { - *(.got.plt) - } > ksupport - .rodata : { . = ALIGN(4); diff --git a/soc/runtime/linker.ld b/soc/runtime/linker.ld index d0c3a6558..4a4217f1e 100644 --- a/soc/runtime/linker.ld +++ b/soc/runtime/linker.ld @@ -26,17 +26,6 @@ SECTIONS _etext = .; } > runtime - .got : - { - _GLOBAL_OFFSET_TABLE_ = .; - *(.got) - } > runtime - - .got.plt : - { - *(.got.plt) - } > runtime - .rodata : { . = ALIGN(4);