aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-24 05:40:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-24 05:40:23 -0700
commit9361e6307bd1cf4f8f7c9de5375719ede8caa0cb (patch)
tree0458cb2dabd5d23df2442865334af0a1bf31ff1a /bfd
parent8dbe7ca5a5755274fca1d3021ad648a1575e66cb (diff)
downloadfsf-binutils-gdb-9361e6307bd1cf4f8f7c9de5375719ede8caa0cb.zip
fsf-binutils-gdb-9361e6307bd1cf4f8f7c9de5375719ede8caa0cb.tar.gz
fsf-binutils-gdb-9361e6307bd1cf4f8f7c9de5375719ede8caa0cb.tar.bz2
Define SEC_MEP_VLIW in bfd/section.c
Bits in section flags should only be defined in bfd/section.c. This patch moves SEC_MEP_VLIW to bfd/section.c. bfd/ PR binutils/18316 * section.c (SEC_MEP_VLIW): New. * bfd-in2.h: Regenerated. include/elf/ PR binutils/18316 * mep.h (SEC_MEP_VLIW): Removed.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/bfd-in2.h3
-rw-r--r--bfd/section.c3
3 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f9aa3a7..b3dcd0e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/18316
+ * section.c (SEC_MEP_VLIW): New.
+ * bfd-in2.h: Regenerated.
+
2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/18277
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index d4e2b9a..7c85fe8 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1409,6 +1409,9 @@ typedef struct bfd_section
TMS320C54X only. */
#define SEC_TIC54X_CLINK 0x20000000
+ /* This section contains vliw code. This is for Toshiba MeP only. */
+#define SEC_MEP_VLIW 0x20000000
+
/* Indicate that section has the no read flag set. This happens
when memory read flag isn't set. */
#define SEC_COFF_NOREAD 0x40000000
diff --git a/bfd/section.c b/bfd/section.c
index cf63121..24422bf 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -354,6 +354,9 @@ CODE_FRAGMENT
. TMS320C54X only. *}
.#define SEC_TIC54X_CLINK 0x20000000
.
+. {* This section contains vliw code. This is for Toshiba MeP only. *}
+.#define SEC_MEP_VLIW 0x20000000
+.
. {* Indicate that section has the no read flag set. This happens
. when memory read flag isn't set. *}
.#define SEC_COFF_NOREAD 0x40000000