1 |
/* |
/* |
2 |
* Copyright (C) 2005-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: generate_head.c,v 1.23 2006/08/11 17:43:30 debug Exp $ |
* $Id: generate_head.c,v 1.25 2006/12/30 13:30:56 debug Exp $ |
29 |
*/ |
*/ |
30 |
|
|
31 |
#include <stdio.h> |
#include <stdio.h> |
150 |
} else if (strcasecmp(argv[1], "sh") == 0) { |
} else if (strcasecmp(argv[1], "sh") == 0) { |
151 |
printf("static struct %s_instr_call nothing_call = { " |
printf("static struct %s_instr_call nothing_call = { " |
152 |
"instr(nothing), {0,0} };\n", a); |
"instr(nothing), {0,0} };\n", a); |
153 |
|
} else if (strcasecmp(argv[1], "avr32") == 0) { |
154 |
|
printf("static struct %s_instr_call nothing_call = { " |
155 |
|
"instr(nothing), {0,0} };\n", a); |
156 |
} else { |
} else { |
157 |
printf("static struct %s_instr_call nothing_call = { " |
printf("static struct %s_instr_call nothing_call = { " |
158 |
"instr(nothing), {0,0,0} };\n", a); |
"instr(nothing), {0,0,0} };\n", a); |