]> gitweb.factorcode.org Git - factor.git/commitdiff
a.elf for elf tests
authorErik Charlebois <erikcharlebois@gmail.com>
Tue, 13 Apr 2010 04:38:01 +0000 (21:38 -0700)
committerErik Charlebois <erikcharlebois@gmail.com>
Tue, 13 Apr 2010 04:38:01 +0000 (21:38 -0700)
extra/elf/a.elf [new file with mode: 0755]
extra/elf/elf-tests.factor
extra/elf/nm/nm-tests.factor

diff --git a/extra/elf/a.elf b/extra/elf/a.elf
new file mode 100755 (executable)
index 0000000..0f10a2f
Binary files /dev/null and b/extra/elf/a.elf differ
index c0ade1bcd1e8f51221f1c7205e25a5d28babb486..d68885e6b7a67ee0fae93f187f28aedb92e9b91f 100644 (file)
@@ -45,7 +45,7 @@ IN: elf.tests
     }
 }
 [
-    "resource:extra/elf/a.out" [
+    "resource:extra/elf/a.elf" [
         sections [ name>> ] map
     ] with-mapped-elf
 ]
@@ -74,7 +74,7 @@ unit-test
     }
 }
 [
-    "resource:extra/elf/a.out" [
+    "resource:extra/elf/a.elf" [
         segments [ program-header>> p_type>> PT_LOAD = ] find nip
         sections [ name>> ] map
     ] with-mapped-elf
@@ -158,7 +158,7 @@ unit-test
     }
 }
 [
-    "resource:extra/elf/a.out" [
+    "resource:extra/elf/a.elf" [
         sections ".symtab" find-section symbols
         [ name>> ] map
     ] with-mapped-elf
@@ -172,7 +172,7 @@ unit-test
     }
 }
 [
-    "resource:extra/elf/a.out" [
+    "resource:extra/elf/a.elf" [
         sections ".symtab" "main" find-section-symbol
         symbol-data >byte-array
     ] with-mapped-elf
index e420976d9e84c4718110fcf85d1d9b79aa0eaafb..2ecb4990814905229119275add1a31d41409a831 100644 (file)
@@ -47,5 +47,5 @@ STRING: validation-output
 ;
 
 { $ validation-output }
-[ <string-writer> dup [ "resource:extra/elf/a.out" nm ] with-output-stream >string ]
+[ <string-writer> dup [ "resource:extra/elf/a.elf" nm ] with-output-stream >string ]
 unit-test