2 /* BLOCK: on Windows (PE) output section must be page-aligned. Use 4-byte alignment otherwise */
3 /* SUBALIGN: force 4-byte alignment of input sections for pg_registry.
4 Gcc defaults to 32 bytes; padding is then inserted between object files, breaking the init structure. */
5 .pg_registry BLOCK( DEFINED(__section_alignment__) ? __section_alignment__ : 4 ) : SUBALIGN(4)
7 PROVIDE_HIDDEN (__pg_registry_start = . );
8 PROVIDE_HIDDEN (___pg_registry_start = . );
10 KEEP (*(SORT(.pg_registry.*)))
11 PROVIDE_HIDDEN (__pg_registry_end = . );
12 PROVIDE_HIDDEN (___pg_registry_end = . );
14 PROVIDE_HIDDEN (__pg_resetdata_start = . );
15 PROVIDE_HIDDEN (___pg_resetdata_start = . );
16 KEEP (*(.pg_resetdata))
17 PROVIDE_HIDDEN (__pg_resetdata_end = . );
18 PROVIDE_HIDDEN (___pg_resetdata_end = . );