From e11ea9df147b9f803f8a1bdfcdea37d454243c5a Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 3 Sep 2011 21:18:08 -0700 Subject: [PATCH] Add missing macho32-pext test case. --- .../macho/tests/nasm32/macho32-pext.asm | 4 + .../macho/tests/nasm32/macho32-pext.hex | 202 ++++++++++++++++++ 2 files changed, 206 insertions(+) create mode 100644 modules/objfmts/macho/tests/nasm32/macho32-pext.asm create mode 100644 modules/objfmts/macho/tests/nasm32/macho32-pext.hex diff --git a/modules/objfmts/macho/tests/nasm32/macho32-pext.asm b/modules/objfmts/macho/tests/nasm32/macho32-pext.asm new file mode 100644 index 00000000..f881b4fc --- /dev/null +++ b/modules/objfmts/macho/tests/nasm32/macho32-pext.asm @@ -0,0 +1,4 @@ +[GLOBAL function:private_extern] + +function: + ret diff --git a/modules/objfmts/macho/tests/nasm32/macho32-pext.hex b/modules/objfmts/macho/tests/nasm32/macho32-pext.hex new file mode 100644 index 00000000..6a8eb4f4 --- /dev/null +++ b/modules/objfmts/macho/tests/nasm32/macho32-pext.hex @@ -0,0 +1,202 @@ +ce +fa +ed +fe +07 +00 +00 +00 +03 +00 +00 +00 +01 +00 +00 +00 +02 +00 +00 +00 +94 +00 +00 +00 +00 +00 +00 +00 +01 +00 +00 +00 +7c +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +01 +00 +00 +00 +b0 +00 +00 +00 +01 +00 +00 +00 +07 +00 +00 +00 +07 +00 +00 +00 +01 +00 +00 +00 +00 +00 +00 +00 +5f +5f +74 +65 +78 +74 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +5f +5f +54 +45 +58 +54 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +01 +00 +00 +00 +b0 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +00 +80 +00 +00 +00 +00 +00 +00 +00 +00 +02 +00 +00 +00 +18 +00 +00 +00 +b4 +00 +00 +00 +01 +00 +00 +00 +c0 +00 +00 +00 +0a +00 +00 +00 +c3 +00 +00 +00 +01 +00 +00 +00 +1f +01 +00 +00 +00 +00 +00 +00 +00 +66 +75 +6e +63 +74 +69 +6f +6e +00