* [PATCH 0/1] Fix sanity checking ELF size determination
@ 2011-03-03 17:02 Mark Hatle
2011-03-03 17:02 ` [PATCH 1/1] qa.py: Fix a typo when evaluating bitsize Mark Hatle
0 siblings, 1 reply; 2+ messages in thread
From: Mark Hatle @ 2011-03-03 17:02 UTC (permalink / raw)
To: poky
Fix the ELF size determination during sanity checking.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: mhatle/bernard/fixes
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/bernard/fixes
Thanks,
Mark Hatle <mark.hatle@windriver.com>
---
Mark Hatle (1):
qa.py: Fix a typo when evaluating bitsize
meta/lib/oe/qa.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] qa.py: Fix a typo when evaluating bitsize
2011-03-03 17:02 [PATCH 0/1] Fix sanity checking ELF size determination Mark Hatle
@ 2011-03-03 17:02 ` Mark Hatle
0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2011-03-03 17:02 UTC (permalink / raw)
To: poky
This should be setting a variable, not performing a comparison.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
meta/lib/oe/qa.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index 7adf4d0..d380012 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -40,9 +40,9 @@ class ELFFile:
self.my_assert(self.data[3], 'F')
if self.bits == 0:
if self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS32):
- self.bits == 32
+ self.bits = 32
elif self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS64):
- self.bits == 64
+ self.bits = 64
else:
# Not 32-bit or 64.. lets assert
raise Exception("ELF but not 32 or 64 bit.")
--
1.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-03 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 17:02 [PATCH 0/1] Fix sanity checking ELF size determination Mark Hatle
2011-03-03 17:02 ` [PATCH 1/1] qa.py: Fix a typo when evaluating bitsize Mark Hatle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.