A bit overkill for 32bit machines, but aligning all the special data structures on 8 byte boundaries removes any special case for 64bit machines.
9 lines
144 B
Plaintext
9 lines
144 B
Plaintext
SECTIONS {
|
|
.drivers : ALIGN(8) {
|
|
__drivers = .;
|
|
KEEP (*(.drivers))
|
|
__drivers_end = .;
|
|
}
|
|
}
|
|
INSERT AFTER .rodata;
|