Patchwork insane.bbclass: Updated MicroBlaze machine definitions

login
register
mail settings
Submitter Nathan Rossi
Date April 8, 2013, 6:28 a.m.
Message ID <482e6583-90f5-4116-b3c6-856f5b51a452@CO9EHSMHS022.ehs.local>
Download mbox | patch
Permalink /patch/47597/
State Accepted
Commit 0c60d3b04eb77629abc3bbc2a6d8a2b8f0a44309
Headers show

Comments

Nathan Rossi - April 8, 2013, 6:28 a.m.
* Removed existing definition with machine 47787, this
  definition is outdated, a sanity error should occur if an ELF uses this
  value.
* Added new definition with machine 189. This value replaces the existing
  value since August 2009. See binutils thread for more information.
  (http://sourceware.org/ml/binutils/2009-08/msg00127.html)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
---
 meta/classes/insane.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 2f10688..75db7a2 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -60,6 +60,8 @@  def package_qa_get_machine_dict():
                         "s390":       (22,     0,    0,          False,         32),
                         "sh4":        (42,     0,    0,          True,          32),
                         "sparc":      ( 2,     0,    0,          False,         32),
+                        "microblaze":  (189,   0,    0,          False,         32),
+                        "microblazeel":(189,   0,    0,          True,          32),
                       },
             "linux-uclibc" : { 
                         "arm" :       (  40,    97,    0,          True,          32),
@@ -97,8 +99,6 @@  def package_qa_get_machine_dict():
                       },
             "linux-gnu" :       {
                         "powerpc":    (20,     0,    0,          False,         32),
-                        "microblaze":   (47787,  0,    0,          False,         32),
-                        "microblazeel": (47787,  0,    0,          True,          32),
                         "sh4":        (42,     0,    0,          True,          32),
                       },
             "linux-gnux32" :       {