]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/alias-objects/aliases.s
ld64-241.9.tar.gz
[apple/ld64.git] / unit-tests / test-cases / alias-objects / aliases.s
index 5e92d8d41c9d0cb22c9361e6725f0d3aee7ed0eb..b669233c2e6e8d3f4cf93c885bb50ef1622a513a 100644 (file)
@@ -31,14 +31,23 @@ _temp:      nop
 _foo:  nop
                nop
 
+/* this should make an alias "_fooalt" for "_foo" */
                .globl _fooalt
                .globl _fooalt2
-/* this should make an alias "_fooalt" for "_foo" */
 _fooalt = _foo 
 _fooalt2 = _foo        
 
+    .global _myAlias
+_myAlias  = _myBase
+
+    .global _myHiddenAlias
+    .private_extern _myHiddenAlias
+_myHiddenAlias  = _myHiddenBase
+
+
+
 _bar:  nop
                nop
                
                
-               .subsections_via_symbols
\ No newline at end of file
+               .subsections_via_symbols