1 /* 2 * Copyright © 2008 Mozilla Corporation 3 * Copyright © 2010 Nokia Corporation 4 * 5 * Permission to use, copy, modify, distribute, and sell this software and its 6 * documentation for any purpose is hereby granted without fee, provided that 7 * the above copyright notice appear in all copies and that both that 8 * copyright notice and this permission notice appear in supporting 9 * documentation, and that the name of Mozilla Corporation not be used in 10 * advertising or publicity pertaining to distribution of the software without 11 * specific, written prior permission. Mozilla Corporation makes no 12 * representations about the suitability of this software for any purpose. It 13 * is provided "as is" without express or implied warranty. 14 * 15 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS 16 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 17 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY 18 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 20 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 21 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 22 * SOFTWARE. 23 * 24 * Author: Jeff Muizelaar (jeff@infidigm.net) 25 * 26 */ 27 28 /* Supplementary macro for setting function attributes */ 29 .macro pixman_asm_function fname 30 .func fname 31 .global fname 32 #ifdef __ELF__ 33 .hidden fname 34 .type fname, %function 35 #endif 36 fname: 37 .endm 38