symtab.c (254689) | symtab.c (255033) |
---|---|
1/* $NetBSD: symtab.c,v 1.1 2012/05/26 22:02:29 christos Exp $ */ | 1/* $NetBSD: symtab.c,v 1.2 2013/08/29 15:01:57 christos Exp $ */ |
2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Christos Zoulas. 9 * --- 14 unchanged lines hidden (view full) --- 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31#include <sys/cdefs.h> | 2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Christos Zoulas. 9 * --- 14 unchanged lines hidden (view full) --- 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31#include <sys/cdefs.h> |
32__RCSID("$NetBSD: symtab.c,v 1.1 2012/05/26 22:02:29 christos Exp $"); | 32__RCSID("$NetBSD: symtab.c,v 1.2 2013/08/29 15:01:57 christos Exp $"); |
33 34#include <stdlib.h> 35#include <stdio.h> | 33 34#include <stdlib.h> 35#include <stdio.h> |
36#include <stdint.h> | |
37#include <string.h> | 36#include <string.h> |
37#include <stdint.h> |
|
38#include <err.h> 39#include <dlfcn.h> 40 41#include <libelf.h> 42#include <gelf.h> 43#ifndef ELF_ST_BIND 44#define ELF_ST_BIND(x) ((x) >> 4) 45#endif --- 148 unchanged lines hidden --- | 38#include <err.h> 39#include <dlfcn.h> 40 41#include <libelf.h> 42#include <gelf.h> 43#ifndef ELF_ST_BIND 44#define ELF_ST_BIND(x) ((x) >> 4) 45#endif --- 148 unchanged lines hidden --- |