mm/tools/asm-processor/tests/late_rodata_misaligned_doubles.c
Anghelo Carvajal 58022571ba
subrepo asm-processor (#1212)
* yeet

* git subrepo clone git@github.com:simonlindholm/asm-processor.git tools/asm-processor

subrepo:
  subdir:   "tools/asm-processor"
  merged:   "bbd86ea1f"
upstream:
  origin:   "git@github.com:simonlindholm/asm-processor.git"
  branch:   "main"
  commit:   "bbd86ea1f"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"
2023-03-17 15:16:30 +11:00

78 lines
712 B
C

GLOBAL_ASM(
.late_rodata
.float 4.01
.word 0
.double 4.02
.text
glabel a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
)
double foo(void) { return 4.03; }
GLOBAL_ASM(
.late_rodata
.float 4.04
.double 4.05
.text
glabel b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
)
double bar(void) { return 4.06; }
float baz(void) { return 4.07f; }
GLOBAL_ASM(
.late_rodata
.double 4.08
.text
glabel c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
)