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