Browse Source

Don't indent the .globl marker

It doesn't need to be, although I'm not sure what "needs" to be how and
stuff.  For example, I think there "should" be a .text section, but it
doesn't seem to be required.
Lucas Stadler 8 years ago
parent
commit
1506ecad4a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scm/inc/compiler.scm

+ 2 - 1
scm/inc/compiler.scm

@ -4,8 +4,9 @@
4 4
  (display "\n"))
5 5
6 6
(define (compile-program x)
7
  (display "\t.globl scheme_entry\n\n")
7
  (display ".globl scheme_entry\n\n")
8 8
  (display "scheme_entry:\n")
9
9 10
  (emit "movl $~a, %eax" x)
10 11
  (emit "ret"))
11 12