Debian Codegraph @

output/outmacho.mac

raw
1 ;; SPDX-License-Identifier: BSD-2-Clause
2 ;; Copyright 1996-2017 The NASM Authors - All Rights Reserved
3
4 OUT: macho macho32 macho64
5 %define __?SECT?__ [section .text]
6 %macro __?NASM_CDecl?__ 1
7 %endmacro
8
9 ; This directive sets the MH_SUBSECTIONS_VIA_SYMBOLS header flag
10 %imacro subsections_via_symbols 0.nolist
11 %pragma __?OUTPUT_FORMAT?__ %?
12 %endmacro
13
14 %imacro no_dead_strip 1-*.nolist
15 %rep %0
16 %pragma __?OUTPUT_FORMAT?__ %? %1
17 %rotate 1
18 %endrep
19 %endmacro
20
21 ; This sets LC_BUILD_VERSION in the object file, analogous to as .build_version
22 %imacro build_version 3+
23 %pragma __?OUTPUT_FORMAT?__ %? %1,%2,%3
24 %endmacro