the old ones I built from before for reference.
the readelf -a on the one I built from before that loads okay
Spoiler:
Code:
[root@kindle /sbin]# readelf -a /mnt/us/kernel/fs/binfmt_misc.ko
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: ARM
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 8900 (bytes into file)
Flags: 0x4000000, Version4 EABI
Size of this header: 52 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 40 (bytes)
Number of section headers: 23
Section header string table index: 20
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 000034 00108c 00 AX 0 0 4
[ 2] .rel.text REL 00000000 00265c 000338 08 21 1 4
[ 3] .exit.text PROGBITS 00000000 0010c0 000028 00 AX 0 0 4
[ 4] .rel.exit.text REL 00000000 002994 000020 08 21 3 4
[ 5] .init.text PROGBITS 00000000 0010e8 000048 00 AX 0 0 4
[ 6] .rel.init.text REL 00000000 0029b4 000028 08 21 5 4
[ 7] .rodata PROGBITS 00000000 001130 000188 00 A 0 0 4
[ 8] .rel.rodata REL 00000000 0029dc 000038 08 21 7 4
[ 9] .rodata.str1.4 PROGBITS 00000000 0012b8 000090 01 AMS 0 0 4
[10] .modinfo PROGBITS 00000000 001348 000050 00 A 0 0 4
[11] __versions PROGBITS 00000000 001398 000c00 00 A 0 0 4
[12] .data PROGBITS 00000000 001f98 000088 00 WA 0 0 4
[13] .rel.data REL 00000000 002a14 000068 08 21 12 4
[14] .gnu.linkonce.thi PROGBITS 00000000 002020 000160 00 WA 0 0 32
[15] .rel.gnu.linkonce REL 00000000 002a7c 000010 08 21 14 4
[16] .bss NOBITS 00000000 002180 000008 00 WA 0 0 4
[17] .comment PROGBITS 00000000 002180 00006c 00 0 0 1
[18] .note.GNU-stack PROGBITS 00000000 0021ec 000000 00 0 0 1
[19] .ARM.attributes ARM_ATTRIBUTES 00000000 0021ec 000010 00 0 0 1
[20] .shstrtab STRTAB 00000000 0021fc 0000c8 00 0 0 1
[21] .symtab SYMTAB 00000000 002a8c 000850 10 22 83 4
[22] .strtab STRTAB 00000000 0032dc 000449 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
Relocation section '.rel.text' at offset 0x265c contains 103 entries:
Offset Info Type Sym.Value Sym. Name
0000006c 00006f02 R_ARM_ABS32 00000000 _ctype
00000138 00006f02 R_ARM_ABS32 00000000 _ctype
0000015c 0000721c R_ARM_CALL 00000000 get_sb_single
00000168 00002602 R_ARM_ABS32 0000016c bm_fill_super
00000188 00005c1c R_ARM_CALL 00000000 simple_fill_super
000001a0 00000c02 R_ARM_ABS32 00000000 .data
000001a4 00000702 R_ARM_ABS32 00000000 .rodata
000001b8 00005f1c R_ARM_CALL 00000000 kfree
00000214 0000811c R_ARM_CALL 00000000 __copy_from_user
00000224 0000731c R_ARM_CALL 00000000 __memzero
0000031c 0000791c R_ARM_CALL 00000000 dput
00000328 00007b1c R_ARM_CALL 00000000 simple_release_fs
00000334 00001002 R_ARM_ABS32 00000000 .bss
00000338 00001002 R_ARM_ABS32 00000000 .bss
00000374 0000651c R_ARM_CALL 00000000 __get_free_pages
000003a0 0000761c R_ARM_CALL 00000000 sprintf
000003a8 00007d1c R_ARM_CALL 00000000 strlen
000003b8 0000541c R_ARM_CALL 00000000 strcpy
00000410 0000761c R_ARM_CALL 00000000 sprintf
00000420 0000761c R_ARM_CALL 00000000 sprintf
00000428 00007d1c R_ARM_CALL 00000000 strlen
00000444 0000761c R_ARM_CALL 00000000 sprintf
00000470 0000541c R_ARM_CALL 00000000 strcpy
0000048c 0000761c R_ARM_CALL 00000000 sprintf
000004bc 00007d1c R_ARM_CALL 00000000 strlen
00000548 00007e1c R_ARM_CALL 00000000 __copy_to_user
00000574 0000611c R_ARM_CALL 00000000 free_pages
00000584 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000588 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
0000058c 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000590 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000594 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000598 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
0000059c 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
000005a0 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000630 00006a1c R_ARM_CALL 00000000 mutex_lock
00000658 0000771c R_ARM_CALL 00000000 mutex_unlock
00000660 0000791c R_ARM_CALL 00000000 dput
0000067c 00000c02 R_ARM_ABS32 00000000 .data
00000680 00000c02 R_ARM_ABS32 00000000 .data
000006bc 00007d1c R_ARM_CALL 00000000 strlen
000006d4 0000801c R_ARM_CALL 00000000 simple_read_from_buffe
000006e0 00000c02 R_ARM_ABS32 00000000 .data
000006e4 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
000006e8 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000738 0000661c R_ARM_CALL 00000000 strrchr
00000774 0000751c R_ARM_CALL 00000000 strcmp
00000824 00006b1c R_ARM_CALL 00000000 strlcpy
00000838 0000821c R_ARM_CALL 00000000 remove_arg_zero
00000850 00006e1c R_ARM_CALL 00000000 get_unused_fd
00000864 00005e1c R_ARM_CALL 00000000 fd_install
00000870 0000671c R_ARM_CALL 00000000 file_permission
000008fc 0000681c R_ARM_CALL 00000000 fput
00000910 00006c1c R_ARM_CALL 00000000 copy_strings_kernel
00000934 00006c1c R_ARM_CALL 00000000 copy_strings_kernel
00000954 0000561c R_ARM_CALL 00000000 open_exec
00000978 0000731c R_ARM_CALL 00000000 __memzero
0000098c 0000741c R_ARM_CALL 00000000 kernel_read
00000998 0000691c R_ARM_CALL 00000000 prepare_binprm
000009b0 00007c1c R_ARM_CALL 00000000 search_binary_handler
000009d8 0000531c R_ARM_CALL 00000000 sys_close
000009f4 00000c02 R_ARM_ABS32 00000000 .data
000009f8 00000c02 R_ARM_ABS32 00000000 .data
00000ab8 00006a1c R_ARM_CALL 00000000 mutex_lock
00000acc 0000771c R_ARM_CALL 00000000 mutex_unlock
00000ad4 0000791c R_ARM_CALL 00000000 dput
00000b1c 0000831c R_ARM_CALL 00000000 __kmalloc
00000b38 0000731c R_ARM_CALL 00000000 __memzero
00000b6c 0000811c R_ARM_CALL 00000000 __copy_from_user
00000b8c 0000731c R_ARM_CALL 00000000 __memzero
00000bb4 0000711c R_ARM_CALL 00000000 memset
00000bc8 00007f1c R_ARM_CALL 00000000 strchr
00000c04 0000751c R_ARM_CALL 00000000 strcmp
00000c18 0000751c R_ARM_CALL 00000000 strcmp
00000c2c 00007f1c R_ARM_CALL 00000000 strchr
00000c90 00007f1c R_ARM_CALL 00000000 strchr
00000cb0 00007a1c R_ARM_CALL 00000000 simple_strtoul
00000d78 00007f1c R_ARM_CALL 00000000 strchr
00000d9c 00007f1c R_ARM_CALL 00000000 strchr
00000dcc 00007f1c R_ARM_CALL 00000000 strchr
00000de0 00007f1c R_ARM_CALL 00000000 strchr
00000e08 00007f1c R_ARM_CALL 00000000 strchr
00000ec4 00005f1c R_ARM_CALL 00000000 kfree
00000ed4 00005f1c R_ARM_CALL 00000000 kfree
00000f20 00006a1c R_ARM_CALL 00000000 mutex_lock
00000f2c 00007d1c R_ARM_CALL 00000000 strlen
00000f3c 0000571c R_ARM_CALL 00000000 lookup_one_len
00000f64 0000591c R_ARM_CALL 00000000 new_inode
00000f94 00006d1c R_ARM_CALL 00000000 current_fs_time
00000fc0 0000841c R_ARM_CALL 00000000 simple_pin_fs
00000fd0 0000601c R_ARM_CALL 00000000 iput
00001010 0000551c R_ARM_CALL 00000000 d_instantiate
00001030 0000791c R_ARM_CALL 00000000 dput
0000103c 0000771c R_ARM_CALL 00000000 mutex_unlock
00001044 0000791c R_ARM_CALL 00000000 dput
00001058 00005f1c R_ARM_CALL 00000000 kfree
0000106c 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00001070 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00001078 00001002 R_ARM_ABS32 00000000 .bss
0000107c 00000c02 R_ARM_ABS32 00000000 .data
00001080 00001002 R_ARM_ABS32 00000000 .bss
00001084 00000702 R_ARM_ABS32 00000000 .rodata
00001088 00000c02 R_ARM_ABS32 00000000 .data
Relocation section '.rel.exit.text' at offset 0x2994 contains 4 entries:
Offset Info Type Sym.Value Sym. Name
00000010 0000631c R_ARM_CALL 00000000 unregister_binfmt
00000018 00005a1c R_ARM_CALL 00000000 unregister_filesystem
00000020 00000c02 R_ARM_ABS32 00000000 .data
00000024 00000c02 R_ARM_ABS32 00000000 .data
Relocation section '.rel.init.text' at offset 0x29b4 contains 5 entries:
Offset Info Type Sym.Value Sym. Name
00000014 0000621c R_ARM_CALL 00000000 register_filesystem
00000024 0000781c R_ARM_CALL 00000000 register_binfmt
00000034 00005a1c R_ARM_CALL 00000000 unregister_filesystem
00000040 00000c02 R_ARM_ABS32 00000000 .data
00000044 00000c02 R_ARM_ABS32 00000000 .data
Relocation section '.rel.rodata' at offset 0x29dc contains 7 entries:
Offset Info Type Sym.Value Sym. Name
0000002c 00005b02 R_ARM_ABS32 00000000 simple_statfs
00000034 00002b02 R_ARM_ABS32 000001a8 bm_clear_inode
0000004c 00003202 R_ARM_ABS32 0000033c bm_entry_read
00000050 00004302 R_ARM_ABS32 000009fc bm_entry_write
000000b8 00003a02 R_ARM_ABS32 00000684 bm_status_read
000000bc 00003502 R_ARM_ABS32 000005a4 bm_status_write
00000128 00004502 R_ARM_ABS32 00000ae0 bm_register_write
Relocation section '.rel.data' at offset 0x2a14 contains 13 entries:
Offset Info Type Sym.Value Sym. Name
00000008 00005802 R_ARM_ABS32 00000000 __this_module
0000000c 00004002 R_ARM_ABS32 000006ec load_misc_binary
00000020 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000028 00002302 R_ARM_ABS32 0000013c bm_get_sb
0000002c 00007002 R_ARM_ABS32 00000000 kill_litter_super
00000030 00005802 R_ARM_ABS32 00000000 __this_module
00000058 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
0000005c 00000702 R_ARM_ABS32 00000000 .rodata
00000064 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
00000068 00000702 R_ARM_ABS32 00000000 .rodata
00000070 00000902 R_ARM_ABS32 00000000 .rodata.str1.4
0000007c 00000c02 R_ARM_ABS32 00000000 .data
00000080 00000c02 R_ARM_ABS32 00000000 .data
Relocation section '.rel.gnu.linkonce.this_module' at offset 0x2a7c contains 2 entries:
Offset Info Type Sym.Value Sym. Name
000000cc 00006402 R_ARM_ABS32 00000000 init_module
0000012c 00005d02 R_ARM_ABS32 00000000 cleanup_module
There are no unwind sections in this file.
Symbol table '.symtab' contains 133 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 SECTION LOCAL DEFAULT 1
2: 00000000 0 SECTION LOCAL DEFAULT 2
3: 00000000 0 SECTION LOCAL DEFAULT 3
4: 00000000 0 SECTION LOCAL DEFAULT 4
5: 00000000 0 SECTION LOCAL DEFAULT 5
6: 00000000 0 SECTION LOCAL DEFAULT 6
7: 00000000 0 SECTION LOCAL DEFAULT 7
8: 00000000 0 SECTION LOCAL DEFAULT 8
9: 00000000 0 SECTION LOCAL DEFAULT 9
10: 00000000 0 SECTION LOCAL DEFAULT 10
11: 00000000 0 SECTION LOCAL DEFAULT 11
12: 00000000 0 SECTION LOCAL DEFAULT 12
13: 00000000 0 SECTION LOCAL DEFAULT 13
14: 00000000 0 SECTION LOCAL DEFAULT 14
15: 00000000 0 SECTION LOCAL DEFAULT 15
16: 00000000 0 SECTION LOCAL DEFAULT 16
17: 00000000 0 SECTION LOCAL DEFAULT 17
18: 00000000 0 SECTION LOCAL DEFAULT 18
19: 00000000 0 SECTION LOCAL DEFAULT 19
20: 00000000 0 SECTION LOCAL DEFAULT 20
21: 00000000 0 SECTION LOCAL DEFAULT 21
22: 00000000 0 SECTION LOCAL DEFAULT 22
23: 00000000 0 FILE LOCAL DEFAULT ABS binfmt_misc.c
24: 00000000 112 FUNC LOCAL DEFAULT 1 scanarg
25: 00000000 0 NOTYPE LOCAL DEFAULT 1 $a
26: 0000006c 0 NOTYPE LOCAL DEFAULT 1 $d
27: 00000070 204 FUNC LOCAL DEFAULT 1 unquote
28: 00000070 0 NOTYPE LOCAL DEFAULT 1 $a
29: 00000138 0 NOTYPE LOCAL DEFAULT 1 $d
30: 00000000 40 FUNC LOCAL DEFAULT 3 exit_misc_binfmt
31: 00000000 0 NOTYPE LOCAL DEFAULT 3 $a
32: 00000020 0 NOTYPE LOCAL DEFAULT 3 $d
33: 00000000 32 OBJECT LOCAL DEFAULT 12 misc_format
34: 00000020 32 OBJECT LOCAL DEFAULT 12 bm_fs_type
35: 0000013c 48 FUNC LOCAL DEFAULT 1 bm_get_sb
36: 0000013c 0 NOTYPE LOCAL DEFAULT 1 $a
37: 00000168 0 NOTYPE LOCAL DEFAULT 1 $d
38: 0000016c 60 FUNC LOCAL DEFAULT 1 bm_fill_super
39: 0000016c 0 NOTYPE LOCAL DEFAULT 1 $a
40: 0000019c 0 NOTYPE LOCAL DEFAULT 1 $d
41: 00000040 60 OBJECT LOCAL DEFAULT 12 bm_files.19114
42: 00000000 68 OBJECT LOCAL DEFAULT 7 s_ops
43: 000001a8 24 FUNC LOCAL DEFAULT 1 bm_clear_inode
44: 000001a8 0 NOTYPE LOCAL DEFAULT 1 $a
45: 000001c0 220 FUNC LOCAL DEFAULT 1 parse_command
46: 0000029c 160 FUNC LOCAL DEFAULT 1 kill_node
47: 00000330 0 NOTYPE LOCAL DEFAULT 1 $d
48: 00000000 4 OBJECT LOCAL DEFAULT 16 bm_mnt
49: 00000004 4 OBJECT LOCAL DEFAULT 16 entry_count
50: 0000033c 616 FUNC LOCAL DEFAULT 1 bm_entry_read
51: 0000033c 0 NOTYPE LOCAL DEFAULT 1 $a
52: 00000584 0 NOTYPE LOCAL DEFAULT 1 $d
53: 000005a4 224 FUNC LOCAL DEFAULT 1 bm_status_write
54: 000005a4 0 NOTYPE LOCAL DEFAULT 1 $a
55: 0000067c 0 NOTYPE LOCAL DEFAULT 1 $d
56: 0000007c 8 OBJECT LOCAL DEFAULT 12 entries
57: 00000084 4 OBJECT LOCAL DEFAULT 12 enabled
58: 00000684 104 FUNC LOCAL DEFAULT 1 bm_status_read
59: 00000684 0 NOTYPE LOCAL DEFAULT 1 $a
60: 000006e0 0 NOTYPE LOCAL DEFAULT 1 $d
61: 00000000 72 FUNC LOCAL DEFAULT 5 init_misc_binfmt
62: 00000000 0 NOTYPE LOCAL DEFAULT 5 $a
63: 00000040 0 NOTYPE LOCAL DEFAULT 5 $d
64: 000006ec 784 FUNC LOCAL DEFAULT 1 load_misc_binary
65: 000006ec 0 NOTYPE LOCAL DEFAULT 1 $a
66: 000009f4 0 NOTYPE LOCAL DEFAULT 1 $d
67: 000009fc 228 FUNC LOCAL DEFAULT 1 bm_entry_write
68: 000009fc 0 NOTYPE LOCAL DEFAULT 1 $a
69: 00000ae0 1452 FUNC LOCAL DEFAULT 1 bm_register_write
70: 00001068 0 NOTYPE LOCAL DEFAULT 1 $d
71: 00000044 108 OBJECT LOCAL DEFAULT 7 bm_entry_operations
72: 00000000 12 OBJECT LOCAL DEFAULT 10 __mod_license758
73: 00000008 0 NOTYPE LOCAL DEFAULT 12 $d
74: 0000002c 0 NOTYPE LOCAL DEFAULT 7 $d
75: 000000b0 108 OBJECT LOCAL DEFAULT 7 bm_status_operations
76: 0000011c 108 OBJECT LOCAL DEFAULT 7 bm_register_operations
77: 00000000 0 FILE LOCAL DEFAULT ABS binfmt_misc.mod.c
78: 0000000c 56 OBJECT LOCAL DEFAULT 10 __mod_vermagic5
79: 000000cc 0 NOTYPE LOCAL DEFAULT 14 $d
80: 00000000 3072 OBJECT LOCAL DEFAULT 11 ____versions
81: 00000000 0 NOTYPE LOCAL DEFAULT 11 $d
82: 00000044 9 OBJECT LOCAL DEFAULT 10 __module_depends
83: 00000000 0 NOTYPE GLOBAL DEFAULT UND sys_close
84: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcpy
85: 00000000 0 NOTYPE GLOBAL DEFAULT UND d_instantiate
86: 00000000 0 NOTYPE GLOBAL DEFAULT UND open_exec
87: 00000000 0 NOTYPE GLOBAL DEFAULT UND lookup_one_len
88: 00000000 352 OBJECT GLOBAL DEFAULT 14 __this_module
89: 00000000 0 NOTYPE GLOBAL DEFAULT UND new_inode
90: 00000000 0 NOTYPE GLOBAL DEFAULT UND unregister_filesystem
91: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_statfs
92: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_fill_super
93: 00000000 40 FUNC GLOBAL DEFAULT 3 cleanup_module
94: 00000000 0 NOTYPE GLOBAL DEFAULT UND fd_install
95: 00000000 0 NOTYPE GLOBAL DEFAULT UND kfree
96: 00000000 0 NOTYPE GLOBAL DEFAULT UND iput
97: 00000000 0 NOTYPE GLOBAL DEFAULT UND free_pages
98: 00000000 0 NOTYPE GLOBAL DEFAULT UND register_filesystem
99: 00000000 0 NOTYPE GLOBAL DEFAULT UND unregister_binfmt
100: 00000000 72 FUNC GLOBAL DEFAULT 5 init_module
101: 00000000 0 NOTYPE GLOBAL DEFAULT UND __get_free_pages
102: 00000000 0 NOTYPE GLOBAL DEFAULT UND strrchr
103: 00000000 0 NOTYPE GLOBAL DEFAULT UND file_permission
104: 00000000 0 NOTYPE GLOBAL DEFAULT UND fput
105: 00000000 0 NOTYPE GLOBAL DEFAULT UND prepare_binprm
106: 00000000 0 NOTYPE GLOBAL DEFAULT UND mutex_lock
107: 00000000 0 NOTYPE GLOBAL DEFAULT UND strlcpy
108: 00000000 0 NOTYPE GLOBAL DEFAULT UND copy_strings_kernel
109: 00000000 0 NOTYPE GLOBAL DEFAULT UND current_fs_time
110: 00000000 0 NOTYPE GLOBAL DEFAULT UND get_unused_fd
111: 00000000 0 NOTYPE GLOBAL DEFAULT UND _ctype
112: 00000000 0 NOTYPE GLOBAL DEFAULT UND kill_litter_super
113: 00000000 0 NOTYPE GLOBAL DEFAULT UND memset
114: 00000000 0 NOTYPE GLOBAL DEFAULT UND get_sb_single
115: 00000000 0 NOTYPE GLOBAL DEFAULT UND __memzero
116: 00000000 0 NOTYPE GLOBAL DEFAULT UND kernel_read
117: 00000000 0 NOTYPE GLOBAL DEFAULT UND strcmp
118: 00000000 0 NOTYPE GLOBAL DEFAULT UND sprintf
119: 00000000 0 NOTYPE GLOBAL DEFAULT UND mutex_unlock
120: 00000000 0 NOTYPE GLOBAL DEFAULT UND register_binfmt
121: 00000000 0 NOTYPE GLOBAL DEFAULT UND dput
122: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_strtoul
123: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_release_fs
124: 00000000 0 NOTYPE GLOBAL DEFAULT UND search_binary_handler
125: 00000000 0 NOTYPE GLOBAL DEFAULT UND strlen
126: 00000000 0 NOTYPE GLOBAL DEFAULT UND __copy_to_user
127: 00000000 0 NOTYPE GLOBAL DEFAULT UND strchr
128: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_read_from_buffer
129: 00000000 0 NOTYPE GLOBAL DEFAULT UND __copy_from_user
130: 00000000 0 NOTYPE GLOBAL DEFAULT UND remove_arg_zero
131: 00000000 0 NOTYPE GLOBAL DEFAULT UND __kmalloc
132: 00000000 0 NOTYPE GLOBAL DEFAULT UND simple_pin_fs
No version information found in this file.
Attribute Section: aeabi
File Attributes