| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: exec_elf.h,v 1.133 2014/01/01 18:57:16 dsl Exp $ */ | | 1 | /* $NetBSD: exec_elf.h,v 1.134 2014/01/02 19:15:07 christos Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 1994 The NetBSD Foundation, Inc. | | 4 | * Copyright (c) 1994 The NetBSD Foundation, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to The NetBSD Foundation | | 7 | * This code is derived from software contributed to The NetBSD Foundation |
8 | * by Christos Zoulas. | | 8 | * by Christos Zoulas. |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -408,27 +408,30 @@ typedef struct { | | | @@ -408,27 +408,30 @@ typedef struct { |
408 | #define SHT_NOTE 7 /* Auxiliary information */ | | 408 | #define SHT_NOTE 7 /* Auxiliary information */ |
409 | #define SHT_NOBITS 8 /* No space allocated in file image */ | | 409 | #define SHT_NOBITS 8 /* No space allocated in file image */ |
410 | #define SHT_REL 9 /* Relocation information w/o addend */ | | 410 | #define SHT_REL 9 /* Relocation information w/o addend */ |
411 | #define SHT_SHLIB 10 /* Reserved, unspecified semantics */ | | 411 | #define SHT_SHLIB 10 /* Reserved, unspecified semantics */ |
412 | #define SHT_DYNSYM 11 /* Symbol table for dynamic linker */ | | 412 | #define SHT_DYNSYM 11 /* Symbol table for dynamic linker */ |
413 | #define SHT_INIT_ARRAY 14 /* Initialization function pointers */ | | 413 | #define SHT_INIT_ARRAY 14 /* Initialization function pointers */ |
414 | #define SHT_FINI_ARRAY 15 /* Termination function pointers */ | | 414 | #define SHT_FINI_ARRAY 15 /* Termination function pointers */ |
415 | #define SHT_PREINIT_ARRAY 16 /* Pre-initialization function ptrs */ | | 415 | #define SHT_PREINIT_ARRAY 16 /* Pre-initialization function ptrs */ |
416 | #define SHT_GROUP 17 /* Section group */ | | 416 | #define SHT_GROUP 17 /* Section group */ |
417 | #define SHT_SYMTAB_SHNDX 18 /* Section indexes (see SHN_XINDEX) */ | | 417 | #define SHT_SYMTAB_SHNDX 18 /* Section indexes (see SHN_XINDEX) */ |
418 | #define SHT_NUM 19 | | 418 | #define SHT_NUM 19 |
419 | | | 419 | |
420 | #define SHT_LOOS 0x60000000 /* Operating system specific range */ | | 420 | #define SHT_LOOS 0x60000000 /* Operating system specific range */ |
| | | 421 | #define SHT_GNU_INCREMENTAL_INPUTS 0x6fff4700 /* GNU incremental build data */ |
| | | 422 | #define SHT_GNU_ATTRIBUTES 0x6ffffff5 /* GNU object attributes */ |
421 | #define SHT_GNU_HASH 0x6ffffff6 /* GNU style symbol hash table */ | | 423 | #define SHT_GNU_HASH 0x6ffffff6 /* GNU style symbol hash table */ |
| | | 424 | #define SHT_GNU_LIBLIST 0x6ffffff7 /* GNU list of prelink dependencies */ |
422 | #define SHT_SUNW_move 0x6ffffffa | | 425 | #define SHT_SUNW_move 0x6ffffffa |
423 | #define SHT_SUNW_syminfo 0x6ffffffc | | 426 | #define SHT_SUNW_syminfo 0x6ffffffc |
424 | #define SHT_SUNW_verdef 0x6ffffffd /* Versions defined by file */ | | 427 | #define SHT_SUNW_verdef 0x6ffffffd /* Versions defined by file */ |
425 | #define SHT_GNU_verdef SHT_SUNW_verdef | | 428 | #define SHT_GNU_verdef SHT_SUNW_verdef |
426 | #define SHT_SUNW_verneed 0x6ffffffe /* Versions needed by file */ | | 429 | #define SHT_SUNW_verneed 0x6ffffffe /* Versions needed by file */ |
427 | #define SHT_GNU_verneed SHT_SUNW_verneed | | 430 | #define SHT_GNU_verneed SHT_SUNW_verneed |
428 | #define SHT_SUNW_versym 0x6fffffff /* Symbol versions */ | | 431 | #define SHT_SUNW_versym 0x6fffffff /* Symbol versions */ |
429 | #define SHT_GNU_versym SHT_SUNW_versym | | 432 | #define SHT_GNU_versym SHT_SUNW_versym |
430 | #define SHT_HIOS 0x6fffffff | | 433 | #define SHT_HIOS 0x6fffffff |
431 | #define SHT_LOPROC 0x70000000 /* Processor-specific range */ | | 434 | #define SHT_LOPROC 0x70000000 /* Processor-specific range */ |
432 | #define SHT_AMD64_UNWIND 0x70000001 /* unwind information */ | | 435 | #define SHT_AMD64_UNWIND 0x70000001 /* unwind information */ |
433 | #define SHT_ARM_EXIDX 0x70000001 /* exception index table */ | | 436 | #define SHT_ARM_EXIDX 0x70000001 /* exception index table */ |
434 | #define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking | | 437 | #define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking |