X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Futil%2FELF.java;h=e33275e46be1821c0613c941ebf961c992f98551;hp=9d4c86262c51b1128f2085a537cf9c933d4ab97a;hb=ab9be117467f7459965c61e49749b333678b6e4c;hpb=19e0f90cbc9c66e274bac04f819a78e387c8f1fc diff --git a/src/org/ibex/nestedvm/util/ELF.java b/src/org/ibex/nestedvm/util/ELF.java index 9d4c862..e33275e 100644 --- a/src/org/ibex/nestedvm/util/ELF.java +++ b/src/org/ibex/nestedvm/util/ELF.java @@ -326,6 +326,7 @@ public class ELF { public byte type; public byte binding; public byte other; + public short shndx; public SHeader sheader; public final static int STT_FUNC = 2; @@ -339,8 +340,7 @@ public class ELF { type = (byte)(info&0xf); binding = (byte)(info>>4); other = readByte(); - // FEATURE: This should point to some other entry or something - readShort(); + shndx = readShort(); } }