1SECTIONS 2{ 3 .text : { 4 BORINGSSL_bcm_text_start = .; 5 *(.text) 6 BORINGSSL_bcm_text_end = .; 7 } 8 .rodata : { 9 BORINGSSL_bcm_rodata_start = .; 10 *(.rodata) 11 BORINGSSL_bcm_rodata_end = .; 12 } 13 14 /DISCARD/ : { 15 *(.rela.dyn) 16 *(.data) 17 *(.rel.ro) 18 *(*.text.*) 19 *(*.data.*) 20 21 /* This should be included to catch any unexpected rodata subsections, but 22 it crashes the linker! 23 *(*.rodata.*) */ 24 } 25} 26