projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
licensing update to APSL 2.0
[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
e33275e
..
db990bb
100644
(file)
--- a/
src/org/ibex/nestedvm/util/ELF.java
+++ b/
src/org/ibex/nestedvm/util/ELF.java
@@
-1,3
+1,7
@@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
package org.ibex.nestedvm.util;
import java.io.*;
package org.ibex.nestedvm.util;
import java.io.*;
@@
-346,7
+350,7
@@
public class ELF {
private static String toHex(int n) { return "0x" + Long.toString(n & 0xffffffffL, 16); }
private static String toHex(int n) { return "0x" + Long.toString(n & 0xffffffffL, 16); }
- public static void main(String[] args) throws IOException {
+ /*public static void main(String[] args) throws IOException {
ELF elf = new ELF(new Seekable.InputStream(new FileInputStream(args[0])));
System.out.println("Type: " + toHex(elf.header.type));
System.out.println("Machine: " + toHex(elf.header.machine));
ELF elf = new ELF(new Seekable.InputStream(new FileInputStream(args[0])));
System.out.println("Type: " + toHex(elf.header.type));
System.out.println("Machine: " + toHex(elf.header.machine));
@@
-376,5
+380,5
@@
public class ELF {
} else {
System.out.println("Symbol table: None");
}
} else {
System.out.println("Symbol table: None");
}
- }
+ }*/
}
}