From 8acfa8258615cf6a54fb9c7b60fbb7f4dc3bdf4f Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 6 Aug 2023 08:33:01 +0800 Subject: [PATCH] ksupport: Remove unused sections from linker script [nfc] We no longer build ksupport.ld in a position-independent fashion, and the reference to the ld.bfd _GLOBAL_OFFSET_TABLE issue was just a distraction --- artiq/firmware/ksupport/ksupport.ld | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/artiq/firmware/ksupport/ksupport.ld b/artiq/firmware/ksupport/ksupport.ld index 66b159f13..24c4d2524 100644 --- a/artiq/firmware/ksupport/ksupport.ld +++ b/artiq/firmware/ksupport/ksupport.ld @@ -35,16 +35,6 @@ SECTIONS *(.text .text.*) } :text - /* https://sourceware.org/bugzilla/show_bug.cgi?id=20475 */ - .got : { - PROVIDE(_GLOBAL_OFFSET_TABLE_ = .); - *(.got) - } :text - - .got.plt : { - *(.got.plt) - } :text - .rodata : { *(.rodata .rodata.*)