ARM: Use architecture-dependent branch encoding for function calls.

* module/mescc/armv4/as.scm (armv4:call-label): Use architecture-dependent
branch encoding.
This commit is contained in:
Danny Milosavljevic 2019-02-19 11:32:05 +01:00 committed by Jan Nieuwenhuizen
parent 7b2605b347
commit 59f22c5b86
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
`((,(string-append "add____%" r1 ",%" r0)))))
(define (armv4:call-label info label n)
`((bl (#:offset2 ,label))
`(((#:offset3 ,label) bl)
("add____$i8,%esp" (#:immediate1 ,(* n 4)))))
(define (armv4:r->arg info i)