Quellcode durchsuchen

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 vor 19 Jahren
Ursprung
Commit
698f86f25a

+ 0
- 3
src/arch/i386/prefix/bImageprefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/comprefix.S Datei anzeigen

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

+ 0
- 2
src/arch/i386/prefix/elf_dprefix.S Datei anzeigen

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

+ 0
- 2
src/arch/i386/prefix/elfprefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/exeprefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/liloprefix.S Datei anzeigen

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

+ 0
- 2
src/arch/i386/prefix/lmelf_dprefix.S Datei anzeigen

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

+ 0
- 2
src/arch/i386/prefix/lmelf_prefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/nullprefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/pxeprefix.S Datei anzeigen

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

+ 0
- 3
src/arch/i386/prefix/romprefix.S Datei anzeigen

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

Laden…
Abbrechen
Speichern