summaryrefslogtreecommitdiff
path: root/src/unexelf.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:09:36 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:09:36 -0700
commit73366a004b663bed19b9bc9b83e8843c836db83f (patch)
treeb1a601cbb14d20b09dccada0a48265215607f8e2 /src/unexelf.c
parent9ae7151257f2457c0a6d89fb2b97f59fb18f1b96 (diff)
downloademacs-73366a004b663bed19b9bc9b83e8843c836db83f.tar.gz
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r--src/unexelf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 3e664307d59..b58c78501b8 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -520,10 +520,6 @@ typedef struct {
# define ElfW(type) ElfExpandBitsW (ELFSIZE, type)
#endif
-#ifndef ELF_BSS_SECTION_NAME
-#define ELF_BSS_SECTION_NAME ".bss"
-#endif
-
/* Get the address of a particular section or program header entry,
* accounting for the size of the entries.
*/
@@ -555,8 +551,6 @@ typedef struct {
(*(ElfW(Shdr) *) ((byte *) old_section_h + old_file_h->e_shentsize * (n)))
#define NEW_SECTION_H(n) \
(*(ElfW(Shdr) *) ((byte *) new_section_h + new_file_h->e_shentsize * (n)))
-#define OLD_PROGRAM_H(n) \
- (*(ElfW(Phdr) *) ((byte *) old_program_h + old_file_h->e_phentsize * (n)))
#define NEW_PROGRAM_H(n) \
(*(ElfW(Phdr) *) ((byte *) new_program_h + new_file_h->e_phentsize * (n)))