projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed more fixmes/features
[nestedvm.git]
/
src
/
org
/
ibex
/
nestedvm
/
util
/
ELF.java
diff --git
a/src/org/ibex/nestedvm/util/ELF.java
b/src/org/ibex/nestedvm/util/ELF.java
index
9d4c862
..
e33275e
100644
(file)
--- 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 byte type;
public byte binding;
public byte other;
+ public short shndx;
public SHeader sheader;
public final static int STT_FUNC = 2;
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();
type = (byte)(info&0xf);
binding = (byte)(info>>4);
other = readByte();
- // FEATURE: This should point to some other entry or something
- readShort();
+ shndx = readShort();
}
}
}
}