/[dejagnu]/dejagnu/baseboards/rom68k-idp.exp
ViewVC logotype

Diff of /dejagnu/baseboards/rom68k-idp.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by rsavoye, Mon Feb 5 04:18:15 2001 UTC revision 1.2 by bje, Thu Aug 7 03:42:42 2003 UTC
# Line 1  Line 1 
1  # This is a list of toolchains that are supported on this board.  # This is a list of toolchains that are supported on this board.
2  set_board_info target_install {m68k-coff m68k-elf};  set_board_info target_install {m68k-coff m68k-elf}
3    
4  # Load the generic configuration for this board. This will define any  # Load the generic configuration for this board. This will define any
5  # routines needed by the tool to communicate with the board.  # routines needed by the tool to communicate with the board.
6  load_generic_config "rom68k";  load_generic_config "rom68k"
7    
8  # Need soft-float by default.  # Need soft-float by default.
9  process_multilib_options "-msoft-float"  process_multilib_options "-msoft-float"
# Line 12  process_multilib_options "-msoft-float" Line 12  process_multilib_options "-msoft-float"
12  # with what compiler is tested when testing gcc.  # with what compiler is tested when testing gcc.
13  set_board_info compiler "[find_gcc]"  set_board_info compiler "[find_gcc]"
14    
15  set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]";  set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"
16    
17  # Nasty hack.  # Nasty hack.
18  if { [board_info $board obj_format] == "a.out" } {  if { [board_info $board obj_format] == "a.out" } {
19      # Need to pass the start address to objcopy.      # Need to pass the start address to objcopy.
20      set_board_info use_vma_offset 1;      set_board_info use_vma_offset 1
21      # Wrapping has to be specially done for m68k-aout, for whatever reason.      # Wrapping has to be specially done for m68k-aout, for whatever reason.
22      set_board_info wrap_m68k_aout 1;      set_board_info wrap_m68k_aout 1
23    
24      set extra_m68k_ld_flags "-N -nostdlib "      set extra_m68k_ld_flags "-N -nostdlib "
25    
26      # We need to tell GDB to load at the correct offset.      # We need to tell GDB to load at the correct offset.
27      set_board_info gdb_load_offset [board_info $board hex_startaddr];      set_board_info gdb_load_offset [board_info $board hex_startaddr]
28  } else {  } else {
29      set extra_m68k_ld_flags ""      set extra_m68k_ld_flags ""
30  }  }
# Line 35  unset extra_m68k_ld_flags Line 35  unset extra_m68k_ld_flags
35    
36  # If no output format is specified, use objcopy.  # If no output format is specified, use objcopy.
37  if ![board_info $board exists output_format] {  if ![board_info $board exists output_format] {
38      set tempfil [lookfor_file $tool_root_dir binutils/objcopy];      set tempfil [lookfor_file $tool_root_dir binutils/objcopy]
39      if { $tempfil != "" } {      if { $tempfil != "" } {
40          set_board_info objcopy $tempfil          set_board_info objcopy $tempfil
41      } else {      } else {
# Line 45  if ![board_info $board exists output_for Line 45  if ![board_info $board exists output_for
45  }  }
46    
47  # IDP linker script.  # IDP linker script.
48  set_board_info ldscript "-Wl,-Tidp.ld";  set_board_info ldscript "-Wl,-Tidp.ld"
49  # The idt interface can't return exit statuses, so gcc (ctorture et  # The idt interface can't return exit statuses, so gcc (ctorture et
50  # al) needs to do what it can to get them.  # al) needs to do what it can to get them.
51  set_board_info needs_status_wrapper 1;  set_board_info needs_status_wrapper 1
52    
53  # GDB needs to use "target rom68k" to talk to the board.  # GDB needs to use "target rom68k" to talk to the board.
54  set_board_info gdb_protocol  "rom68k";  set_board_info gdb_protocol  "rom68k"
55    
56  # Can't pass arguments to the program under test.  # Can't pass arguments to the program under test.
57  set_board_info noargs 1  set_board_info noargs 1
# Line 66  set_board_info gdb,nosignals 1 Line 66  set_board_info gdb,nosignals 1
66  set_board_info gdb,noresults 1  set_board_info gdb,noresults 1
67    
68  # Pseudo-random guess.  # Pseudo-random guess.
69  set_board_info sys_speed_value 200;  set_board_info sys_speed_value 200

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26