1*e992f068Schristos# Copyright (C) 2014-2022 Free Software Foundation, Inc. 216dce513Schristos# 316dce513Schristos# Copying and distribution of this file, with or without modification, 416dce513Schristos# are permitted in any medium without royalty provided the copyright 516dce513Schristos# notice and this notice are preserved. 616dce513Schristos 716dce513Schristoscat <<EOF 8*e992f068Schristos/* Copyright (C) 2014-2022 Free Software Foundation, Inc. 916dce513Schristos 1016dce513Schristos Copying and distribution of this script, with or without modification, 1116dce513Schristos are permitted in any medium without royalty provided the copyright 1216dce513Schristos notice and this notice are preserved. */ 1316dce513Schristos 1416dce513SchristosOUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", 1516dce513Schristos "${LITTLE_OUTPUT_FORMAT}") 1616dce513SchristosOUTPUT_ARCH(${ARCH}) 1716dce513Schristos 1816dce513Schristos${RELOCATING+${LIB_SEARCH_DIRS}} 1916dce513SchristosSECTIONS 2016dce513Schristos{ 2116dce513Schristos ${RELOCATING+. = ${TEXT_START_ADDR};} 2216dce513Schristos .text : 2316dce513Schristos { 2416dce513Schristos CREATE_OBJECT_SYMBOLS 2516dce513Schristos *(.text) 2616dce513Schristos ${RELOCATING+etext = ${DATA_ALIGNMENT};} 2716dce513Schristos } 2816dce513Schristos ${RELOCATING+. = ${DATA_ALIGNMENT};} 2916dce513Schristos .data : 3016dce513Schristos { 3116dce513Schristos *(.data) 3216dce513Schristos ${CONSTRUCTING+CONSTRUCTORS} 3316dce513Schristos ${RELOCATING+edata = .;} 3416dce513Schristos } 3516dce513Schristos .bss : 3616dce513Schristos { 3716dce513Schristos *(.bss) 3816dce513Schristos *(COMMON) 3916dce513Schristos ${RELOCATING+end = . }; 4016dce513Schristos } 4116dce513Schristos} 4216dce513SchristosEOF 43