Recognize some new Mach-O load commands
[deliverable/binutils-gdb.git] / include / elf / mep.h
index 456551669ac3d26e3859673c75854697ce66fe89..49ab927c3fbbe63fd4931c79d88f0d2b53e594c5 100644 (file)
@@ -1,11 +1,11 @@
 /* Toshiba MeP ELF support for BFD.
 /* Toshiba MeP ELF support for BFD.
-   Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2001-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
    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
 
    This file is part of BFD, the Binary File Descriptor library.
 
    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -14,8 +14,8 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
    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.  */
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifndef _ELF_MEP_H
 #define _ELF_MEP_H
 
 #ifndef _ELF_MEP_H
 #define _ELF_MEP_H
 
 #define SHF_MEP_VLIW           0x10000000      /* contains vliw code */
 
 
 #define SHF_MEP_VLIW           0x10000000      /* contains vliw code */
 
-/* This bit is reserved by BFD for processor specific stuff.  Name
-   it properly so that we can easily stay consistent elsewhere.  */
-#define SEC_MEP_VLIW           SEC_TIC54X_BLOCK
-
 #include "elf/reloc-macros.h"
 
 /* Note: The comments in this file are used by bfd/mep-relocs.pl to
 #include "elf/reloc-macros.h"
 
 /* Note: The comments in this file are used by bfd/mep-relocs.pl to
@@ -77,10 +73,18 @@ END_RELOC_NUMBERS(R_MEP_max)
 #define EF_MEP_CPU_C5          0x08000000      /* MEP c5 */
 #define EF_MEP_CPU_H1          0x10000000      /* MEP h1 */
 
 #define EF_MEP_CPU_C5          0x08000000      /* MEP c5 */
 #define EF_MEP_CPU_H1          0x10000000      /* MEP h1 */
 
+#define EF_MEP_COP_MASK                0x00ff0000
+#define EF_MEP_COP_NONE                0x00000000
+#define EF_MEP_COP_AVC         0x00010000
+#define EF_MEP_COP_AVC2                0x00020000
+#define EF_MEP_COP_FMAX                0x00030000
+/* 4..5 are reserved.  */
+#define EF_MEP_COP_IVC2                0x00060000
+
 #define EF_MEP_LIBRARY         0x00000100      /* Built as a library */
 
 #define EF_MEP_INDEX_MASK       0x000000ff      /* Configuration index */
 
 #define EF_MEP_LIBRARY         0x00000100      /* Built as a library */
 
 #define EF_MEP_INDEX_MASK       0x000000ff      /* Configuration index */
 
-#define EF_MEP_ALL_FLAGS       0xff0001ff
+#define EF_MEP_ALL_FLAGS       0xffff01ff
 
 #endif /* _ELF_MEP_H */
 
 #endif /* _ELF_MEP_H */
This page took 0.026002 seconds and 4 git commands to generate.