1 #source
: symbols
-ordinals
-hints
-exports
.s
2 #ld
: -shared ${srcdir
}/${subdir
}/symbols
-ordinals
-hints
.def
5 # Rules
for Ordinal
/Name Pointer Table
:
6 #
- Table rows must be lexicographically sorted by symbol names
7 #
- Hint numbers must be
in sequence starting from zero
8 #
- Ordinal numbers must match the
@ordinal keyword from
.def file
9 #
- Symbols
in .def file without
@ordinal keyword have assigned the first free ordinal starting from
1
10 #
- Symbols
in .def file
with NONAME keyword must
not be present
in Name Pointer Table
13 .*\
[Ordinal
/Name Pointer\
] Table
-- Ordinal Base
.*
15 .*\
+base\
[ 2\
] 0000 sym1
16 .*\
+base\
[ 5\
] 0001 sym2
17 .*\
+base\
[ 3\
] 0002 sym4
18 .*\
+base\
[ 4\
] 0003 sym5