1*cb63e24eSchristos# Copyright (C) 2014-2024 Free Software Foundation, Inc. 29573673dSchristos# 39573673dSchristos# Copying and distribution of this file, with or without modification, 49573673dSchristos# are permitted in any medium without royalty provided the copyright 59573673dSchristos# notice and this notice are preserved. 69573673dSchristos 72a6b7db3Sskrllcat <<EOF 8*cb63e24eSchristos/* Copyright (C) 2014-2024 Free Software Foundation, Inc. 99573673dSchristos 109573673dSchristos Copying and distribution of this script, with or without modification, 119573673dSchristos are permitted in any medium without royalty provided the copyright 129573673dSchristos notice and this notice are preserved. */ 139573673dSchristos 142a6b7db3SskrllOUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", 152a6b7db3Sskrll "${LITTLE_OUTPUT_FORMAT}") 162a6b7db3SskrllOUTPUT_ARCH(${ARCH}) 172a6b7db3Sskrll 182a6b7db3Sskrll${RELOCATING+${LIB_SEARCH_DIRS}} 192a6b7db3SskrllSECTIONS 202a6b7db3Sskrll{ 212a6b7db3Sskrll ${RELOCATING+. = ${TEXT_START_ADDR};} 222a6b7db3Sskrll .text : 232a6b7db3Sskrll { 242a6b7db3Sskrll CREATE_OBJECT_SYMBOLS 252a6b7db3Sskrll *(.text) 262a6b7db3Sskrll ${RELOCATING+etext = ${DATA_ALIGNMENT};} 272a6b7db3Sskrll } 282a6b7db3Sskrll ${RELOCATING+. = ${DATA_ALIGNMENT};} 292a6b7db3Sskrll .data : 302a6b7db3Sskrll { 312a6b7db3Sskrll *(.data) 322a6b7db3Sskrll ${CONSTRUCTING+CONSTRUCTORS} 332a6b7db3Sskrll ${RELOCATING+edata = .;} 342a6b7db3Sskrll } 352a6b7db3Sskrll .bss : 362a6b7db3Sskrll { 372a6b7db3Sskrll *(.bss) 382a6b7db3Sskrll *(COMMON) 392a6b7db3Sskrll ${RELOCATING+end = . }; 402a6b7db3Sskrll } 412a6b7db3Sskrll} 422a6b7db3SskrllEOF 43