16812Sraf/* 26812Sraf * CDDL HEADER START 36812Sraf * 46812Sraf * The contents of this file are subject to the terms of the 56812Sraf * Common Development and Distribution License (the "License"). 66812Sraf * You may not use this file except in compliance with the License. 76812Sraf * 86812Sraf * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96812Sraf * or http://www.opensolaris.org/os/licensing. 106812Sraf * See the License for the specific language governing permissions 116812Sraf * and limitations under the License. 126812Sraf * 136812Sraf * When distributing Covered Code, include this CDDL HEADER in each 146812Sraf * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156812Sraf * If applicable, add the following below this CDDL HEADER, with the 166812Sraf * fields enclosed by brackets "[]" replaced with your own identifying 176812Sraf * information: Portions Copyright [yyyy] [name of copyright owner] 186812Sraf * 196812Sraf * CDDL HEADER END 206812Sraf */ 216812Sraf 226812Sraf/* 236812Sraf * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 246812Sraf * Use is subject to license terms. 256812Sraf */ 266812Sraf 27*7298SMark.J.Nelson@Sun.COM .file "synonyms.s" 286812Sraf 296812Sraf#define SYN(name) \ 306812Sraf .align 4; \ 316812Sraf .global name; \ 326812Sraf .global _/**/name; \ 336812Sraf .type _/**/name, #function; \ 346812Sraf_/**/name: \ 356812Sraf mov %o7, %g1; \ 366812Sraf call name; \ 376812Sraf mov %g1, %o7; \ 386812Sraf .size _/**/name, (. - _/**/name) 396812Sraf 406812Sraf#define SYN2(name) \ 416812Sraf .align 4; \ 426812Sraf .global name; \ 436812Sraf .global __/**/name; \ 446812Sraf .type __/**/name, #function; \ 456812Sraf__/**/name: \ 466812Sraf mov %o7, %g1; \ 476812Sraf call name; \ 486812Sraf mov %g1, %o7; \ 496812Sraf .size __/**/name, (. - __/**/name) 506812Sraf 516812Sraf#include "synonym_list" 52