Replace non-portable Awk code in dejagnu auxiliary launcher
[dejagnu.git] / baseboards / sparc64-sim.exp
blob2f275f3eb29696e9dc6c16e6b871e977b13f4640
1 # Copyright (C) 1997-2019, 2020 Free Software Foundation, Inc.
3 # This file is part of DejaGnu.
5 # DejaGnu is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 # This is a list of toolchains that are supported on this board.
20 set_board_info target_install {sparc64-elf}
22 # Load the generic configuration for this board. This will define any
23 # routines needed by the tool to communicate with the board.
24 load_generic_config "sim"
26 # We need this for find_gcc and *_include_flags/*_link_flags.
27 load_base_board_description "basic-sim"
29 # Use long64 by default.
30 process_multilib_options "long64"
32 setup_sim sparc64
34 # We only support newlib on this target. We assume that all multilib
35 # options have been specified before we get here.
36 set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
37 set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
38 # No linker script.
39 set_board_info ldscript ""
41 # Used by a few gcc.c-torture testcases to delimit how large the stack can
42 # be.
43 set_board_info gcc,stack_size 16384
44 # The simulator doesn't return exit statuses and we need to indicate this;
45 # the standard GCC wrapper will work with this target.
46 set_board_info needs_status_wrapper 1
47 # We can't pass arguments to programs.
48 set_board_info noargs 1