OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [alpha/] [elf-reloc-8.s] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .set noat
2
        .set noreorder
3
        .set nomacro
4
        .arch ev6
5
        .section        .init.data,"aw",@progbits
6
        .align 2
7
        .type   mount_initrd, @object
8
        .size   mount_initrd, 4
9
mount_initrd:
10
        .long   0
11
        .globl root_mountflags
12
        .section        .sdata,"aw",@progbits
13
        .align 2
14
        .type   root_mountflags, @object
15
        .size   root_mountflags, 4
16
root_mountflags:
17
        .long   32769
18
        .section        .sbss,"aw"
19
        .type   do_devfs, @object
20
        .size   do_devfs, 4
21
        .align 2
22
do_devfs:
23
        .zero   4
24
        .section        .init.text,"ax",@progbits
25
        .align 2
26
        .align 4
27
        .ent load_ramdisk
28
load_ramdisk:
29
        .frame $30,16,$26,0
30
        .mask 0x4000000,-16
31
        ldah $29,0($27)          !gpdisp!1
32
        lda $29,0($29)           !gpdisp!1
33
$load_ramdisk..ng:
34
        ldq $27,simple_strtol($29)              !literal!2
35
        lda $30,-16($30)
36
        mov $31,$17
37
        mov $31,$18
38
        stq $26,0($30)
39
        .prologue 1
40
        jsr $26,($27),simple_strtol             !lituse_jsr!2
41
        ldah $29,0($26)          !gpdisp!3
42
        lda $29,0($29)           !gpdisp!3
43
        ldq $26,0($30)
44
        and $0,3,$0
45
        ldah $1,rd_doload($29)          !gprelhigh
46
        stl $0,rd_doload($1)             !gprellow
47
        lda $0,1($31)
48
        lda $30,16($30)
49
        ret $31,($26),1
50
        .end load_ramdisk
51
        .section        .init.data
52
        .type   __setup_str_load_ramdisk, @object
53
        .size   __setup_str_load_ramdisk, 14
54
__setup_str_load_ramdisk:
55
        .ascii "load_ramdisk=\0"
56
        .section        .init.setup,"aw",@progbits
57
        .align 3
58
        .type   __setup_load_ramdisk, @object
59
        .size   __setup_load_ramdisk, 16
60
__setup_load_ramdisk:
61
        .quad   __setup_str_load_ramdisk
62
        .quad   load_ramdisk
63
        .section        .init.text
64
        .align 2
65
        .align 4
66
        .ent readonly
67
readonly:
68
        .frame $30,0,$26,0
69
        ldah $29,0($27)          !gpdisp!4
70
        lda $29,0($29)           !gpdisp!4
71
$readonly..ng:
72
        .prologue 1
73
        ldbu $1,0($16)
74
        mov $31,$0
75
        bne $1,$L167
76
        ldl $1,root_mountflags($29)             !gprel
77
        lda $0,1($31)
78
        bis $1,1,$1
79
        stl $1,root_mountflags($29)             !gprel
80
$L167:
81
        ret $31,($26),1
82
        .end readonly
83
        .align 2
84
        .align 4
85
        .ent readwrite
86
readwrite:
87
        .frame $30,0,$26,0
88
        ldah $29,0($27)          !gpdisp!5
89
        lda $29,0($29)           !gpdisp!5
90
$readwrite..ng:
91
        .prologue 1
92
        ldbu $1,0($16)
93
        mov $31,$0
94
        bne $1,$L169
95
        ldl $1,root_mountflags($29)             !gprel
96
        lda $0,1($31)
97
        bic $1,1,$1
98
        stl $1,root_mountflags($29)             !gprel
99
$L169:
100
        ret $31,($26),1
101
        .end readwrite
102
        .section        .init.data
103
        .type   __setup_str_readonly, @object
104
        .size   __setup_str_readonly, 3
105
__setup_str_readonly:
106
        .ascii "ro\0"
107
        .section        .init.setup
108
        .align 3
109
        .type   __setup_readonly, @object
110
        .size   __setup_readonly, 16
111
__setup_readonly:
112
        .quad   __setup_str_readonly
113
        .quad   readonly
114
        .section        .init.data
115
        .type   __setup_str_readwrite, @object
116
        .size   __setup_str_readwrite, 3
117
__setup_str_readwrite:
118
        .ascii "rw\0"
119
        .section        .init.setup
120
        .align 3
121
        .type   __setup_readwrite, @object
122
        .size   __setup_readwrite, 16
123
__setup_readwrite:
124
        .quad   __setup_str_readwrite
125
        .quad   readwrite
126
        .section        .rodata.str1.1,"aMS",@progbits,1
127
$LC1:
128
        .ascii "/sys/block/%s/dev\0"
129
$LC2:
130
        .ascii "/sys/block/%s/range\0"
131
        .section        .init.text
132
        .align 2
133
        .align 4
134
        .ent try_name
135
try_name:
136
        .frame $30,160,$26,0
137
        .mask 0x4003e00,-160
138
        ldah $29,0($27)          !gpdisp!6
139
        lda $29,0($29)           !gpdisp!6
140
$try_name..ng:
141
        lda $30,-160($30)
142
        ldq $27,sprintf($29)            !literal!25
143
        stq $10,16($30)
144
        stq $12,32($30)
145
        mov $16,$10
146
        mov $17,$12
147
        ldah $17,$LC1($29)              !gprelhigh
148
        stq $26,0($30)
149
        stq $9,8($30)
150
        lda $16,48($30)
151
        stq $11,24($30)
152
        stq $13,40($30)
153
        .prologue 1
154
        mov $10,$18
155
        lda $17,$LC1($17)               !gprellow
156
        jsr $26,($27),sprintf           !lituse_jsr!25
157
        ldah $29,0($26)          !gpdisp!26
158
        lda $29,0($29)           !gpdisp!26
159
        lda $16,48($30)
160
        mov $31,$18
161
        mov $31,$17
162
        ldq $27,sys_open($29)           !literal!23
163
        jsr $26,($27),sys_open          !lituse_jsr!23
164
        ldah $29,0($26)          !gpdisp!24
165
        addl $31,$0,$9
166
        lda $29,0($29)           !gpdisp!24
167
        blt $9,$L174
168
        ldq $27,sys_read($29)           !literal!21
169
        lda $11,112($30)
170
        mov $9,$16
171
        lda $18,32($31)
172
        mov $11,$17
173
        jsr $26,($27),sys_read          !lituse_jsr!21
174
        ldah $29,0($26)          !gpdisp!22
175
        lda $29,0($29)           !gpdisp!22
176
        addl $31,$9,$16
177
        addl $31,$0,$9
178
        ldq $27,sys_close($29)          !literal!19
179
        jsr $26,($27),sys_close         !lituse_jsr!19
180
        ldah $29,0($26)          !gpdisp!20
181
        cmpeq $9,32,$2
182
        cmple $9,0,$1
183
        lda $29,0($29)           !gpdisp!20
184
        bis $1,$2,$1
185
        bne $1,$L174
186
        subl $9,1,$2
187
        addq $11,$2,$0
188
        ldbu $1,0($0)
189
        cmpeq $1,10,$1
190
        bne $1,$L189
191
$L174:
192
        mov $31,$0
193
$L171:
194
        ldq $26,0($30)
195
        ldq $9,8($30)
196
        ldq $10,16($30)
197
        ldq $11,24($30)
198
        ldq $12,32($30)
199
        ldq $13,40($30)
200
        lda $30,160($30)
201
        ret $31,($26),1
202
$L189:
203
        ldq $27,simple_strtoul($29)             !literal!17
204
        mov $11,$16
205
        lda $17,144($30)
206
        lda $18,16($31)
207
        stb $31,0($0)
208
        jsr $26,($27),simple_strtoul            !lituse_jsr!17
209
        ldah $29,0($26)          !gpdisp!18
210
        ldq $1,144($30)
211
        lda $29,0($29)           !gpdisp!18
212
        addl $31,$0,$13
213
        ldbu $2,0($1)
214
        bne $2,$L174
215
        mov $13,$0
216
        beq $12,$L171
217
        ldq $27,sprintf($29)            !literal!15
218
        ldah $17,$LC2($29)              !gprelhigh
219
        mov $10,$18
220
        lda $16,48($30)
221
        lda $17,$LC2($17)               !gprellow
222
        jsr $26,($27),sprintf           !lituse_jsr!15
223
        ldah $29,0($26)          !gpdisp!16
224
        lda $29,0($29)           !gpdisp!16
225
        lda $16,48($30)
226
        mov $31,$18
227
        mov $31,$17
228
        ldq $27,sys_open($29)           !literal!13
229
        jsr $26,($27),sys_open          !lituse_jsr!13
230
        ldah $29,0($26)          !gpdisp!14
231
        addl $31,$0,$9
232
        lda $29,0($29)           !gpdisp!14
233
        blt $9,$L174
234
        ldq $27,sys_read($29)           !literal!11
235
        mov $9,$16
236
        mov $11,$17
237
        lda $18,32($31)
238
        jsr $26,($27),sys_read          !lituse_jsr!11
239
        ldah $29,0($26)          !gpdisp!12
240
        lda $29,0($29)           !gpdisp!12
241
        addl $31,$9,$16
242
        addl $31,$0,$9
243
        ldq $27,sys_close($29)          !literal!9
244
        jsr $26,($27),sys_close         !lituse_jsr!9
245
        ldah $29,0($26)          !gpdisp!10
246
        cmpeq $9,32,$2
247
        cmple $9,0,$1
248
        lda $29,0($29)           !gpdisp!10
249
        bis $1,$2,$1
250
        bne $1,$L174
251
        subl $9,1,$2
252
        addq $11,$2,$0
253
        ldbu $1,0($0)
254
        cmpeq $1,10,$1
255
        beq $1,$L174
256
        ldq $27,simple_strtoul($29)             !literal!7
257
        mov $11,$16
258
        lda $17,144($30)
259
        lda $18,10($31)
260
        stb $31,0($0)
261
        jsr $26,($27),simple_strtoul            !lituse_jsr!7
262
        ldah $29,0($26)          !gpdisp!8
263
        ldq $1,144($30)
264
        lda $29,0($29)           !gpdisp!8
265
        addl $31,$0,$0
266
        ldbu $2,0($1)
267
        bne $2,$L174
268
        cmplt $12,$0,$1
269
        addl $13,$12,$0
270
        bne $1,$L171
271
        br $31,$L174
272
        .end try_name
273
        .section        .rodata.str1.1
274
$LC3:
275
        .ascii "/sys\0"
276
$LC4:
277
        .ascii "sysfs\0"
278
$LC5:
279
        .ascii "/dev/\0"
280
$LC6:
281
        .ascii "nfs\0"
282
        .section        .init.text
283
        .align 2
284
        .align 4
285
        .globl name_to_dev_t
286
        .ent name_to_dev_t
287
name_to_dev_t:
288
        .frame $30,96,$26,0
289
        .mask 0x4001e00,-96
290
        ldah $29,0($27)          !gpdisp!27
291
        lda $29,0($29)           !gpdisp!27
292
$name_to_dev_t..ng:
293
        lda $30,-96($30)
294
        ldq $27,sys_mkdir($29)          !literal!46
295
        lda $17,448($31)
296
        stq $12,32($30)
297
        stq $9,8($30)
298
        ldah $12,$LC3($29)              !gprelhigh
299
        lda $9,$LC3($12)                !gprellow
300
        stq $10,16($30)
301
        stq $11,24($30)
302
        mov $16,$10
303
        stq $26,0($30)
304
        .prologue 1
305
        mov $31,$11
306
        mov $9,$16
307
        jsr $26,($27),sys_mkdir         !lituse_jsr!46
308
        ldah $29,0($26)          !gpdisp!47
309
        lda $29,0($29)           !gpdisp!47
310
        mov $9,$17
311
        mov $31,$19
312
        mov $31,$20
313
        ldah $16,$LC4($29)              !gprelhigh
314
        ldq $27,sys_mount($29)          !literal!44
315
        lda $16,$LC4($16)               !gprellow
316
        mov $16,$18
317
        jsr $26,($27),sys_mount         !lituse_jsr!44
318
        ldah $29,0($26)          !gpdisp!45
319
        lda $29,0($29)           !gpdisp!45
320
        blt $0,$L192
321
        ldq $27,memcmp($29)             !literal!42
322
        ldah $17,$LC5($29)              !gprelhigh
323
        mov $10,$16
324
        lda $18,5($31)
325
        lda $17,$LC5($17)               !gprellow
326
        jsr $26,($27),memcmp            !lituse_jsr!42
327
        ldah $29,0($26)          !gpdisp!43
328
        lda $29,0($29)           !gpdisp!43
329
        bne $0,$L219
330
        ldq $27,memcmp($29)             !literal!38
331
        lda $10,5($10)
332
        ldah $17,$LC6($29)              !gprelhigh
333
        lda $18,4($31)
334
        lda $11,255($31)
335
        mov $10,$16
336
        lda $17,$LC6($17)               !gprellow
337
        jsr $26,($27),memcmp            !lituse_jsr!38
338
        ldah $29,0($26)          !gpdisp!39
339
        lda $29,0($29)           !gpdisp!39
340
        beq $0,$L196
341
        ldq $27,strlen($29)             !literal!36
342
        mov $10,$16
343
        jsr $26,($27),strlen            !lituse_jsr!36
344
        ldah $29,0($26)          !gpdisp!37
345
        cmpule $0,31,$0
346
        lda $29,0($29)           !gpdisp!37
347
        beq $0,$L195
348
        ldq $27,strcpy($29)             !literal!34
349
        mov $10,$17
350
        lda $16,48($30)
351
        jsr $26,($27),strcpy            !lituse_jsr!34
352
        ldah $29,0($26)          !gpdisp!35
353
        ldbu $1,48($30)
354
        lda $16,48($30)
355
        lda $29,0($29)           !gpdisp!35
356
        mov $16,$2
357
        stq $16,80($30)
358
        beq $1,$L217
359
        lda $3,46($31)
360
        .align 4
361
$L204:
362
        ldbu $1,0($2)
363
        cmpeq $1,47,$1
364
        bne $1,$L220
365
$L201:
366
        lda $16,1($16)
367
        stq $16,80($30)
368
        mov $16,$2
369
        ldbu $1,0($16)
370
        bne $1,$L204
371
$L217:
372
        lda $16,48($30)
373
        mov $31,$17
374
        bsr $26,try_name                !samegp
375
        addl $31,$0,$11
376
        bne $11,$L196
377
        ldq $16,80($30)
378
        lda $2,48($30)
379
        cmpule $16,$2,$1
380
        mov $16,$3
381
        bne $1,$L207
382
        ldq $4,_ctype($29)              !literal
383
        ldbu $1,-1($16)
384
        addq $1,$4,$1
385
        ldbu $2,0($1)
386
        and $2,4,$2
387
        beq $2,$L207
388
        .align 4
389
$L210:
390
        lda $16,-1($3)
391
        lda $2,48($30)
392
        cmpule $16,$2,$1
393
        stq $16,80($30)
394
        mov $16,$3
395
        bne $1,$L207
396
        ldbu $1,-1($16)
397
        addq $1,$4,$1
398
        ldbu $2,0($1)
399
        and $2,4,$2
400
        bne $2,$L210
401
        .align 4
402
$L207:
403
        lda $2,48($30)
404
        cmpeq $16,$2,$1
405
        bne $1,$L195
406
        ldbu $1,0($16)
407
        sextb $1,$1
408
        beq $1,$L195
409
        cmpeq $1,48,$1
410
        bne $1,$L195
411
        ldq $27,simple_strtoul($29)             !literal!32
412
        mov $31,$17
413
        lda $18,10($31)
414
        jsr $26,($27),simple_strtoul            !lituse_jsr!32
415
        ldah $29,0($26)          !gpdisp!33
416
        ldq $1,80($30)
417
        addl $31,$0,$9
418
        lda $29,0($29)           !gpdisp!33
419
        lda $16,48($30)
420
        mov $9,$17
421
        stb $31,0($1)
422
        bsr $26,try_name                !samegp
423
        addl $31,$0,$11
424
        bne $11,$L196
425
        ldq $4,80($30)
426
        lda $1,50($30)
427
        cmpult $4,$1,$1
428
        bne $1,$L195
429
        ldbu $1,-2($4)
430
        ldq $3,_ctype($29)              !literal
431
        addq $1,$3,$1
432
        ldbu $2,0($1)
433
        and $2,4,$2
434
        beq $2,$L195
435
        ldbu $1,-1($4)
436
        cmpeq $1,112,$1
437
        bne $1,$L221
438
        .align 4
439
$L195:
440
        mov $31,$11
441
$L196:
442
        ldq $27,sys_umount($29)         !literal!30
443
        lda $16,$LC3($12)               !gprellow
444
        mov $31,$17
445
        jsr $26,($27),sys_umount                !lituse_jsr!30
446
        ldah $29,0($26)          !gpdisp!31
447
        lda $29,0($29)           !gpdisp!31
448
$L192:
449
        ldq $27,sys_rmdir($29)          !literal!28
450
        lda $16,$LC3($12)               !gprellow
451
        jsr $26,($27),sys_rmdir         !lituse_jsr!28
452
        ldah $29,0($26)          !gpdisp!29
453
        mov $11,$0
454
        ldq $26,0($30)
455
        ldq $9,8($30)
456
        lda $29,0($29)           !gpdisp!29
457
        ldq $10,16($30)
458
        ldq $11,24($30)
459
        ldq $12,32($30)
460
        lda $30,96($30)
461
        ret $31,($26),1
462
$L221:
463
        stb $31,-1($4)
464
        mov $9,$17
465
        lda $16,48($30)
466
        bsr $26,try_name                !samegp
467
        addl $31,$0,$11
468
        br $31,$L196
469
        .align 4
470
$L220:
471
        stb $3,0($2)
472
        ldq $16,80($30)
473
        br $31,$L201
474
        .align 4
475
$L219:
476
        ldq $27,simple_strtoul($29)             !literal!40
477
        mov $10,$16
478
        lda $17,80($30)
479
        lda $18,16($31)
480
        jsr $26,($27),simple_strtoul            !lituse_jsr!40
481
        ldah $29,0($26)          !gpdisp!41
482
        ldq $1,80($30)
483
        lda $29,0($29)           !gpdisp!41
484
        addl $31,$0,$11
485
        ldbu $2,0($1)
486
        beq $2,$L196
487
        br $31,$L195
488
        .end name_to_dev_t
489
        .align 2
490
        .align 4
491
        .ent root_dev_setup
492
root_dev_setup:
493
        .frame $30,16,$26,0
494
        .mask 0x4000200,-16
495
        ldah $29,0($27)          !gpdisp!48
496
        lda $29,0($29)           !gpdisp!48
497
$root_dev_setup..ng:
498
        lda $30,-16($30)
499
        ldq $27,strncpy($29)            !literal!49
500
        mov $16,$17
501
        lda $18,64($31)
502
        stq $9,8($30)
503
        stq $26,0($30)
504
        .prologue 1
505
        ldah $9,saved_root_name($29)            !gprelhigh
506
        lda $9,saved_root_name($9)              !gprellow
507
        mov $9,$16
508
        jsr $26,($27),strncpy           !lituse_jsr!49
509
        ldah $29,0($26)          !gpdisp!50
510
        stb $31,63($9)
511
        lda $0,1($31)
512
        lda $29,0($29)           !gpdisp!50
513
        ldq $26,0($30)
514
        ldq $9,8($30)
515
        lda $30,16($30)
516
        ret $31,($26),1
517
        .end root_dev_setup
518
        .section        .init.data
519
        .type   __setup_str_root_dev_setup, @object
520
        .size   __setup_str_root_dev_setup, 6
521
__setup_str_root_dev_setup:
522
        .ascii "root=\0"
523
        .section        .init.setup
524
        .align 3
525
        .type   __setup_root_dev_setup, @object
526
        .size   __setup_root_dev_setup, 16
527
__setup_root_dev_setup:
528
        .quad   __setup_str_root_dev_setup
529
        .quad   root_dev_setup
530
        .section        .init.text
531
        .align 2
532
        .align 4
533
        .ent root_data_setup
534
root_data_setup:
535
        .frame $30,0,$26,0
536
        ldah $29,0($27)          !gpdisp!51
537
        lda $29,0($29)           !gpdisp!51
538
$root_data_setup..ng:
539
        .prologue 1
540
        ldah $1,root_mount_data($29)            !gprelhigh
541
        lda $0,1($31)
542
        stq $16,root_mount_data($1)             !gprellow
543
        ret $31,($26),1
544
        .end root_data_setup
545
        .align 2
546
        .align 4
547
        .ent fs_names_setup
548
fs_names_setup:
549
        .frame $30,0,$26,0
550
        ldah $29,0($27)          !gpdisp!52
551
        lda $29,0($29)           !gpdisp!52
552
$fs_names_setup..ng:
553
        .prologue 1
554
        ldah $1,root_fs_names($29)              !gprelhigh
555
        lda $0,1($31)
556
        stq $16,root_fs_names($1)               !gprellow
557
        ret $31,($26),1
558
        .end fs_names_setup
559
        .section        .init.data
560
        .type   __setup_str_root_data_setup, @object
561
        .size   __setup_str_root_data_setup, 11
562
__setup_str_root_data_setup:
563
        .ascii "rootflags=\0"
564
        .section        .init.setup
565
        .align 3
566
        .type   __setup_root_data_setup, @object
567
        .size   __setup_root_data_setup, 16
568
__setup_root_data_setup:
569
        .quad   __setup_str_root_data_setup
570
        .quad   root_data_setup
571
        .section        .init.data
572
        .type   __setup_str_fs_names_setup, @object
573
        .size   __setup_str_fs_names_setup, 12
574
__setup_str_fs_names_setup:
575
        .ascii "rootfstype=\0"
576
        .section        .init.setup
577
        .align 3
578
        .type   __setup_fs_names_setup, @object
579
        .size   __setup_fs_names_setup, 16
580
__setup_fs_names_setup:
581
        .quad   __setup_str_fs_names_setup
582
        .quad   fs_names_setup
583
        .section        .init.text
584
        .align 2
585
        .align 4
586
        .ent get_fs_names
587
get_fs_names:
588
        .frame $30,32,$26,0
589
        .mask 0x4000600,-32
590
        ldah $29,0($27)          !gpdisp!53
591
        lda $29,0($29)           !gpdisp!53
592
$get_fs_names..ng:
593
        ldah $1,root_fs_names($29)              !gprelhigh
594
        lda $30,-32($30)
595
        ldq $17,root_fs_names($1)               !gprellow
596
        stq $10,16($30)
597
        mov $16,$10
598
        stq $26,0($30)
599
        stq $9,8($30)
600
        .prologue 1
601
        beq $17,$L226
602
        ldq $27,strcpy($29)             !literal!58
603
        jsr $26,($27),strcpy            !lituse_jsr!58
604
        ldah $29,0($26)          !gpdisp!59
605
        ldbu $1,0($10)
606
        lda $29,0($29)           !gpdisp!59
607
        lda $10,1($10)
608
        beq $1,$L232
609
        .align 4
610
$L231:
611
        ldbu $1,-1($10)
612
        cmpeq $1,44,$1
613
        bne $1,$L245
614
$L227:
615
        ldbu $1,0($10)
616
        lda $10,1($10)
617
        bne $1,$L231
618
        .align 4
619
$L232:
620
        stb $31,0($10)
621
        ldq $26,0($30)
622
        ldq $9,8($30)
623
        ldq $10,16($30)
624
        lda $30,32($30)
625
        ret $31,($26),1
626
        .align 4
627
$L245:
628
        stb $31,-1($10)
629
        br $31,$L227
630
$L226:
631
        ldq $27,get_filesystem_list($29)                !literal!56
632
        jsr $26,($27),get_filesystem_list               !lituse_jsr!56
633
        ldah $29,0($26)          !gpdisp!57
634
        addq $10,$0,$0
635
        lda $9,-1($10)
636
        lda $29,0($29)           !gpdisp!57
637
        stb $31,0($0)
638
        beq $9,$L232
639
        .align 4
640
$L241:
641
        ldq $27,strchr($29)             !literal!54
642
        lda $9,1($9)
643
        lda $17,10($31)
644
        mov $9,$16
645
        jsr $26,($27),strchr            !lituse_jsr!54
646
        ldah $29,0($26)          !gpdisp!55
647
        ldbu $1,0($9)
648
        lda $29,0($29)           !gpdisp!55
649
        lda $9,1($9)
650
        cmpeq $1,9,$1
651
        bne $1,$L238
652
$L235:
653
        mov $0,$9
654
        bne $0,$L241
655
        br $31,$L232
656
        .align 4
657
$L238:
658
        ldbu $1,0($9)
659
        lda $9,1($9)
660
        cmpeq $1,10,$2
661
        stb $1,0($10)
662
        lda $10,1($10)
663
        beq $2,$L238
664
        stb $31,-1($10)
665
        br $31,$L235
666
        .end get_fs_names
667
        .section        .rodata.str1.1
668
$LC7:
669
        .ascii "/root\0"
670
$LC8:
671
        .ascii "VFS: Cannot open root device \"%s\" or %s\12\0"
672
$LC9:
673
        .ascii "Please append a correct \"root=\" boot option\12\0"
674
$LC10:
675
        .ascii "VFS: Unable to mount root fs on %s\0"
676
$LC12:
677
        .ascii " readonly\0"
678
$LC13:
679
        .ascii "\0"
680
$LC11:
681
        .ascii "VFS: Mounted root (%s filesystem)%s.\12\0"
682
        .section        .init.text
683
        .align 2
684
        .align 4
685
        .ent mount_block_root
686
mount_block_root:
687
        .frame $30,64,$26,0
688
        .mask 0x400fe00,-64
689
        ldah $29,0($27)          !gpdisp!60
690
        lda $29,0($29)           !gpdisp!60
691
$mount_block_root..ng:
692
        ldq $1,names_cachep($29)                !literal
693
        lda $30,-64($30)
694
        ldq $27,kmem_cache_alloc($29)           !literal!82
695
        stq $12,32($30)
696
        stq $11,24($30)
697
        mov $16,$12
698
        mov $17,$11
699
        stq $26,0($30)
700
        stq $9,8($30)
701
        lda $17,464($31)
702
        ldq $16,0($1)
703
        stq $10,16($30)
704
        stq $13,40($30)
705
        stq $14,48($30)
706
        stq $15,56($30)
707
        .prologue 1
708
        jsr $26,($27),kmem_cache_alloc          !lituse_jsr!82
709
        ldah $29,0($26)          !gpdisp!83
710
        lda $29,0($29)           !gpdisp!83
711
        mov $0,$16
712
        mov $0,$10
713
        bsr $26,get_fs_names            !samegp
714
$L247:
715
        ldbu $1,0($10)
716
        mov $10,$9
717
        beq $1,$L267
718
        ldah $1,$LC7($29)               !gprelhigh
719
        ldah $13,root_mount_data($29)           !gprelhigh
720
        ldq $15,ROOT_DEV($29)           !literal
721
        lda $14,$LC7($1)                !gprellow
722
$L262:
723
        ldq $20,root_mount_data($13)            !gprellow
724
        ldq $27,sys_mount($29)          !literal!80
725
        mov $9,$18
726
        mov $12,$16
727
        mov $14,$17
728
        mov $11,$19
729
        jsr $26,($27),sys_mount         !lituse_jsr!80
730
        ldah $29,0($26)          !gpdisp!81
731
        addl $31,$0,$0
732
        lda $29,0($29)           !gpdisp!81
733
        mov $9,$16
734
        lda $1,13($0)
735
        lda $2,22($0)
736
        beq $1,$L255
737
        bgt $1,$L259
738
        beq $2,$L250
739
$L252:
740
        ldl $1,0($15)
741
        ldq $27,kdevname($29)           !literal!78
742
        bis $31,$1,$16
743
        jsr $26,($27),kdevname          !lituse_jsr!78
744
        ldah $29,0($26)          !gpdisp!79
745
        lda $29,0($29)           !gpdisp!79
746
        mov $0,$18
747
        ldq $27,printk($29)             !literal!76
748
        ldah $17,root_device_name($29)          !gprelhigh
749
        ldah $16,$LC8($29)              !gprelhigh
750
        lda $17,root_device_name($17)           !gprellow
751
        lda $16,$LC8($16)               !gprellow
752
        jsr $26,($27),printk            !lituse_jsr!76
753
        ldah $29,0($26)          !gpdisp!77
754
        lda $29,0($29)           !gpdisp!77
755
        ldq $27,printk($29)             !literal!74
756
        ldah $16,$LC9($29)              !gprelhigh
757
        lda $16,$LC9($16)               !gprellow
758
        jsr $26,($27),printk            !lituse_jsr!74
759
        ldah $29,0($26)          !gpdisp!75
760
        lda $29,0($29)           !gpdisp!75
761
        ldl $1,0($15)
762
        ldq $27,kdevname($29)           !literal!72
763
        bis $31,$1,$16
764
        jsr $26,($27),kdevname          !lituse_jsr!72
765
        ldah $29,0($26)          !gpdisp!73
766
        lda $29,0($29)           !gpdisp!73
767
$L269:
768
        mov $0,$17
769
        ldah $16,$LC10($29)             !gprelhigh
770
        lda $16,$LC10($16)              !gprellow
771
        ldq $27,panic($29)              !literal!67
772
        jsr $26,($27),panic             !lituse_jsr!67
773
        .align 4
774
$L250:
775
        ldq $27,strlen($29)             !literal!70
776
        jsr $26,($27),strlen            !lituse_jsr!70
777
        ldah $29,0($26)          !gpdisp!71
778
        addq $9,$0,$0
779
        lda $29,0($29)           !gpdisp!71
780
        ldbu $1,1($0)
781
        lda $9,1($0)
782
        bne $1,$L262
783
$L267:
784
        ldq $1,ROOT_DEV($29)            !literal
785
        ldq $27,kdevname($29)           !literal!68
786
        ldl $2,0($1)
787
        bis $31,$2,$16
788
        jsr $26,($27),kdevname          !lituse_jsr!68
789
        ldah $29,0($26)          !gpdisp!69
790
        lda $29,0($29)           !gpdisp!69
791
        br $31,$L269
792
$L259:
793
        bne $0,$L252
794
$L254:
795
        ldq $1,names_cachep($29)                !literal
796
        ldq $27,kmem_cache_free($29)            !literal!65
797
        mov $10,$17
798
        ldq $16,0($1)
799
        jsr $26,($27),kmem_cache_free           !lituse_jsr!65
800
        ldah $29,0($26)          !gpdisp!66
801
        lda $29,0($29)           !gpdisp!66
802
        mov $14,$16
803
        ldq $27,sys_chdir($29)          !literal!63
804
        jsr $26,($27),sys_chdir         !lituse_jsr!63
805
        ldah $29,0($26)          !gpdisp!64
806
        ldq $4,64($8)
807
        lda $29,0($29)           !gpdisp!64
808
        ldah $1,$LC12($29)              !gprelhigh
809
        lda $18,$LC12($1)               !gprellow
810
        ldq $2,1264($4)
811
        ldq $3,40($2)
812
        ldq $2,ROOT_DEV($29)            !literal
813
        ldq $1,40($3)
814
        ldl $3,16($1)
815
        ldq $4,56($1)
816
        ldq $5,96($1)
817
        stl $3,0($2)
818
        ldq $17,0($4)
819
        blbs $5,$L265
820
        ldah $1,$LC13($29)              !gprelhigh
821
        lda $18,$LC13($1)               !gprellow
822
$L265:
823
        ldq $27,printk($29)             !literal!61
824
        ldah $16,$LC11($29)             !gprelhigh
825
        lda $16,$LC11($16)              !gprellow
826
        jsr $26,($27),printk            !lituse_jsr!61
827
        ldah $29,0($26)          !gpdisp!62
828
        ldq $26,0($30)
829
        ldq $9,8($30)
830
        lda $29,0($29)           !gpdisp!62
831
        ldq $10,16($30)
832
        ldq $11,24($30)
833
        ldq $12,32($30)
834
        ldq $13,40($30)
835
        ldq $14,48($30)
836
        ldq $15,56($30)
837
        lda $30,64($30)
838
        ret $31,($26),1
839
$L255:
840
        bis $11,1,$11
841
        br $31,$L247
842
        .end mount_block_root
843
        .align 2
844
        .align 4
845
        .ent create_dev
846
create_dev:
847
        .frame $30,96,$26,0
848
        .mask 0x4000600,-96
849
        ldah $29,0($27)          !gpdisp!84
850
        lda $29,0($29)           !gpdisp!84
851
$create_dev..ng:
852
        ldq $27,sys_unlink($29)         !literal!87
853
        lda $30,-96($30)
854
        stq $9,8($30)
855
        stq $10,16($30)
856
        mov $16,$9
857
        mov $17,$10
858
        stq $26,0($30)
859
        .prologue 1
860
        jsr $26,($27),sys_unlink                !lituse_jsr!87
861
        ldah $29,0($26)          !gpdisp!88
862
        lda $29,0($29)           !gpdisp!88
863
        lda $0,-1($31)
864
        mov $9,$16
865
        mov $10,$18
866
        ldl $1,do_devfs($29)            !gprel
867
        lda $17,24960($31)
868
        beq $1,$L280
869
$L270:
870
        ldq $26,0($30)
871
        ldq $9,8($30)
872
        ldq $10,16($30)
873
        lda $30,96($30)
874
        ret $31,($26),1
875
        .align 4
876
$L280:
877
        ldq $27,sys_mknod($29)          !literal!85
878
        jsr $26,($27),sys_mknod         !lituse_jsr!85
879
        ldah $29,0($26)          !gpdisp!86
880
        lda $29,0($29)           !gpdisp!86
881
        addl $31,$0,$0
882
        br $31,$L270
883
        .end create_dev
884
        .align 2
885
        .align 4
886
        .ent rd_load_image
887
$rd_load_image..ng:
888
rd_load_image:
889
        .frame $30,0,$26,0
890
        .prologue 0
891
        mov $31,$0
892
        ret $31,($26),1
893
        .end rd_load_image
894
        .section        .rodata.str1.1
895
$LC14:
896
        .ascii "/dev/root\0"
897
        .section        .init.text
898
        .align 2
899
        .align 4
900
        .ent rd_load_disk
901
rd_load_disk:
902
        .frame $30,0,$26,0
903
        ldah $29,0($27)          !gpdisp!89
904
        lda $29,0($29)           !gpdisp!89
905
$rd_load_disk..ng:
906
        .prologue 1
907
        ldah $16,$LC14($29)             !gprelhigh
908
        lda $16,$LC14($16)              !gprellow
909
        br $31,rd_load_image            !samegp
910
        .end rd_load_disk
911
        .align 2
912
        .align 4
913
        .ent mount_root
914
mount_root:
915
        .frame $30,16,$26,0
916
        .mask 0x4000200,-16
917
        ldah $29,0($27)          !gpdisp!90
918
        lda $29,0($29)           !gpdisp!90
919
$mount_root..ng:
920
        ldq $1,ROOT_DEV($29)            !literal
921
        lda $30,-16($30)
922
        ldah $18,root_device_name($29)          !gprelhigh
923
        stq $9,8($30)
924
        lda $18,root_device_name($18)           !gprellow
925
        stq $26,0($30)
926
        .prologue 1
927
        ldah $9,$LC14($29)              !gprelhigh
928
        lda $9,$LC14($9)                !gprellow
929
        ldl $17,0($1)
930
        mov $9,$16
931
        bsr $26,create_dev              !samegp
932
        ldq $26,0($30)
933
        mov $9,$16
934
        ldl $17,root_mountflags($29)            !gprel
935
        ldq $9,8($30)
936
        lda $30,16($30)
937
        br $31,mount_block_root         !samegp
938
        .end mount_root
939
        .align 2
940
        .align 4
941
        .ent handle_initrd
942
$handle_initrd..ng:
943
handle_initrd:
944
        .frame $30,0,$26,0
945
        .prologue 0
946
        ret $31,($26),1
947
        .end handle_initrd
948
        .section        .rodata.str1.1
949
$LC15:
950
        .ascii "/dev/initrd\0"
951
        .section        .init.text
952
        .align 2
953
        .align 4
954
        .ent initrd_load
955
initrd_load:
956
        .frame $30,0,$26,0
957
        ldah $29,0($27)          !gpdisp!91
958
        lda $29,0($29)           !gpdisp!91
959
$initrd_load..ng:
960
        .prologue 1
961
        ldah $16,$LC15($29)             !gprelhigh
962
        lda $16,$LC15($16)              !gprellow
963
        br $31,rd_load_image            !samegp
964
        .end initrd_load
965
        .section        .rodata.str1.1
966
$LC16:
967
        .ascii "/dev\0"
968
$LC17:
969
        .ascii ".\0"
970
$LC18:
971
        .ascii "/\0"
972
        .text
973
        .align 2
974
        .align 4
975
        .globl prepare_namespace
976
        .ent prepare_namespace
977
prepare_namespace:
978
        .frame $30,32,$26,0
979
        .mask 0x4000e00,-32
980
        ldah $29,0($27)          !gpdisp!92
981
        lda $29,0($29)           !gpdisp!92
982
$prepare_namespace..ng:
983
        lda $30,-32($30)
984
        stq $10,16($30)
985
        stq $9,8($30)
986
        ldah $9,saved_root_name($29)            !gprelhigh
987
        ldq $10,ROOT_DEV($29)           !literal
988
        stq $11,24($30)
989
        stq $26,0($30)
990
        .prologue 1
991
        ldbu $2,saved_root_name($9)             !gprellow
992
        ldl $1,0($10)
993
        zapnot $1,15,$1
994
        srl $1,8,$1
995
        cmpeq $1,2,$11
996
        bne $2,$L296
997
$L287:
998
        ldl $17,0($10)
999
        ldah $16,$LC14($29)             !gprelhigh
1000
        mov $31,$18
1001
        lda $16,$LC14($16)              !gprellow
1002
        bsr $26,create_dev              !samegp
1003
        ldah $1,mount_initrd($29)               !gprelhigh
1004
        ldl $2,mount_initrd($1)         !gprellow
1005
        beq $2,$L290
1006
        bsr $26,initrd_load             !samegp
1007
        beq $0,$L293
1008
        ldl $1,0($10)
1009
        lda $1,-256($1)
1010
        bne $1,$L297
1011
        .align 4
1012
$L293:
1013
        bsr $26,mount_root              !samegp
1014
$L292:
1015
        ldq $27,sys_umount($29)         !literal!98
1016
        ldah $16,$LC16($29)             !gprelhigh
1017
        mov $31,$17
1018
        lda $16,$LC16($16)              !gprellow
1019
        jsr $26,($27),sys_umount                !lituse_jsr!98
1020
        ldah $29,0($26)          !gpdisp!99
1021
        lda $29,0($29)           !gpdisp!99
1022
        mov $31,$18
1023
        lda $19,8192($31)
1024
        mov $31,$20
1025
        ldah $9,$LC17($29)              !gprelhigh
1026
        ldq $27,sys_mount($29)          !literal!96
1027
        ldah $17,$LC18($29)             !gprelhigh
1028
        lda $9,$LC17($9)                !gprellow
1029
        lda $17,$LC18($17)              !gprellow
1030
        mov $9,$16
1031
        jsr $26,($27),sys_mount         !lituse_jsr!96
1032
        ldah $29,0($26)          !gpdisp!97
1033
        lda $29,0($29)           !gpdisp!97
1034
        mov $9,$16
1035
        ldq $27,sys_chroot($29)         !literal!94
1036
        jsr $26,($27),sys_chroot                !lituse_jsr!94
1037
        ldah $29,0($26)          !gpdisp!95
1038
        lda $29,0($29)           !gpdisp!95
1039
        ldq $1,security_ops($29)                !literal
1040
        ldq $2,0($1)
1041
        ldq $27,184($2)
1042
        jsr $26,($27),0
1043
        ldah $29,0($26)          !gpdisp!93
1044
        ldq $26,0($30)
1045
        ldq $9,8($30)
1046
        lda $29,0($29)           !gpdisp!93
1047
        ldq $10,16($30)
1048
        ldq $11,24($30)
1049
        lda $30,32($30)
1050
        ret $31,($26),1
1051
$L297:
1052
        bsr $26,handle_initrd           !samegp
1053
        br $31,$L292
1054
        .align 4
1055
$L290:
1056
        beq $11,$L293
1057
        ldah $1,rd_doload($29)          !gprelhigh
1058
        ldl $2,rd_doload($1)            !gprellow
1059
        beq $2,$L293
1060
        mov $31,$16
1061
        bsr $26,rd_load_disk            !samegp
1062
        beq $0,$L293
1063
        lda $1,256($31)
1064
        stl $1,0($10)
1065
        br $31,$L293
1066
        .align 4
1067
$L296:
1068
        lda $9,saved_root_name($9)              !gprellow
1069
        mov $9,$16
1070
        bsr $26,name_to_dev_t           !samegp
1071
        mov $9,$16
1072
        ldq $27,memcmp($29)             !literal!102
1073
        ldah $17,$LC5($29)              !gprelhigh
1074
        stl $0,0($10)
1075
        lda $18,5($31)
1076
        lda $17,$LC5($17)               !gprellow
1077
        jsr $26,($27),memcmp            !lituse_jsr!102
1078
        ldah $29,0($26)          !gpdisp!103
1079
        lda $29,0($29)           !gpdisp!103
1080
        lda $1,5($9)
1081
        cmoveq $0,$1,$9
1082
        ldq $27,strcpy($29)             !literal!100
1083
        ldah $16,root_device_name($29)          !gprelhigh
1084
        lda $16,root_device_name($16)           !gprellow
1085
        mov $9,$17
1086
        jsr $26,($27),strcpy            !lituse_jsr!100
1087
        ldah $29,0($26)          !gpdisp!101
1088
        lda $29,0($29)           !gpdisp!101
1089
        br $31,$L287
1090
        .end prepare_namespace
1091
        .comm   ROOT_DEV,4,4
1092
        .globl rd_doload
1093
        .section        .init.data
1094
        .align 2
1095
        .type   rd_doload, @object
1096
        .size   rd_doload, 4
1097
rd_doload:
1098
        .zero   4
1099
        .section        .bss
1100
        .type   root_device_name, @object
1101
        .size   root_device_name, 64
1102
root_device_name:
1103
        .zero   64
1104
        .type   saved_root_name, @object
1105
        .size   saved_root_name, 64
1106
saved_root_name:
1107
        .zero   64
1108
        .section        .init.data
1109
        .align 3
1110
        .type   root_mount_data, @object
1111
        .size   root_mount_data, 8
1112
root_mount_data:
1113
        .zero   8
1114
        .align 3
1115
        .type   root_fs_names, @object
1116
        .size   root_fs_names, 8
1117
root_fs_names:
1118
        .zero   8
1119
        .ident  "GCC: (GNU) 3.3 20021103 (experimental)"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.