OLD | NEW |
1 /* $Id: elf.h 2208 2009-07-22 05:45:03Z peter $ | 1 /* |
2 * ELF object format helpers | 2 * ELF object format helpers |
3 * | 3 * |
4 * Copyright (C) 2003-2007 Michael Urman | 4 * Copyright (C) 2003-2007 Michael Urman |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 /* program header function */ | 523 /* program header function */ |
524 unsigned long | 524 unsigned long |
525 elf_proghead_get_size(void); | 525 elf_proghead_get_size(void); |
526 unsigned long | 526 unsigned long |
527 elf_proghead_write_to_file(FILE *f, | 527 elf_proghead_write_to_file(FILE *f, |
528 elf_offset secthead_addr, | 528 elf_offset secthead_addr, |
529 unsigned long secthead_count, | 529 unsigned long secthead_count, |
530 elf_section_index shstrtab_index); | 530 elf_section_index shstrtab_index); |
531 | 531 |
532 #endif /* ELF_H_INCLUDED */ | 532 #endif /* ELF_H_INCLUDED */ |
OLD | NEW |