diff options
author | Sven Gothel <[email protected]> | 2013-02-08 05:12:39 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-02-08 05:12:39 +0100 |
commit | 2432dbef17c1dc4164f055cf434073bdabf8a6a9 (patch) | |
tree | 348a46b246ead8bb508152a96847a62089b72d0c /make/elf-header.cfg | |
parent | 1118cb7182611d0a77764a3c781a1148849b3022 (diff) |
Bug 681: Add Basic ELF Header + ARM EABI Section Parsing, allowing to distinguish ARM soft-float/hard-float (part-1)
https://jogamp.org/bugzilla/show_bug.cgi?id=681
+ * References:
+ * <ul>
+ * <li>http://linux.die.net/man/5/elf</li>
+ * <li>http://www.sco.com/developers/gabi/latest/contents.html</li>
+ * <li>http://infocenter.arm.com/
+ * <ul>
+ * <li>ARM IHI 0044E, current through ABI release 2.09</li>
+ * <li>ARM IHI 0045D, current through ABI release 2.09</li>
+ * </ul></li>
Added self contained jogamp.common.os.elf package w/ entry point class ElfHeader
to read a RandomAccessFile and parse it as an ELF file.
ELF Parsing completness:
- Header: OK
- SectionHeader: OK
- Section Type SHT_ARM_ATTRIBUTES: OK
- Will be read into SectionArmAttributes
- Used to distinguisgh soft/hard VFP float
Tested manually on:
- Linux intel 32bit / 64bit, arm soft-float and hard-float
Diffstat (limited to 'make/elf-header.cfg')
-rw-r--r-- | make/elf-header.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/make/elf-header.cfg b/make/elf-header.cfg new file mode 100644 index 0000000..05c7d79 --- /dev/null +++ b/make/elf-header.cfg @@ -0,0 +1,13 @@ +Style AllStatic +Package jogamp.common.os.elf +JavaOutputDir ../src/java +HierarchicalNativeOutput false + +#Implements Sym32 Sym +#Implements Sym64 Sym + +EmitStruct Ehdr +EmitStruct Shdr +#EmitStruct Sym32 +#EmitStruct Sym64 + |