| OLD | NEW |
| 1 /* Copyright 2001, 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc. | 1 /* Copyright 2001, 2002, 2003, 2005, 2007, 2009, 2012 |
| 2 Free Software Foundation, Inc. |
| 2 | 3 |
| 3 This file is part of the GNU opcodes library. | 4 This file is part of the GNU opcodes library. |
| 4 | 5 |
| 5 This library is free software; you can redistribute it and/or modify | 6 This library is free software; you can redistribute it and/or modify |
| 6 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 7 the Free Software Foundation; either version 3, or (at your option) | 8 the Free Software Foundation; either version 3, or (at your option) |
| 8 any later version. | 9 any later version. |
| 9 | 10 |
| 10 It is distributed in the hope that it will be useful, but WITHOUT | 11 It is distributed in the hope that it will be useful, but WITHOUT |
| 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 12 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 13 License for more details. | 14 License for more details. |
| 14 | 15 |
| 15 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
| 16 along with this file; see the file COPYING. If not, write to the | 17 along with this file; see the file COPYING. If not, write to the |
| 17 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, | 18 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, |
| 18 MA 02110-1301, USA. */ | 19 MA 02110-1301, USA. */ |
| 19 | 20 |
| 20 /* This program generates z8k-opc.h. */ | 21 /* This program generates z8k-opc.h. */ |
| 21 | 22 |
| 23 #include "sysdep.h" |
| 22 #include <stdio.h> | 24 #include <stdio.h> |
| 23 #include "sysdep.h" | |
| 24 #include "libiberty.h" | 25 #include "libiberty.h" |
| 25 | 26 |
| 26 #define BYTE_INFO_LEN 10 | 27 #define BYTE_INFO_LEN 10 |
| 27 | 28 |
| 28 struct op | 29 struct op |
| 29 { | 30 { |
| 30 char *flags; | 31 char *flags; |
| 31 int cycles; | 32 int cycles; |
| 32 char type; | 33 char type; |
| 33 char *bits; | 34 char *bits; |
| (...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 } | 1371 } |
| 1371 else | 1372 else |
| 1372 { | 1373 { |
| 1373 printf ("Usage: %s -t\n", av[0]); | 1374 printf ("Usage: %s -t\n", av[0]); |
| 1374 printf ("-t : generate new internal table\n"); | 1375 printf ("-t : generate new internal table\n"); |
| 1375 printf ("-a : generate new table for gas\n"); | 1376 printf ("-a : generate new table for gas\n"); |
| 1376 printf ("-h : generate new table for humans\n"); | 1377 printf ("-h : generate new table for humans\n"); |
| 1377 } | 1378 } |
| 1378 return 0; | 1379 return 0; |
| 1379 } | 1380 } |
| OLD | NEW |