File: highmove.S

package info (click to toggle)
wraplinux 1.7-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 424 kB
  • sloc: ansic: 1,552; asm: 427; perl: 155; sh: 152; makefile: 88
file content (23 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * All this does is it wraps highmove/highmove.bin in a .o file.
 * This could also be done with a binary-to-C converter.
 */

		.data
		.balign 4
		.globl	highmove_size
highmove_size:
		.long	.L_highmove_end-highmove
		.size	highmove_size, 4

		.globl	highmove
highmove:
		.incbin "highmove/highmove.bin"
		.size	highmove,.-highmove
.L_highmove_end:

/*
 * This is necessary to keep the whole executable
 * from needing a writable stack.
 */
		.section        .note.GNU-stack,"",@progbits