core: canonicalize ROOT_FS_OPS
authorH. Peter Anvin <hpa@zytor.com>
Tue, 22 Dec 2009 20:23:06 +0000 (12:23 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 22 Dec 2009 20:23:06 +0000 (12:23 -0800)
ROOT_FS_OPS belongs in .rodata, and make it the same format.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/extlinux.asm
core/ldlinux.asm
core/pxelinux.asm

index c7cea51..1ac749b 100644 (file)
 ;
 my_id          equ extlinux_id
 
+               section .rodata
+               alignz 4
+ROOT_FS_OPS:
                extern ext2_fs_ops
+               dd ext2_fs_ops
                extern btrfs_fs_ops
-
-               section .rodata
-ROOT_FS_OPS    dd ext2_fs_ops
                dd btrfs_fs_ops
                dd 0
 
index 599d760..23540ea 100644 (file)
 ;
 my_id          equ syslinux_id
 
-               extern vfat_fs_ops
                section .rodata
-ROOT_FS_OPS    dd vfat_fs_ops
+               alignz 4
+ROOT_FS_OPS:
+               extern vfat_fs_ops
+               dd vfat_fs_ops
                dd 0
 
 %include "diskfs.inc"
index c71b07b..7f5da49 100644 (file)
@@ -312,7 +312,7 @@ efi_csm_hack_size equ $-efi_csm_hack
                mov eax,ROOT_FS_OPS
                 pm_call fs_init
 
-               section .data
+               section .rodata
                alignz 4
 ROOT_FS_OPS:
                 extern pxe_fs_ops