1273251Sandrew/*- 2273251Sandrew * Copyright (c) 2014 Andrew Turner <andrew@FreeBSD.org> 3273251Sandrew * All rights reserved. 4273251Sandrew * 5273251Sandrew * Redistribution and use in source and binary forms, with or without 6273251Sandrew * modification, are permitted provided that the following conditions 7273251Sandrew * are met: 8273251Sandrew * 1. Redistributions of source code must retain the above copyright 9273251Sandrew * notice, this list of conditions and the following disclaimer. 10273251Sandrew * 2. Redistributions in binary form must reproduce the above copyright 11273251Sandrew * notice, this list of conditions and the following disclaimer in the 12273251Sandrew * documentation and/or other materials provided with the distribution. 13273251Sandrew * 14273251Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15273251Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16273251Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17273251Sandrew * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18273251Sandrew * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19273251Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20273251Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21273251Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22273251Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23273251Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24273251Sandrew * SUCH DAMAGE. 25273251Sandrew * 26273251Sandrew */ 27273251Sandrew 28273251Sandrew#include <machine/asm.h> 29273251Sandrew__FBSDID("$FreeBSD$"); 30273251Sandrew 31273251Sandrew#include <sys/param.h> 32273251Sandrew#include <machine/asmacros.h> 33273251Sandrew 34273251Sandrew/* An ELF note so GDB detects this as a FreeBSD elf file */ 35273251SandrewELFNOTE(.note.tag, 1, "FreeBSD", .long, __FreeBSD_version); 36273251Sandrew 37