1/* SPDX-License-Identifier: Apache-2.0 */ 2 3 /* 4 * .rel.* are for relocation. 5 * These are being produced by compiler/linker. 6 * Specify these here so they are not considered orphan sections. 7 */ 8 9 SECTION_PROLOGUE(.rel.plt,,) 10 { 11 *(.rel.plt) 12 13 PROVIDE_HIDDEN (__rel_iplt_start = .); 14 *(.rel.iplt) 15 PROVIDE_HIDDEN (__rel_iplt_end = .); 16 } 17 18 SECTION_PROLOGUE(.rela.plt,,) 19 { 20 *(.rela.plt) 21 22 PROVIDE_HIDDEN (__rela_iplt_start = .); 23 *(.rela.iplt) 24 PROVIDE_HIDDEN (__rela_iplt_end = .); 25 } 26 27 SECTION_PROLOGUE(.rel.dyn,,) 28 { 29 *(.rel.*) 30 } 31 32 SECTION_PROLOGUE(.rela.dyn,,) 33 { 34 *(.rela.*) 35 } 36