]> git.eshelyaron.com Git - emacs.git/commitdiff
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 02:09:36 +0000 (19:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 02:09:36 +0000 (19:09 -0700)
src/ChangeLog
src/unexelf.c

index 8832388994cbef3f5f1a676bd7159d333dbf5f50..5abc9b66475d839626e9569b542b20a1db42d2b6 100644 (file)
@@ -4,6 +4,7 @@
        to avoid gcc -Wbad-function-cast warning.
        Use a different way to cause a compilation error if anyone uses
        n rather than nn, a way that does not involve shadowing.
+       (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
 
        * deps.mk (unexalpha.o): Remove; unused.
 
index 3e664307d5953aee0d4e2d1bafbe8f27da9da03a..b58c78501b886bbc460a2c86b4e88c0dc1b15f7a 100644 (file)
@@ -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)))