setvar SCRIPT_NAME = 'elf' setvar ELFSIZE = '64' setvar TEMPLATE_NAME = 'elf32' setvar OUTPUT_FORMAT = ""elf64-sparc"" setvar NO_REL_RELOCS = 'yes' setvar MAXPAGESIZE = ""CONSTANT (MAXPAGESIZE)"" setvar COMMONPAGESIZE = ""CONSTANT (COMMONPAGESIZE)"" setvar ARCH = ""sparc:v9"" setvar MACHINE = '' setvar DATA_PLT = '' setvar GENERATE_SHLIB_SCRIPT = 'yes' setvar GENERATE_PIE_SCRIPT = 'yes' setvar NOP = '0x01000000' setvar NO_SMALL_DATA = 'yes' case (target) { sparc*-solaris* { setvar TEXT_START_ADDR = '0x100000000' } * { setvar TEXT_START_ADDR = '0x100000' } } # Treat a host that matches the target with the possible exception of "64" # and "v7", "v8", "v9" in the name as if it were native. if test $(echo $host | sed -e 's/64//;s/v[789]//) \ = $(echo $target | sed -e 's/64//;s/v[789]//) { case{ *" ${EMULATION_NAME} "* { setvar NATIVE = 'yes' } } } # Linux and Solaris modify the default library search path # to first include a 64-bit specific directory. It's put # in slightly different places on the two systems. # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first # on Linux and /lib/sparcv9, /usr/lib/sparcv9 etc. on Solaris. case (EMULATION_NAME) { *64* { case (target) { sparc*-linux* { setvar LIBPATH_SUFFIX = '64' } sparc*-solaris* { setvar LIBPATH_SUFFIX = '/sparcv9' } } } }