mirror of
https://github.com/opnsense/src.git
synced 2026-07-15 20:13:02 -04:00
Place the literal pool after a RET otherwise clang 3.5 tries to put it too
far away from a ldr psuedo instruction. With this clang will place the literal value here where it's close enough to be loaded. MFC after: 1 week Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
89636bddf6
commit
ef477cd70b
1 changed files with 2 additions and 0 deletions
|
|
@ -1364,6 +1364,8 @@ ENTRY(memcpy)
|
|||
strbge r2, [r3], #0x01
|
||||
strbgt ip, [r3]
|
||||
RET
|
||||
/* Place a literal pool here for the above ldr instructions to use */
|
||||
.ltorg
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue