mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-19 18:00:23 +08:00
output: output format macros should be case insensitive
Use %imacro instead of %macro for ELF "osabi" and Mach-O "subsections_by_symbols". Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
8e1cb8e594
commit
b786f66c2e
@ -1,6 +1,6 @@
|
||||
;; --------------------------------------------------------------------------
|
||||
;;
|
||||
;; Copyright 1996-2009 The NASM Authors - All Rights Reserved
|
||||
;; Copyright 1996-2017 The NASM Authors - All Rights Reserved
|
||||
;; See the file AUTHORS included with the NASM distribution for
|
||||
;; the specific copyright holders.
|
||||
;;
|
||||
@ -36,6 +36,6 @@ OUT: elf elf32 elf64
|
||||
%macro __NASM_CDecl__ 1
|
||||
%define $_%1 $%1
|
||||
%endmacro
|
||||
%macro osabi 1+.nolist
|
||||
[osabi %1]
|
||||
%imacro osabi 1+.nolist
|
||||
[%? %1]
|
||||
%endmacro
|
||||
|
@ -37,6 +37,6 @@ OUT: macho macho32 macho64
|
||||
%endmacro
|
||||
|
||||
; This directive sets the MH_SUBSECTION_VIA_SYMBOLS header flag
|
||||
%macro subsection_via_symbols 0
|
||||
%imacro subsection_via_symbols 0
|
||||
[%?]
|
||||
%endmacro
|
||||
|
Loading…
x
Reference in New Issue
Block a user