aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-16 19:09:36 -0700
committerPaul Eggert2011-03-16 19:09:36 -0700
commit73366a004b663bed19b9bc9b83e8843c836db83f (patch)
treeb1a601cbb14d20b09dccada0a48265215607f8e2 /src
parent9ae7151257f2457c0a6d89fb2b97f59fb18f1b96 (diff)
downloademacs-73366a004b663bed19b9bc9b83e8843c836db83f.tar.gz
emacs-73366a004b663bed19b9bc9b83e8843c836db83f.zip
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/unexelf.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8832388994c..5abc9b66475 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -4,6 +4,7 @@
4 to avoid gcc -Wbad-function-cast warning. 4 to avoid gcc -Wbad-function-cast warning.
5 Use a different way to cause a compilation error if anyone uses 5 Use a different way to cause a compilation error if anyone uses
6 n rather than nn, a way that does not involve shadowing. 6 n rather than nn, a way that does not involve shadowing.
7 (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
7 8
8 * deps.mk (unexalpha.o): Remove; unused. 9 * deps.mk (unexalpha.o): Remove; unused.
9 10
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 {
520# define ElfW(type) ElfExpandBitsW (ELFSIZE, type) 520# define ElfW(type) ElfExpandBitsW (ELFSIZE, type)
521#endif 521#endif
522 522
523#ifndef ELF_BSS_SECTION_NAME
524#define ELF_BSS_SECTION_NAME ".bss"
525#endif
526
527/* Get the address of a particular section or program header entry, 523/* Get the address of a particular section or program header entry,
528 * accounting for the size of the entries. 524 * accounting for the size of the entries.
529 */ 525 */
@@ -555,8 +551,6 @@ typedef struct {
555 (*(ElfW(Shdr) *) ((byte *) old_section_h + old_file_h->e_shentsize * (n))) 551 (*(ElfW(Shdr) *) ((byte *) old_section_h + old_file_h->e_shentsize * (n)))
556#define NEW_SECTION_H(n) \ 552#define NEW_SECTION_H(n) \
557 (*(ElfW(Shdr) *) ((byte *) new_section_h + new_file_h->e_shentsize * (n))) 553 (*(ElfW(Shdr) *) ((byte *) new_section_h + new_file_h->e_shentsize * (n)))
558#define OLD_PROGRAM_H(n) \
559 (*(ElfW(Phdr) *) ((byte *) old_program_h + old_file_h->e_phentsize * (n)))
560#define NEW_PROGRAM_H(n) \ 554#define NEW_PROGRAM_H(n) \
561 (*(ElfW(Phdr) *) ((byte *) new_program_h + new_file_h->e_phentsize * (n))) 555 (*(ElfW(Phdr) *) ((byte *) new_program_h + new_file_h->e_phentsize * (n)))
562 556