1 /*
2  * Copyright (c) 2008-2013 Travis Geiselbrecht
3  *
4  * Use of this source code is governed by a MIT-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/MIT
7  */
8 #pragma once
9 
10 #define FUNCTION(x) .global x; .type x,STT_FUNC; x:
11 #define DATA(x) .global x; .type x,STT_OBJECT; x:
12 
13 #define LOCAL_FUNCTION(x) .type x,STT_FUNC; x:
14 #define LOCAL_DATA(x) .type x,STT_OBJECT; x:
15 
16 #define END_FUNCTION(x) .size x, . - x
17 #define END_DATA(x) .size x, . - x
18