Browse Source

Prevent hundreds of errors from "make symcheck". The prefix exit path

mechanism has changed anyway, and so must be rewritten, but at least doing
this makes the output of "make symcheck" more legible.
tags/v0.9.3
Michael Brown 19 years ago
parent
commit
698f86f25a

+ 0
- 3
src/arch/i386/prefix/bImageprefix.S View File

87
 	.arch i386
87
 	.arch i386
88
 	.org	0
88
 	.org	0
89
 	.section ".prefix", "ax", @progbits
89
 	.section ".prefix", "ax", @progbits
90
-	.globl	_prefix
91
 _prefix:
90
 _prefix:
92
 
91
 
93
 /* 
92
 /* 
572
 	.long	bImage_gdt_48 - setup_code	# gdt base (filled in later)
571
 	.long	bImage_gdt_48 - setup_code	# gdt base (filled in later)
573
 
572
 
574
 	.section ".text16", "ax", @progbits
573
 	.section ".text16", "ax", @progbits
575
-	.globl	prefix_exit
576
 prefix_exit:
574
 prefix_exit:
577
 	int	$0x19		/* should try to boot machine */
575
 	int	$0x19		/* should try to boot machine */
578
-	.globl	prefix_exit_end
579
 prefix_exit_end:
576
 prefix_exit_end:
580
 	.previous
577
 	.previous
581
 	
578
 	

+ 0
- 3
src/arch/i386/prefix/comprefix.S View File

12
 	.code16
12
 	.code16
13
 	.arch i386
13
 	.arch i386
14
 	.section ".prefix", "ax", @progbits
14
 	.section ".prefix", "ax", @progbits
15
-	.globl _prefix
16
 
15
 
17
 /* Cheat a little with the relocations: .COM files are loaded at 0x100 */
16
 /* Cheat a little with the relocations: .COM files are loaded at 0x100 */
18
 _prefix:
17
 _prefix:
34
 	lret
33
 	lret
35
 
34
 
36
 	.section ".text16", "ax", @progbits
35
 	.section ".text16", "ax", @progbits
37
-	.globl	prefix_exit
38
 prefix_exit:
36
 prefix_exit:
39
 	movw	$0x4c00,%ax		/* return to DOS */
37
 	movw	$0x4c00,%ax		/* return to DOS */
40
 	int	$0x21			/* reach this on Quit */
38
 	int	$0x21			/* reach this on Quit */
41
-	.globl	prefix_exit_end
42
 prefix_exit_end:
39
 prefix_exit_end:
43
 	.previous
40
 	.previous
44
 
41
 

+ 0
- 2
src/arch/i386/prefix/elf_dprefix.S View File

88
 
88
 
89
 	/* Dummy routines to satisfy the build */
89
 	/* Dummy routines to satisfy the build */
90
 	.section ".text16", "ax", @progbits
90
 	.section ".text16", "ax", @progbits
91
-	.globl	prefix_exit
92
 prefix_exit:
91
 prefix_exit:
93
 
92
 
94
-	.globl	prefix_exit_end
95
 prefix_exit_end:
93
 prefix_exit_end:
96
 	.previous
94
 	.previous

+ 0
- 2
src/arch/i386/prefix/elfprefix.S View File

88
 
88
 
89
 	/* Dummy routines to satisfy the build */
89
 	/* Dummy routines to satisfy the build */
90
 	.section ".text16", "ax", @progbits
90
 	.section ".text16", "ax", @progbits
91
-	.globl	prefix_exit
92
 prefix_exit:
91
 prefix_exit:
93
 
92
 
94
-	.globl	prefix_exit_end
95
 prefix_exit_end:
93
 prefix_exit_end:
96
 	.previous
94
 	.previous

+ 0
- 3
src/arch/i386/prefix/exeprefix.S View File

8
 	.code16
8
 	.code16
9
 	.arch i386
9
 	.arch i386
10
 	.section	".prefix", "ax", @progbits
10
 	.section	".prefix", "ax", @progbits
11
-	.globl	_prefix
12
 
11
 
13
 _prefix:
12
 _prefix:
14
 	.byte	'M', 'Z'
13
 	.byte	'M', 'Z'
29
 	.short	0				/* fill */
28
 	.short	0				/* fill */
30
 
29
 
31
 	.section ".text16", "ax", @progbits
30
 	.section ".text16", "ax", @progbits
32
-	.globl	prefix_exit
33
 prefix_exit:
31
 prefix_exit:
34
 	movw	$0x4c00,%ax		/* return to DOS */
32
 	movw	$0x4c00,%ax		/* return to DOS */
35
 	int	$0x21			/* reach this on Quit */
33
 	int	$0x21			/* reach this on Quit */
36
-	.globl	prefix_exit_end
37
 prefix_exit_end:
34
 prefix_exit_end:
38
 	.previous
35
 	.previous
39
 
36
 

+ 0
- 3
src/arch/i386/prefix/liloprefix.S View File

50
 	.arch i386
50
 	.arch i386
51
 	.org	0
51
 	.org	0
52
 	.section ".prefix", "ax", @progbits
52
 	.section ".prefix", "ax", @progbits
53
-	.globl	_prefix
54
 _prefix:
53
 _prefix:
55
 
54
 
56
 /* 
55
 /* 
128
 	ljmp	$(SYSSEG-(PREFIXSIZE/16)), $_start
127
 	ljmp	$(SYSSEG-(PREFIXSIZE/16)), $_start
129
 
128
 
130
 	.section ".text16", "ax", @progbits
129
 	.section ".text16", "ax", @progbits
131
-	.globl	prefix_exit
132
 prefix_exit:
130
 prefix_exit:
133
 	int	$0x19		/* should try to boot machine */
131
 	int	$0x19		/* should try to boot machine */
134
-	.globl	prefix_exit_end
135
 prefix_exit_end:
132
 prefix_exit_end:
136
 	.previous
133
 	.previous
137
 	
134
 	

+ 0
- 2
src/arch/i386/prefix/lmelf_dprefix.S View File

155
 
155
 
156
 	/* Dummy routines to satisfy the build */
156
 	/* Dummy routines to satisfy the build */
157
 	.section ".text16", "ax", @progbits
157
 	.section ".text16", "ax", @progbits
158
-	.globl	prefix_exit
159
 prefix_exit:
158
 prefix_exit:
160
 
159
 
161
-	.globl	prefix_exit_end
162
 prefix_exit_end:
160
 prefix_exit_end:
163
 	.previous
161
 	.previous

+ 0
- 2
src/arch/i386/prefix/lmelf_prefix.S View File

155
 
155
 
156
 	/* Dummy routines to satisfy the build */
156
 	/* Dummy routines to satisfy the build */
157
 	.section ".text16", "ax", @progbits
157
 	.section ".text16", "ax", @progbits
158
-	.globl	prefix_exit
159
 prefix_exit:
158
 prefix_exit:
160
 
159
 
161
-	.globl	prefix_exit_end
162
 prefix_exit_end:
160
 prefix_exit_end:
163
 	.previous
161
 	.previous

+ 0
- 3
src/arch/i386/prefix/nullprefix.S View File

4
 
4
 
5
 	.section ".prefix", "ax", @progbits
5
 	.section ".prefix", "ax", @progbits
6
 	.code16
6
 	.code16
7
-	.globl	_prefix
8
 _prefix:
7
 _prefix:
9
 
8
 
10
 	.section ".text16", "ax", @progbits
9
 	.section ".text16", "ax", @progbits
11
-	.globl	prefix_exit
12
 prefix_exit:
10
 prefix_exit:
13
 
11
 
14
-	.globl	prefix_exit_end
15
 prefix_exit_end:
12
 prefix_exit_end:
16
 	.previous
13
 	.previous

+ 0
- 3
src/arch/i386/prefix/pxeprefix.S View File

18
 	.arch i386
18
 	.arch i386
19
 	.org 0
19
 	.org 0
20
 	.section ".prefix", "ax", @progbits
20
 	.section ".prefix", "ax", @progbits
21
-	.globl _prefix
22
 /*****************************************************************************
21
 /*****************************************************************************
23
  * Entry point:	set cs, ds, bp, print welcome message
22
  * Entry point:	set cs, ds, bp, print welcome message
24
  *****************************************************************************
23
  *****************************************************************************
237
 	jmp	_start			/* Run Etherboot */
236
 	jmp	_start			/* Run Etherboot */
238
 
237
 
239
 	.section ".text16", "ax", @progbits
238
 	.section ".text16", "ax", @progbits
240
-	.globl	prefix_exit
241
 prefix_exit:
239
 prefix_exit:
242
 	pushw	%cs			/* Set %ds, %bp for access to text */
240
 	pushw	%cs			/* Set %ds, %bp for access to text */
243
 	popw	%ds
241
 	popw	%ds
273
 	int	$0x10
271
 	int	$0x10
274
 	jmp	1b
272
 	jmp	1b
275
 2:	ret
273
 2:	ret
276
-	.globl	prefix_exit_end
277
 prefix_exit_end:
274
 prefix_exit_end:
278
 	.previous
275
 	.previous
279
 
276
 

+ 0
- 3
src/arch/i386/prefix/romprefix.S View File

43
 	.arch i386
43
 	.arch i386
44
 	.org 0
44
 	.org 0
45
 	.section ".prefix", "ax", @progbits
45
 	.section ".prefix", "ax", @progbits
46
-	.globl _prefix
47
 _prefix: 
46
 _prefix: 
48
 	.word 0xAA55			/* BIOS extension signature */
47
 	.word 0xAA55			/* BIOS extension signature */
49
 size:	.byte 0				/* number of 512 byte blocks */
48
 size:	.byte 0				/* number of 512 byte blocks */
254
 	
253
 	
255
 
254
 
256
 	.section ".text16", "ax", @progbits
255
 	.section ".text16", "ax", @progbits
257
-	.globl	prefix_exit
258
 prefix_exit:
256
 prefix_exit:
259
 	popw	%ax			/* padding */
257
 	popw	%ax			/* padding */
260
 	popw	%ax			/* %ax = exit code */
258
 	popw	%ax			/* %ax = exit code */
269
 	int	$BOOT_INT		/* Try original vector */
267
 	int	$BOOT_INT		/* Try original vector */
270
 2:	/* Exit via int $0x18 */
268
 2:	/* Exit via int $0x18 */
271
 	int	$0x18			/* As per BIOS Boot Spec, next dev */
269
 	int	$0x18			/* As per BIOS Boot Spec, next dev */
272
-	.globl	prefix_exit_end
273
 prefix_exit_end:
270
 prefix_exit_end:
274
 	.previous
271
 	.previous
275
 
272
 

Loading…
Cancel
Save