summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/localize-hidden-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/localize-hidden-1.s')
-rw-r--r--binutils/testsuite/binutils-all/localize-hidden-1.s36
1 files changed, 36 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/localize-hidden-1.s b/binutils/testsuite/binutils-all/localize-hidden-1.s
new file mode 100644
index 0000000..cb9f367
--- /dev/null
+++ b/binutils/testsuite/binutils-all/localize-hidden-1.s
@@ -0,0 +1,36 @@
+ .globl Gdefault
+ .globl Ghidden
+ .globl Ginternal
+ .globl Gprotected
+
+ .weak Wdefault
+ .weak Whidden
+ .weak Winternal
+ .weak Wprotected
+
+ .hidden Lhidden
+ .hidden Ghidden
+ .hidden Whidden
+
+ .internal Linternal
+ .internal Ginternal
+ .internal Winternal
+
+ .protected Lprotected
+ .protected Gprotected
+ .protected Wprotected
+
+ Ldefault == 0x1100
+ Lhidden == 0x1200
+ Linternal == 0x1300
+ Lprotected == 0x1400
+
+ Gdefault == 0x2100
+ Ghidden == 0x2200
+ Ginternal == 0x2300
+ Gprotected == 0x2400
+
+ Wdefault == 0x3100
+ Whidden == 0x3200
+ Winternal == 0x3300
+ Wprotected == 0x3400