mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
58022571ba
* 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"
18 lines
372 B
C
18 lines
372 B
C
// COMPILE-FLAGS: -O2
|
|
// ASMP-FLAGS: --convert-statics=global-with-filename --force
|
|
static int xtext(int a, int b, int c);
|
|
const int rodata1[] = {1};
|
|
static const int rodata2[] = {2};
|
|
int data1[] = {3};
|
|
static int data2[] = {4};
|
|
int bss1;
|
|
static int bss2;
|
|
|
|
static int xtext(int a, int b, int c) {
|
|
return 1;
|
|
}
|
|
|
|
void baz(void) {
|
|
xtext(bss2, rodata2[0], data2[0]);
|
|
}
|