/usr/share/gluegen2/make/elf-header.cfg is in libgluegen2-build-java 2.3.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | Style AllStatic
Package jogamp.common.os.elf
JavaOutputDir ../src/java
HierarchicalNativeOutput false
#Implements Sym32 Sym
#Implements Sym64 Sym
# ELF-1 (part-1) is independent of CPUType/ABI
# hence can use an arbitrary MachineDataInfo index
# for reading the struct Ehdr_p1 !
StructMachineDataInfoIndex Ehdr_p1 private static final int mdIdx = 0;
# The following sub structures shall use an mdIdx
# defined by ELF-1 header code, set w/ ctor!
StructMachineDataInfoIndex Ehdr_p2 private final int mdIdx;
StructMachineDataInfoIndex Shdr private final int mdIdx;
ManuallyImplement Ehdr_p2.size
ManuallyImplement Ehdr_p2.create
ManuallyImplement Ehdr_p2.Ehdr_p2
ManuallyImplement Shdr.size
ManuallyImplement Shdr.create
ManuallyImplement Shdr.Shdr
CustomJavaCode Ehdr_p2 public static int size(final int mdIdx) {
CustomJavaCode Ehdr_p2 return Ehdr_p2_size[mdIdx];
CustomJavaCode Ehdr_p2 }
CustomJavaCode Ehdr_p2
CustomJavaCode Ehdr_p2 public static Ehdr_p2 create(final int mdIdx) {
CustomJavaCode Ehdr_p2 return create(mdIdx, Buffers.newDirectByteBuffer(size(mdIdx)));
CustomJavaCode Ehdr_p2 }
CustomJavaCode Ehdr_p2
CustomJavaCode Ehdr_p2 public static Ehdr_p2 create(final int mdIdx, final java.nio.ByteBuffer buf) {
CustomJavaCode Ehdr_p2 return new Ehdr_p2(mdIdx, buf);
CustomJavaCode Ehdr_p2 }
CustomJavaCode Ehdr_p2
CustomJavaCode Ehdr_p2 Ehdr_p2(final int mdIdx, final java.nio.ByteBuffer buf) {
CustomJavaCode Ehdr_p2 this.mdIdx = mdIdx;
CustomJavaCode Ehdr_p2 this.md = MachineDataInfo.StaticConfig.values()[mdIdx].md;
CustomJavaCode Ehdr_p2 this.accessor = new StructAccessor(buf);
CustomJavaCode Ehdr_p2 }
CustomJavaCode Shdr public static int size(final int mdIdx) {
CustomJavaCode Shdr return Shdr_size[mdIdx];
CustomJavaCode Shdr }
CustomJavaCode Shdr
CustomJavaCode Shdr public static Shdr create(final int mdIdx) {
CustomJavaCode Shdr return create(mdIdx, Buffers.newDirectByteBuffer(size(mdIdx)));
CustomJavaCode Shdr }
CustomJavaCode Shdr
CustomJavaCode Shdr public static Shdr create(final int mdIdx, final java.nio.ByteBuffer buf) {
CustomJavaCode Shdr return new Shdr(mdIdx, buf);
CustomJavaCode Shdr }
CustomJavaCode Shdr
CustomJavaCode Shdr Shdr(final int mdIdx, final java.nio.ByteBuffer buf) {
CustomJavaCode Shdr this.mdIdx = mdIdx;
CustomJavaCode Shdr this.md = MachineDataInfo.StaticConfig.values()[mdIdx].md;
CustomJavaCode Shdr this.accessor = new StructAccessor(buf);
CustomJavaCode Shdr }
EmitStruct Ehdr_p1
EmitStruct Ehdr_p2
EmitStruct Shdr
#EmitStruct Sym32
#EmitStruct Sym64
|