summaryrefslogtreecommitdiff
path: root/tools/asm-processor/tests
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-09-08 03:17:54 -0700
committerGitHub <noreply@github.com>2023-09-08 20:17:54 +1000
commitc8304925da305f5d8fa43fc4ca93f95afd36bcab (patch)
tree20484e4f173112001523d851bedceab8d9cfad2e /tools/asm-processor/tests
parent4fa13e4132cf8adb2f07bb34927e62e525c8cc79 (diff)
Subrepo Updates (#1368)
* git subrepo pull --force tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "fed1e3ddb" upstream: origin: "git@github.com:simonlindholm/asm-processor.git" branch: "main" commit: "fed1e3ddb" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb" * git subrepo pull tools/asm-differ subrepo: subdir: "tools/asm-differ" merged: "4ed847317" upstream: origin: "https://github.com/simonlindholm/asm-differ" branch: "main" commit: "4ed847317" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb" * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "7f398831f" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "7f398831f" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb" * git subrepo pull (merge) --force tools/fado subrepo: subdir: "tools/fado" merged: "8ce048376" upstream: origin: "git@github.com:EllipticEllipsis/fado.git" branch: "master" commit: "8ce048376" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb"
Diffstat (limited to 'tools/asm-processor/tests')
-rw-r--r--tools/asm-processor/tests/static-global.c2
-rw-r--r--tools/asm-processor/tests/static-global.objdump2
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/asm-processor/tests/static-global.c b/tools/asm-processor/tests/static-global.c
index a7f616907..12b143462 100644
--- a/tools/asm-processor/tests/static-global.c
+++ b/tools/asm-processor/tests/static-global.c
@@ -25,9 +25,11 @@ nop
)
static int xtext(int a, int b, int c) {
+ static int bss2;
return 1;
}
void baz(void) {
+ { static int bss2; }
xtext(bss2, rodata2[0], data2[0]);
}
diff --git a/tools/asm-processor/tests/static-global.objdump b/tools/asm-processor/tests/static-global.objdump
index a519e4f48..c792e6a93 100644
--- a/tools/asm-processor/tests/static-global.objdump
+++ b/tools/asm-processor/tests/static-global.objdump
@@ -15,6 +15,8 @@ SYMBOL TABLE:
00000004 g O .data 00000000 data2
00000004 g O .bss 00000000 bss2
00000030 g F .text 00000000 xtext
+00000008 g O .bss 00000000 bss2:1
+0000000c g O .bss 00000000 bss2:2
RELOCATION RECORDS FOR [.text]: