mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 10:32:52 +03:00
Move uninitialised .data16 variables to .bss16; saves around 2000
bytes of useless zeroes in the final image.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define BASEMEM_PACKET_LEN 1514
|
||||
|
||||
/** Base memory packet buffer */
|
||||
extern char __data16_array ( basemem_packet, [BASEMEM_PACKET_LEN] );
|
||||
extern char __bss16_array ( basemem_packet, [BASEMEM_PACKET_LEN] );
|
||||
#define basemem_packet __use_data16 ( basemem_packet )
|
||||
|
||||
#endif /* BASEMEM_PACKET_H */
|
||||
|
||||
Reference in New Issue
Block a user