Browse Source
* m32c.opc (opc.h): cgen-types.h -> cgen/basic-modes.h. cgen-ops.h -> cgen/basic-ops.h. include/opcode/ * cgen-bitset.h: Delete, moved to ../cgen/bitset.h. * cgen.h: Update. Improve multi-inclusion macro name. include/cgen/ * basic-modes.h: New file. Moved here from opcodes/cgen-types.h. * basic-ops.h: New file. Moved here from opcodes/cgen-ops.h. * bitset.h: New file. Moved here from ../opcode/cgen-bitset.h. Update license to GPL v3. opcodes/ * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h. * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h. * cgen-bitset.c: Update. * fr30-desc.h: Regenerate. * frv-desc.h: Regenerate. * ip2k-desc.h: Regenerate. * iq2000-desc.h: Regenerate. * lm32-desc.h: Regenerate. * m32c-desc.h: Regenerate. * m32c-opc.h: Regenerate. * m32r-desc.h: Regenerate. * mep-desc.h: Regenerate. * mt-desc.h: Regenerate. * openrisc-desc.h: Regenerate. * xc16x-desc.h: Regenerate. * xstormy16-desc.h: Regenerate.gdb_7_1-branch
24 changed files with 131 additions and 195 deletions
@ -0,0 +1,6 @@ |
|||
2009-10-23 Doug Evans <dje@sebabeach.org> |
|||
|
|||
* basic-modes.h: New file. Moved here from opcodes/cgen-types.h. |
|||
* basic-ops.h: New file. Moved here from opcodes/cgen-ops.h. |
|||
* bitset.h: New file. Moved here from ../opcode/cgen-bitset.h. |
|||
Update license to GPL v3. |
|||
@ -0,0 +1,49 @@ |
|||
/* Basic CGEN modes.
|
|||
Copyright 2005, 2007, 2009 Free Software Foundation, Inc. |
|||
Contributed by Red Hat. |
|||
|
|||
This file is part of the GNU opcodes library. |
|||
|
|||
This library is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 3, or (at your option) |
|||
any later version. |
|||
|
|||
It is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this library; see the file COPYING3. If not, write to the |
|||
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
|||
02110-1301, USA. */ |
|||
|
|||
#ifndef CGEN_BASIC_MODES_H |
|||
#define CGEN_BASIC_MODES_H |
|||
|
|||
/* This file doesn't contain all modes,
|
|||
just the basic/portable ones. |
|||
It also provides access to stdint.h (*1) so the includer doesn't have |
|||
to deal with the portability issues. |
|||
(*1): To the extent that bfd_stdint.h does for now. */ |
|||
|
|||
/* IWBN to avoid unnecessary dependencies on bfd-anything. */ |
|||
#include "bfd_stdint.h" |
|||
|
|||
typedef int8_t QI; |
|||
typedef uint8_t UQI; |
|||
|
|||
typedef int16_t HI; |
|||
typedef uint16_t UHI; |
|||
|
|||
typedef int32_t SI; |
|||
typedef uint32_t USI; |
|||
|
|||
typedef int64_t DI; |
|||
typedef uint64_t UDI; |
|||
|
|||
typedef int INT; |
|||
typedef unsigned int UINT; |
|||
|
|||
#endif /* CGEN_BASIC_MODES_H */ |
|||
@ -1,22 +1,23 @@ |
|||
/* Header file the type CGEN_BITSET.
|
|||
Copyright 2002, 2005, 2009 Free Software Foundation, Inc. |
|||
|
|||
Copyright 2002, 2005 Free Software Foundation, Inc. |
|||
This file is part of the GNU opcodes library. |
|||
|
|||
This file is part of GDB, the GNU debugger, and the GNU Binutils. |
|||
This library is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 3, or (at your option) |
|||
any later version. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
It is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
You should have received a copy of the GNU General Public License |
|||
along with this library; see the file COPYING3. If not, write to the |
|||
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
|||
02110-1301, USA. */ |
|||
|
|||
You should have received a copy of the GNU General Public License along |
|||
with this program; if not, write to the Free Software Foundation, Inc., |
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
|||
#ifndef CGEN_BITSET_H |
|||
#define CGEN_BITSET_H |
|||
|
|||
@ -1,42 +0,0 @@ |
|||
/* Type definitions for CGEN-based opcode libraries.
|
|||
Copyright (C) 2005, 2007 Free Software Foundation, Inc. |
|||
Contributed by Red Hat. |
|||
|
|||
This file is part of the GNU opcodes library. |
|||
|
|||
This library is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 3, or (at your option) |
|||
any later version. |
|||
|
|||
It is distributed in the hope that it will be useful, but WITHOUT |
|||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
|||
License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License along |
|||
with this program; if not, write to the Free Software Foundation, Inc., |
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
|||
|
|||
#ifndef CGEN_TYPES_H |
|||
#define CGEN_TYPES_H |
|||
|
|||
#include "../bfd/bfd_stdint.h" |
|||
|
|||
typedef int8_t QI; |
|||
typedef uint8_t UQI; |
|||
typedef int16_t HI; |
|||
typedef uint16_t UHI; |
|||
typedef int32_t SI; |
|||
typedef uint32_t USI; |
|||
typedef int64_t DI; |
|||
typedef uint64_t UDI; |
|||
|
|||
typedef int INT; |
|||
typedef unsigned int UINT; |
|||
|
|||
typedef float SF; |
|||
typedef double DF; |
|||
typedef long double XF, TF; |
|||
|
|||
#endif /* CGEN_TYPES_H */ |
|||
Loading…
Reference in new issue