| OLD | NEW |
| 1 /* $Id:$ | 1 /* |
| 2 * ELF object machine specific format helpers | 2 * ELF object machine specific format helpers |
| 3 * | 3 * |
| 4 * Copyright (C) 2004-2007 Michael Urman | 4 * Copyright (C) 2004-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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 const unsigned long proghead_size; | 92 const unsigned long proghead_size; |
| 93 func_accepts_reloc accepts_reloc; | 93 func_accepts_reloc accepts_reloc; |
| 94 func_write_symtab_entry write_symtab_entry; | 94 func_write_symtab_entry write_symtab_entry; |
| 95 func_write_secthead write_secthead; | 95 func_write_secthead write_secthead; |
| 96 func_write_secthead_rel write_secthead_rel; | 96 func_write_secthead_rel write_secthead_rel; |
| 97 func_handle_reloc_addend handle_reloc_addend; | 97 func_handle_reloc_addend handle_reloc_addend; |
| 98 func_map_reloc_info_to_type map_reloc_info_to_type; | 98 func_map_reloc_info_to_type map_reloc_info_to_type; |
| 99 func_write_reloc write_reloc; | 99 func_write_reloc write_reloc; |
| 100 func_write_proghead write_proghead; | 100 func_write_proghead write_proghead; |
| 101 | 101 |
| 102 const elf_machine_ssym *ssyms; /* array of "special" syms */ | 102 elf_machine_ssym *ssyms; /* array of "special" syms */ |
| 103 const size_t num_ssyms; /* size of array */ | 103 const size_t num_ssyms; /* size of array */ |
| 104 | 104 |
| 105 const int bits; /* usually 32 or 64 */ | 105 const int bits; /* usually 32 or 64 */ |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 #endif /* ELF_MACHINE_H_INCLUDED */ | 108 #endif /* ELF_MACHINE_H_INCLUDED */ |
| OLD | NEW |