This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed: adjust gcc.dg/torture/pr26565.c for target default_packed
- From: DJ Delorie <dj at redhat dot com>
- To: hans-peter dot nilsson at axis dot com
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Mon, 19 Mar 2007 09:57:10 -0400
- Subject: Re: Committed: adjust gcc.dg/torture/pr26565.c for target default_packed
- References: <200703191207.l2JC7W8I022681@ignucius.se.axis.com>
> but then m32c-elf needs to find -lnosys to link.
Link with -msim
set target_list { m32c-sim{-mcpu=m16c,-mcpu=m32c} }
# This is a list of toolchains that are supported on this board.
set_board_info target_install {m32c-elf}
# Load the generic configuration for this board. This will define a basic set
# of routines needed by the tool to communicate with the board.
load_generic_config "sim"
# basic-sim.exp is a basic description for the standard Cygnus simulator.
load_base_board_description "basic-sim"
# "m32c" is the name of the sim subdir.
setup_sim m32c
# No multilib options needed by default.
process_multilib_options ""
# We only support newlib on this target. We assume that all multilib
# options have been specified before we get here.
set_board_info compiler "[find_gcc]"
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags] -msim"
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
# Doesn't pass arguments or signals, can't return results, and doesn't
# do inferiorio.
set_board_info noargs 1
set_board_info gdb,nosignals 1
set_board_info gdb,noresults 1
set_board_info gdb,noinferiorio 1
set_board_info gdb,short_int 1
# Limit the stack size to something real tiny.
set_board_info gcc,stack_size 4096
set_board_info gcc,text_size 30000
set_board_info gcc,no_trampolines 1
set_board_info gcc,timeout 30
set_board_info sim_time_limit 30