diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 17:28:05 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-02 17:28:05 +0200 |
commit | 6a4ba5d3976f6d219400a46c634dd479bc5981a5 (patch) | |
tree | b9514fea0817906859843475fe8455070de25064 /lzo/asm/i386/src_nasm/asminit.def | |
parent | 73d3b9c032eae2074726cd3668546af1c44a8323 (diff) |
Update lzo version
Diffstat (limited to 'lzo/asm/i386/src_nasm/asminit.def')
-rw-r--r-- | lzo/asm/i386/src_nasm/asminit.def | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/lzo/asm/i386/src_nasm/asminit.def b/lzo/asm/i386/src_nasm/asminit.def index 6942a816..3f2e0d6e 100644 --- a/lzo/asm/i386/src_nasm/asminit.def +++ b/lzo/asm/i386/src_nasm/asminit.def @@ -2,6 +2,9 @@ ; ; This file is part of the LZO real-time data compression library. ; +; Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer +; Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer +; Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer ; Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer @@ -37,19 +40,42 @@ ; http://www.oberhumer.com/opensource/lzo/ ; -%define F(name) name +%ifidni __OUTPUT_FORMAT__,macho +%define NAME1(x) _ %+ x +%elifidni __OUTPUT_FORMAT__,macho32 +%define NAME1(x) _ %+ x +%elifidni __OUTPUT_FORMAT__,macho64 +%define NAME1(x) _ %+ x +%else +%define NAME1(x) _ %+ x +%define NAME2(x) x +%endif + %ifidni __OUTPUT_FORMAT__,elf -%define globalf(x) global x:function +%define globalf(x) global x:function (x %+ _end - x) +%define globalf_end(x) x %+ _end: +%elifidni __OUTPUT_FORMAT__,elf32 +%define globalf(x) global x:function (x %+ _end - x) +%define globalf_end(x) x %+ _end: +%elifidni __OUTPUT_FORMAT__,elf64 +%define globalf(x) global x:function (x %+ _end - x) +%define globalf_end(x) x %+ _end: %else -%define globalf(x) global x +%define globalf(x) global x +%define globalf_end(x) %endif bits 32 %ifidni __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits +%elifidni __OUTPUT_FORMAT__,elf32 +section .note.GNU-stack noalloc noexec nowrite progbits +%elifidni __OUTPUT_FORMAT__,elf64 +section .note.GNU-stack noalloc noexec nowrite progbits %endif %ifidni __OUTPUT_FORMAT__,obj segment _TEXT class=CODE public use32 flat align=16 %else section .text %endif +align 16 |