Replace the two open-coded EFI related section declarations with the
usage of DECL_SECTION. This is a preparatory change for also adding a
reloc section to the ELF binary.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
#ifdef EFI
. = ALIGN(4);
- .reloc : {
+ DECL_SECTION(.reloc) {
*(.reloc)
} :text
/* Trick the linker into setting the image size to exactly 16Mb. */
. = ALIGN(__section_alignment__);
- .pad : {
+ DECL_SECTION(.pad) {
. = ALIGN(MB(16));
} :text
#endif