-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkrnl.map
More file actions
916 lines (836 loc) · 40.8 KB
/
krnl.map
File metadata and controls
916 lines (836 loc) · 40.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
Archive member included to satisfy reference by file (symbol)
lib/orangescrt.a(printf.o) kernel/main.o (printf)
lib/orangescrt.a(vsprintf.o) kernel/main.o (vsprintf)
lib/orangescrt.a(string.o) kernel/start.o (memcpy)
lib/orangescrt.a(misc.o) kernel/main.o (send_recv)
lib/orangescrt.a(open.o) kernel/main.o (open)
lib/orangescrt.a(read.o) kernel/main.o (read)
lib/orangescrt.a(write.o) kernel/main.o (write)
lib/orangescrt.a(close.o) kernel/main.o (close)
lib/orangescrt.a(lseek.o) kernel/main.o (lseek)
lib/orangescrt.a(getpid.o) kernel/main.o (getpid)
lib/orangescrt.a(stat.o) mm/exec.o (stat)
lib/orangescrt.a(fork.o) kernel/main.o (fork)
lib/orangescrt.a(wait.o) kernel/main.o (wait)
lib/orangescrt.a(exec.o) kernel/main.o (execv)
lib/orangescrt.a(check.o) kernel/main.o (check)
lib/orangescrt.a(syscall.o) lib/orangescrt.a(misc.o) (sendrec)
Allocating common symbols
Common symbol size file
idt_ptr 0x6 kernel/global.o
inode_table 0xb00 kernel/global.o
task_stack 0x24000 kernel/global.o
k_reenter 0x4 kernel/global.o
gdt 0x400 kernel/global.o
current_console 0x4 kernel/global.o
pcaller 0x4 kernel/global.o
tty_table 0xc6c kernel/global.o
tss 0x68 kernel/global.o
fs_msg 0x30 kernel/global.o
memory_size 0x4 kernel/global.o
f_desc_table 0x400 kernel/global.o
check_table 0x190 kernel/global.o
root_inode 0x4 kernel/global.o
disp_pos 0x4 kernel/global.o
mm_msg 0x30 kernel/global.o
key_pressed 0x4 kernel/global.o
gdt_ptr 0x6 kernel/global.o
idt 0x800 kernel/global.o
super_block 0x1e0 kernel/global.o
PARTITION_ENTRY 0x10 kernel/hd.o
ticks 0x4 kernel/global.o
console_table 0x3c kernel/global.o
irq_table 0x40 kernel/global.o
p_proc_ready 0x4 kernel/global.o
proc_table 0x3aae kernel/global.o
Discarded input sections
.note.GNU-stack
0x0000000000000000 0x0 kernel/start.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/main.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/clock.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/keyboard.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/tty.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/console.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/i8259.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/global.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/protect.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/proc.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/systask.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/hd.o
.note.GNU-stack
0x0000000000000000 0x0 kernel/klib.o
.note.GNU-stack
0x0000000000000000 0x0 lib/syslog.o
.note.GNU-stack
0x0000000000000000 0x0 mm/main.o
.note.GNU-stack
0x0000000000000000 0x0 mm/forkexit.o
.note.GNU-stack
0x0000000000000000 0x0 mm/exec.o
.note.GNU-stack
0x0000000000000000 0x0 fs/main.o
.note.GNU-stack
0x0000000000000000 0x0 fs/open.o
.note.GNU-stack
0x0000000000000000 0x0 fs/misc.o
.note.GNU-stack
0x0000000000000000 0x0 fs/read_write.o
.note.GNU-stack
0x0000000000000000 0x0 fs/link.o
.note.GNU-stack
0x0000000000000000 0x0 fs/disklog.o
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(printf.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(vsprintf.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(misc.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(open.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(read.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(write.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(close.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(lseek.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(getpid.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(stat.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(fork.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(wait.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(exec.o)
.note.GNU-stack
0x0000000000000000 0x0 lib/orangescrt.a(check.o)
Memory Configuration
Name Origin Length Attributes
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
Address of section .text set to 0x1000
LOAD kernel/kernel.o
LOAD kernel/start.o
LOAD kernel/main.o
LOAD kernel/clock.o
LOAD kernel/keyboard.o
LOAD kernel/tty.o
LOAD kernel/console.o
LOAD kernel/i8259.o
LOAD kernel/global.o
LOAD kernel/protect.o
LOAD kernel/proc.o
LOAD kernel/systask.o
LOAD kernel/hd.o
LOAD kernel/kliba.o
LOAD kernel/klib.o
LOAD lib/syslog.o
LOAD mm/main.o
LOAD mm/forkexit.o
LOAD mm/exec.o
LOAD fs/main.o
LOAD fs/open.o
LOAD fs/misc.o
LOAD fs/read_write.o
LOAD fs/link.o
LOAD fs/disklog.o
LOAD lib/orangescrt.a
[!provide] PROVIDE (__executable_start, 0x8048000)
0x0000000008048094 . = (0x8048000 + SIZEOF_HEADERS)
.interp
*(.interp)
.note.gnu.build-id
*(.note.gnu.build-id)
.hash
*(.hash)
.gnu.hash
*(.gnu.hash)
.dynsym
*(.dynsym)
.dynstr
*(.dynstr)
.gnu.version
*(.gnu.version)
.gnu.version_d
*(.gnu.version_d)
.gnu.version_r
*(.gnu.version_r)
.rel.dyn 0x0000000008048094 0x0
*(.rel.init)
*(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
.rel.text 0x0000000008048094 0x0 kernel/kernel.o
*(.rel.fini)
*(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
*(.rel.data.rel.ro .rel.data.rel.ro.* .rel.gnu.linkonce.d.rel.ro.*)
*(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
.rel.data 0x0000000008048094 0x0 kernel/kernel.o
*(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
*(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
*(.rel.ctors)
*(.rel.dtors)
*(.rel.got)
*(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
*(.rel.ifunc)
.rel.plt 0x0000000008048094 0x0
*(.rel.plt)
[!provide] PROVIDE (__rel_iplt_start, .)
*(.rel.iplt)
.rel.iplt 0x0000000008048094 0x0 kernel/kernel.o
[!provide] PROVIDE (__rel_iplt_end, .)
.init
*(SORT(.init))
.plt 0x00000000080480a0 0x0
*(.plt)
*(.iplt)
.iplt 0x00000000080480a0 0x0 kernel/kernel.o
.plt.got
*(.plt.got)
.text 0x0000000000001000 0xc3e8
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
*(.text.exit .text.exit.*)
*(.text.startup .text.startup.*)
*(.text.hot .text.hot.*)
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000000001000 0x410 kernel/kernel.o
0x0000000000001000 _start
0x0000000000001040 hwint00
0x0000000000001070 hwint01
0x00000000000010a0 hwint02
0x00000000000010d0 hwint03
0x0000000000001100 hwint04
0x0000000000001130 hwint05
0x0000000000001160 hwint06
0x0000000000001190 hwint07
0x00000000000011c0 hwint08
0x00000000000011f0 hwint09
0x0000000000001220 hwint10
0x0000000000001250 hwint11
0x0000000000001280 hwint12
0x00000000000012b0 hwint13
0x00000000000012e0 hwint14
0x0000000000001310 hwint15
0x0000000000001334 divide_error
0x000000000000133a single_step_exception
0x0000000000001340 nmi
0x0000000000001346 breakpoint_exception
0x000000000000134c overflow
0x0000000000001352 bounds_check
0x0000000000001358 inval_opcode
0x000000000000135e copr_not_available
0x0000000000001364 double_fault
0x0000000000001368 copr_seg_overrun
0x000000000000136e inval_tss
0x0000000000001372 segment_not_present
0x0000000000001376 stack_exception
0x000000000000137a general_protection
0x000000000000137e page_fault
0x0000000000001382 copr_error
0x00000000000013cb sys_call
0x00000000000013eb restart
.text 0x0000000000001410 0x95 kernel/start.o
0x0000000000001410 cstart
.text 0x00000000000014a5 0xbd9 kernel/main.o
0x00000000000014a5 kernel_main
0x00000000000017fb get_ticks
0x000000000000182f untar
0x0000000000001c35 shabby_shell
0x0000000000001eb9 Init
0x0000000000002026 TestA
0x000000000000202b TestB
0x0000000000002030 TestC
0x0000000000002035 panic
.text 0x000000000000207e 0x111 kernel/clock.o
0x000000000000207e clock_handler
0x00000000000020fd milli_delay
0x0000000000002137 init_clock
.text 0x000000000000218f 0x6da kernel/keyboard.o
0x000000000000218f keyboard_handler
0x00000000000021f9 init_keyboard
0x00000000000022a8 keyboard_read
.text 0x0000000000002869 0xa49 kernel/tty.o
0x0000000000002869 task_tty
0x0000000000002a5a in_process
0x0000000000002fb3 sys_printx
0x0000000000003151 dump_tty_buf
.text 0x00000000000032b2 0x824 kernel/console.o
0x00000000000032b2 init_screen
0x0000000000003426 out_char
0x0000000000003750 is_current_console
0x0000000000003843 select_console
0x0000000000003883 scroll_screen
.text 0x0000000000003ad6 0x130 kernel/i8259.o
0x0000000000003ad6 init_8259A
0x0000000000003bab spurious_irq
0x0000000000003be2 put_irq_handler
.text 0x0000000000003c06 0x0 kernel/global.o
.text 0x0000000000003c06 0x660 kernel/protect.o
0x0000000000003c06 init_prot
0x000000000000406f seg2linear
0x00000000000040be init_desc
0x000000000000412b exception_handler
.text 0x0000000000004266 0x185d kernel/proc.o
0x0000000000004266 q_push
0x00000000000042b6 q_pop
0x00000000000042f4 schedule
0x0000000000004583 sys_sendrec
0x00000000000046ab ldt_seg_linear
0x00000000000046f5 va2la
0x0000000000004756 reset_msg
0x0000000000005511 inform_int
0x000000000000567e dump_proc
0x00000000000059b6 dump_msg
.text 0x0000000000005ac3 0x2bc kernel/systask.o
0x0000000000005ac3 task_sys
.text 0x0000000000005d7f 0xd1e kernel/hd.o
0x0000000000005d7f task_hd
0x0000000000006a72 hd_handler
*fill* 0x0000000000006a9d 0x3
.text 0x0000000000006aa0 0x19a kernel/kliba.o
0x0000000000006aa0 disp_str
0x0000000000006ade disp_color_str
0x0000000000006b1d out_byte
0x0000000000006b29 in_byte
0x0000000000006b33 port_read
0x0000000000006b46 port_write
0x0000000000006b59 disable_irq
0x0000000000006b8e enable_irq
0x0000000000006bad disable_int
0x0000000000006baf enable_int
0x0000000000006bb1 glitter
.text 0x0000000000006c3a 0x2af kernel/klib.o
0x0000000000006c3a get_boot_params
0x0000000000006cc0 get_kernel_map
0x0000000000006dd0 itoa
0x0000000000006e7b disp_int
0x0000000000006ea2 delay
.text 0x0000000000006ee9 0x6f lib/syslog.o
0x0000000000006ee9 syslog
.text 0x0000000000006f58 0x1bc mm/main.o
0x0000000000006f58 task_mm
0x000000000000708f alloc_mem
0x000000000000710a free_mem
.text 0x0000000000007114 0x61a mm/forkexit.o
0x0000000000007114 do_fork
0x00000000000074a5 do_exit
0x0000000000007676 do_wait
.text 0x000000000000772e 0x359 mm/exec.o
0x000000000000772e do_exec
.text 0x0000000000007a87 0x1115 fs/main.o
0x0000000000007a87 task_fs
0x000000000000857f rw_sector
0x00000000000087a4 get_super_block
0x00000000000087ea get_inode
0x000000000000894d put_inode
0x000000000000898b sync_inode
.text 0x0000000000008b9c 0xb8c fs/open.o
0x0000000000008b9c do_open
0x00000000000090c4 do_close
0x000000000000913f do_lseek
.text 0x0000000000009728 0x3b2 fs/misc.o
0x0000000000009728 do_stat
0x00000000000098f9 search_file
0x0000000000009a4f strip_path
.text 0x0000000000009ada 0x4b0 fs/read_write.o
0x0000000000009ada do_rdwt
.text 0x0000000000009f8a 0x808 fs/link.o
0x0000000000009f8a do_unlink
.text 0x000000000000a792 0x1fbf fs/disklog.o
0x000000000000a792 disklog
0x000000000000acff dump_fd_graph
.text 0x000000000000c751 0xad lib/orangescrt.a(printf.o)
0x000000000000c751 printf
0x000000000000c7bc printl
.text 0x000000000000c7fe 0x305 lib/orangescrt.a(vsprintf.o)
0x000000000000c85c vsprintf
0x000000000000cadd sprintf
*fill* 0x000000000000cb03 0xd
.text 0x000000000000cb10 0x78 lib/orangescrt.a(string.o)
0x000000000000cb10 memcpy
0x000000000000cb39 memset
0x000000000000cb5a strcpy
0x000000000000cb72 strlen
.text 0x000000000000cb88 0x256 lib/orangescrt.a(misc.o)
0x000000000000cb88 send_recv
0x000000000000cc42 memcmp
0x000000000000ccb8 strcmp
0x000000000000cd2b strcat
0x000000000000cd8a spin
0x000000000000cda5 assertion_failure
.text 0x000000000000cdde 0x63 lib/orangescrt.a(open.o)
0x000000000000cdde open
.text 0x000000000000ce41 0x37 lib/orangescrt.a(read.o)
0x000000000000ce41 read
.text 0x000000000000ce78 0x37 lib/orangescrt.a(write.o)
0x000000000000ce78 write
.text 0x000000000000ceaf 0x2b lib/orangescrt.a(close.o)
0x000000000000ceaf close
.text 0x000000000000ceda 0x37 lib/orangescrt.a(lseek.o)
0x000000000000ceda lseek
.text 0x000000000000cf11 0x46 lib/orangescrt.a(getpid.o)
0x000000000000cf11 getpid
.text 0x000000000000cf57 0x63 lib/orangescrt.a(stat.o)
0x000000000000cf57 stat
.text 0x000000000000cfba 0x66 lib/orangescrt.a(fork.o)
0x000000000000cfba fork
.text 0x000000000000d020 0x3c lib/orangescrt.a(wait.o)
0x000000000000d020 wait
.text 0x000000000000d05c 0x237 lib/orangescrt.a(exec.o)
0x000000000000d05c exec
0x000000000000d0c7 execl
0x000000000000d0ec execv
.text 0x000000000000d293 0x12a lib/orangescrt.a(check.o)
0x000000000000d293 check
0x000000000000d35a find_position
*fill* 0x000000000000d3bd 0x3
.text 0x000000000000d3c0 0x28 lib/orangescrt.a(syscall.o)
0x000000000000d3c0 sendrec
0x000000000000d3da printx
*(.gnu.warning)
.fini
*(SORT(.fini))
[!provide] PROVIDE (__etext, .)
[!provide] PROVIDE (_etext, .)
[!provide] PROVIDE (etext, .)
.rodata 0x000000000000d400 0x26ad
*(.rodata .rodata.* .gnu.linkonce.r.*)
.rodata 0x000000000000d400 0x47 kernel/start.o
*fill* 0x000000000000d447 0x1
.rodata 0x000000000000d448 0x218 kernel/main.o
.rodata 0x000000000000d660 0x64 kernel/keyboard.o
.rodata 0x000000000000d6c4 0x168 kernel/tty.o
.rodata 0x000000000000d82c 0x5b kernel/console.o
.rodata 0x000000000000d887 0x11 kernel/i8259.o
.rodata 0x000000000000d898 0x10 kernel/global.o
0x000000000000d898 FSBUF_SIZE
0x000000000000d89c MMBUF_SIZE
0x000000000000d8a0 LOGBUF_SIZE
0x000000000000d8a4 LOGDISKBUF_SIZE
*fill* 0x000000000000d8a8 0x18
.rodata 0x000000000000d8c0 0x580 kernel/protect.o
.rodata 0x000000000000de40 0x5da kernel/proc.o
.rodata 0x000000000000e41a 0x11 kernel/systask.o
*fill* 0x000000000000e42b 0x1
.rodata 0x000000000000e42c 0x15c kernel/hd.o
.rodata 0x000000000000e588 0x6a kernel/klib.o
.rodata 0x000000000000e5f2 0x1e lib/syslog.o
.rodata 0x000000000000e610 0xb1 mm/main.o
*fill* 0x000000000000e6c1 0x3
.rodata 0x000000000000e6c4 0xe7 mm/forkexit.o
*fill* 0x000000000000e7ab 0x1
.rodata 0x000000000000e7ac 0xa4 mm/exec.o
.rodata 0x000000000000e850 0x2ce fs/main.o
*fill* 0x000000000000eb1e 0x2
.rodata 0x000000000000eb20 0x1c8 fs/open.o
.rodata 0x000000000000ece8 0x60 fs/misc.o
.rodata 0x000000000000ed48 0x164 fs/read_write.o
.rodata 0x000000000000eeac 0x1ad fs/link.o
*fill* 0x000000000000f059 0x3
.rodata 0x000000000000f05c 0x806 fs/disklog.o
.rodata 0x000000000000f862 0x14 lib/orangescrt.a(printf.o)
*fill* 0x000000000000f876 0x2
.rodata 0x000000000000f878 0xad lib/orangescrt.a(misc.o)
.rodata 0x000000000000f925 0x23 lib/orangescrt.a(open.o)
.rodata 0x000000000000f948 0x25 lib/orangescrt.a(getpid.o)
.rodata 0x000000000000f96d 0x23 lib/orangescrt.a(stat.o)
.rodata 0x000000000000f990 0x33 lib/orangescrt.a(fork.o)
*fill* 0x000000000000f9c3 0x1
.rodata 0x000000000000f9c4 0x87 lib/orangescrt.a(exec.o)
*fill* 0x000000000000fa4b 0x1
.rodata 0x000000000000fa4c 0x61 lib/orangescrt.a(check.o)
.rodata1
*(.rodata1)
.eh_frame_hdr
*(.eh_frame_hdr)
*(.eh_frame_entry .eh_frame_entry.*)
.eh_frame 0x000000000000fab0 0x12f4
*(.eh_frame)
.eh_frame 0x000000000000fab0 0x38 kernel/start.o
.eh_frame 0x000000000000fae8 0x10c kernel/main.o
0x124 (size before relaxing)
.eh_frame 0x000000000000fbf4 0x60 kernel/clock.o
0x78 (size before relaxing)
.eh_frame 0x000000000000fc54 0xe0 kernel/keyboard.o
0xf8 (size before relaxing)
.eh_frame 0x000000000000fd34 0x13c kernel/tty.o
0x154 (size before relaxing)
.eh_frame 0x000000000000fe70 0x144 kernel/console.o
0x15c (size before relaxing)
.eh_frame 0x000000000000ffb4 0x60 kernel/i8259.o
0x78 (size before relaxing)
.eh_frame 0x0000000000010014 0xb0 kernel/protect.o
0xc8 (size before relaxing)
.eh_frame 0x00000000000100c4 0x1f8 kernel/proc.o
0x210 (size before relaxing)
.eh_frame 0x00000000000102bc 0x5c kernel/systask.o
0x74 (size before relaxing)
.eh_frame 0x0000000000010318 0x1c8 kernel/hd.o
0x1e0 (size before relaxing)
.eh_frame 0x00000000000104e0 0xa0 kernel/klib.o
0xb8 (size before relaxing)
.eh_frame 0x0000000000010580 0x20 lib/syslog.o
0x38 (size before relaxing)
.eh_frame 0x00000000000105a0 0x7c mm/main.o
0x94 (size before relaxing)
.eh_frame 0x000000000001061c 0x90 mm/forkexit.o
0xa8 (size before relaxing)
.eh_frame 0x00000000000106ac 0x2c mm/exec.o
0x44 (size before relaxing)
.eh_frame 0x00000000000106d8 0x170 fs/main.o
0x188 (size before relaxing)
.eh_frame 0x0000000000010848 0x120 fs/open.o
0x138 (size before relaxing)
.eh_frame 0x0000000000010968 0x68 fs/misc.o
0x80 (size before relaxing)
.eh_frame 0x00000000000109d0 0x2c fs/read_write.o
0x44 (size before relaxing)
.eh_frame 0x00000000000109fc 0x2c fs/link.o
0x44 (size before relaxing)
.eh_frame 0x0000000000010a28 0x60 fs/disklog.o
0x78 (size before relaxing)
.eh_frame 0x0000000000010a88 0x40 lib/orangescrt.a(printf.o)
0x58 (size before relaxing)
.eh_frame 0x0000000000010ac8 0x60 lib/orangescrt.a(vsprintf.o)
0x78 (size before relaxing)
.eh_frame 0x0000000000010b28 0xbc lib/orangescrt.a(misc.o)
0xd4 (size before relaxing)
.eh_frame 0x0000000000010be4 0x20 lib/orangescrt.a(open.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010c04 0x20 lib/orangescrt.a(read.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010c24 0x20 lib/orangescrt.a(write.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010c44 0x20 lib/orangescrt.a(close.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010c64 0x20 lib/orangescrt.a(lseek.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010c84 0x20 lib/orangescrt.a(getpid.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010ca4 0x20 lib/orangescrt.a(stat.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010cc4 0x20 lib/orangescrt.a(fork.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010ce4 0x20 lib/orangescrt.a(wait.o)
0x38 (size before relaxing)
.eh_frame 0x0000000000010d04 0x60 lib/orangescrt.a(exec.o)
0x78 (size before relaxing)
.eh_frame 0x0000000000010d64 0x40 lib/orangescrt.a(check.o)
0x58 (size before relaxing)
*(.eh_frame.*)
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
.gnu_extab
*(.gnu_extab*)
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x0000000000011000 . = DATA_SEGMENT_ALIGN (0x1000, 0x1000)
.eh_frame
*(.eh_frame)
*(.eh_frame.*)
.gnu_extab
*(.gnu_extab)
.gcc_except_table
*(.gcc_except_table .gcc_except_table.*)
.exception_ranges
*(.exception_ranges .exception_ranges*)
.tdata
*(.tdata .tdata.* .gnu.linkonce.td.*)
.tbss
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000000011000 0x0
[!provide] PROVIDE (__preinit_array_start, .)
*(.preinit_array)
[!provide] PROVIDE (__preinit_array_end, .)
.init_array 0x0000000000011000 0x0
[!provide] PROVIDE (__init_array_start, .)
*(SORT(.init_array.*) SORT(.ctors.*))
*(.init_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .ctors)
[!provide] PROVIDE (__init_array_end, .)
.fini_array 0x0000000000011000 0x0
[!provide] PROVIDE (__fini_array_start, .)
*(SORT(.fini_array.*) SORT(.dtors.*))
*(.fini_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .dtors)
[!provide] PROVIDE (__fini_array_end, .)
.ctors
*crtbegin.o(.ctors)
*crtbegin?.o(.ctors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors)
*(SORT(.ctors.*))
*(.ctors)
.dtors
*crtbegin.o(.dtors)
*crtbegin?.o(.dtors)
*(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors)
*(SORT(.dtors.*))
*(.dtors)
.jcr
*(.jcr)
.data.rel.ro
*(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*)
*(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*)
.dynamic
*(.dynamic)
.got
*(.got)
*(.igot)
0x0000000000011000 . = DATA_SEGMENT_RELRO_END (., (SIZEOF (.got.plt) >= 0xc)?0xc:0x0)
.got.plt 0x0000000000011000 0x0
*(.got.plt)
*(.igot.plt)
.igot.plt 0x0000000000011000 0x0 kernel/kernel.o
.data 0x0000000000011000 0xa4c
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000000011000 0x2 kernel/kernel.o
.data 0x0000000000011002 0x0 kernel/start.o
.data 0x0000000000011002 0x0 kernel/main.o
.data 0x0000000000011002 0x0 kernel/clock.o
*fill* 0x0000000000011002 0x1e
.data 0x0000000000011020 0x600 kernel/keyboard.o
0x0000000000011020 keymap
.data 0x0000000000011620 0x22 kernel/tty.o
.data 0x0000000000011642 0x0 kernel/console.o
.data 0x0000000000011642 0x0 kernel/i8259.o
*fill* 0x0000000000011642 0x1e
.data 0x0000000000011660 0x3ec kernel/global.o
0x0000000000011660 task_table
0x0000000000011740 user_proc_table
0x00000000000117e0 sys_call_table
0x00000000000117ec dd_map
0x0000000000011804 fsbuf
0x0000000000011808 mmbuf
0x000000000001180c logbuf
0x0000000000011810 logdiskbuf
0x0000000000011820 queue_1
0x00000000000118e0 queue_2
0x00000000000119a0 queue_3
0x0000000000011a48 proc_timeslice
.data 0x0000000000011a4c 0x0 kernel/protect.o
.data 0x0000000000011a4c 0x0 kernel/proc.o
.data 0x0000000000011a4c 0x0 kernel/systask.o
.data 0x0000000000011a4c 0x0 kernel/hd.o
.data 0x0000000000011a4c 0x0 kernel/klib.o
.data 0x0000000000011a4c 0x0 lib/syslog.o
.data 0x0000000000011a4c 0x0 mm/main.o
.data 0x0000000000011a4c 0x0 mm/forkexit.o
.data 0x0000000000011a4c 0x0 mm/exec.o
.data 0x0000000000011a4c 0x0 fs/main.o
.data 0x0000000000011a4c 0x0 fs/open.o
.data 0x0000000000011a4c 0x0 fs/misc.o
.data 0x0000000000011a4c 0x0 fs/read_write.o
.data 0x0000000000011a4c 0x0 fs/link.o
.data 0x0000000000011a4c 0x0 fs/disklog.o
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(printf.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(vsprintf.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(misc.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(open.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(read.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(write.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(close.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(lseek.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(getpid.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(stat.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(fork.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(wait.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(exec.o)
.data 0x0000000000011a4c 0x0 lib/orangescrt.a(check.o)
.data1
*(.data1)
0x0000000000011a4c _edata = .
[!provide] PROVIDE (edata, .)
0x0000000000011a4c . = .
0x0000000000011a4c __bss_start = .
.bss 0x0000000000011a60 0x2b8c0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000000011a60 0x800 kernel/kernel.o
.bss 0x0000000000012260 0x0 kernel/start.o
.bss 0x0000000000012260 0x0 kernel/main.o
.bss 0x0000000000012260 0x0 kernel/clock.o
.bss 0x0000000000012260 0x58 kernel/keyboard.o
.bss 0x00000000000122b8 0x0 kernel/tty.o
.bss 0x00000000000122b8 0x0 kernel/console.o
.bss 0x00000000000122b8 0x0 kernel/i8259.o
.bss 0x00000000000122b8 0x8 kernel/global.o
0x00000000000122b8 proc_runtime
0x00000000000122bc check_count
.bss 0x00000000000122c0 0x0 kernel/protect.o
.bss 0x00000000000122c0 0x0 kernel/proc.o
.bss 0x00000000000122c0 0x0 kernel/systask.o
.bss 0x00000000000122c0 0x64c kernel/hd.o
.bss 0x000000000001290c 0x0 kernel/klib.o
.bss 0x000000000001290c 0x0 lib/syslog.o
.bss 0x000000000001290c 0x0 mm/main.o
.bss 0x000000000001290c 0x0 mm/forkexit.o
.bss 0x000000000001290c 0x0 mm/exec.o
.bss 0x000000000001290c 0x0 fs/main.o
.bss 0x000000000001290c 0x0 fs/open.o
.bss 0x000000000001290c 0x0 fs/misc.o
.bss 0x000000000001290c 0x0 fs/read_write.o
.bss 0x000000000001290c 0x0 fs/link.o
*fill* 0x000000000001290c 0x14
.bss 0x0000000000012920 0x208 fs/disklog.o
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(printf.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(vsprintf.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(misc.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(open.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(read.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(write.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(close.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(lseek.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(getpid.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(stat.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(fork.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(wait.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(exec.o)
.bss 0x0000000000012b28 0x0 lib/orangescrt.a(check.o)
*(COMMON)
*fill* 0x0000000000012b28 0x18
COMMON 0x0000000000012b40 0x2a7ce kernel/global.o
0x0000000000012b40 idt_ptr
0x0000000000012b60 inode_table
0x0000000000013660 task_stack
0x0000000000037660 k_reenter
0x0000000000037680 gdt
0x0000000000037a80 current_console
0x0000000000037a84 pcaller
0x0000000000037aa0 tty_table
0x0000000000038720 tss
0x00000000000387a0 fs_msg
0x00000000000387d0 memory_size
0x00000000000387e0 f_desc_table
0x0000000000038be0 check_table
0x0000000000038d70 root_inode
0x0000000000038d74 disp_pos
0x0000000000038d80 mm_msg
0x0000000000038db0 key_pressed
0x0000000000038db4 gdt_ptr
0x0000000000038dc0 idt
0x00000000000395c0 super_block
0x00000000000397a0 ticks
0x00000000000397c0 console_table
0x0000000000039800 irq_table
0x0000000000039840 p_proc_ready
0x0000000000039860 proc_table
*fill* 0x000000000003d30e 0x2
COMMON 0x000000000003d310 0x10 kernel/hd.o
0x000000000003d310 PARTITION_ENTRY
0x000000000003d320 . = ALIGN ((. != 0x0)?0x4:0x1)
0x000000000003d320 . = ALIGN (0x4)
0x000000000003d320 . = SEGMENT_START ("ldata-segment", .)
0x000000000003d320 . = ALIGN (0x4)
0x000000000003d320 _end = .
[!provide] PROVIDE (end, .)
0x000000000003d320 . = DATA_SEGMENT_END (.)
.stab
*(.stab)
.stabstr
*(.stabstr)
.stab.excl
*(.stab.excl)
.stab.exclstr
*(.stab.exclstr)
.stab.index
*(.stab.index)
.stab.indexstr
*(.stab.indexstr)
.comment 0x0000000000000000 0x35
*(.comment)
.comment 0x0000000000000000 0x35 kernel/start.o
0x36 (size before relaxing)
.comment 0x0000000000000035 0x36 kernel/main.o
.comment 0x0000000000000035 0x36 kernel/clock.o
.comment 0x0000000000000035 0x36 kernel/keyboard.o
.comment 0x0000000000000035 0x36 kernel/tty.o
.comment 0x0000000000000035 0x36 kernel/console.o
.comment 0x0000000000000035 0x36 kernel/i8259.o
.comment 0x0000000000000035 0x36 kernel/global.o
.comment 0x0000000000000035 0x36 kernel/protect.o
.comment 0x0000000000000035 0x36 kernel/proc.o
.comment 0x0000000000000035 0x36 kernel/systask.o
.comment 0x0000000000000035 0x36 kernel/hd.o
.comment 0x0000000000000035 0x36 kernel/klib.o
.comment 0x0000000000000035 0x36 lib/syslog.o
.comment 0x0000000000000035 0x36 mm/main.o
.comment 0x0000000000000035 0x36 mm/forkexit.o
.comment 0x0000000000000035 0x36 mm/exec.o
.comment 0x0000000000000035 0x36 fs/main.o
.comment 0x0000000000000035 0x36 fs/open.o
.comment 0x0000000000000035 0x36 fs/misc.o
.comment 0x0000000000000035 0x36 fs/read_write.o
.comment 0x0000000000000035 0x36 fs/link.o
.comment 0x0000000000000035 0x36 fs/disklog.o
.comment 0x0000000000000035 0x36 lib/orangescrt.a(printf.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(vsprintf.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(misc.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(open.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(read.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(write.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(close.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(lseek.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(getpid.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(stat.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(fork.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(wait.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(exec.o)
.comment 0x0000000000000035 0x36 lib/orangescrt.a(check.o)
.debug
*(.debug)
.line
*(.line)
.debug_srcinfo
*(.debug_srcinfo)
.debug_sfnames
*(.debug_sfnames)
.debug_aranges
*(.debug_aranges)
.debug_pubnames
*(.debug_pubnames)
.debug_info
*(.debug_info .gnu.linkonce.wi.*)
.debug_abbrev
*(.debug_abbrev)
.debug_line
*(.debug_line .debug_line.* .debug_line_end)
.debug_frame
*(.debug_frame)
.debug_str
*(.debug_str)
.debug_loc
*(.debug_loc)
.debug_macinfo
*(.debug_macinfo)
.debug_weaknames
*(.debug_weaknames)
.debug_funcnames
*(.debug_funcnames)
.debug_typenames
*(.debug_typenames)
.debug_varnames
*(.debug_varnames)
.debug_pubtypes
*(.debug_pubtypes)
.debug_ranges
*(.debug_ranges)
.debug_macro
*(.debug_macro)
.gnu.attributes
*(.gnu.attributes)
/DISCARD/
*(.note.GNU-stack)
*(.gnu_debuglink)
*(.gnu.lto_*)
OUTPUT(kernel.bin elf32-i386)