xref: /netbsd-src/include/link.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: link.h,v 1.13 2008/04/28 20:22:54 martin Exp $	*/
2e278587dSthorpej 
3e278587dSthorpej /*-
4e278587dSthorpej  * Copyright (c) 1999 The NetBSD Foundation, Inc.
5e278587dSthorpej  * All rights reserved.
6e278587dSthorpej  *
7e278587dSthorpej  * This code is derived from software contributed to The NetBSD Foundation
8e278587dSthorpej  * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
9e278587dSthorpej  * NASA Ames Research Center.
10e278587dSthorpej  *
11e278587dSthorpej  * Redistribution and use in source and binary forms, with or without
12e278587dSthorpej  * modification, are permitted provided that the following conditions
13e278587dSthorpej  * are met:
14e278587dSthorpej  * 1. Redistributions of source code must retain the above copyright
15e278587dSthorpej  *    notice, this list of conditions and the following disclaimer.
16e278587dSthorpej  * 2. Redistributions in binary form must reproduce the above copyright
17e278587dSthorpej  *    notice, this list of conditions and the following disclaimer in the
18e278587dSthorpej  *    documentation and/or other materials provided with the distribution.
19e278587dSthorpej  *
20e278587dSthorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21e278587dSthorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22e278587dSthorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23e278587dSthorpej  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24e278587dSthorpej  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25e278587dSthorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26e278587dSthorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27e278587dSthorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28e278587dSthorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29e278587dSthorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30e278587dSthorpej  * POSSIBILITY OF SUCH DAMAGE.
31e278587dSthorpej  */
32e278587dSthorpej 
33e278587dSthorpej #ifndef _LINK_H_
34e278587dSthorpej #define	_LINK_H_
35e278587dSthorpej 
36e278587dSthorpej /*
37e278587dSthorpej  * Pull in the correct definitions for our toolchain target.
38e278587dSthorpej  */
39e278587dSthorpej #ifdef __ELF__
40e278587dSthorpej #include <link_elf.h>
41e278587dSthorpej #else
42e278587dSthorpej #include <link_aout.h>
43e278587dSthorpej #endif
44e278587dSthorpej 
45e278587dSthorpej #endif /* _LINK_H_ */
46