aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexec.c')
-rw-r--r--src/unexec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/unexec.c b/src/unexec.c
index d1921069af7..a1bb5460d3c 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -630,7 +630,6 @@ mark_x (name)
630 PERROR (name); 630 PERROR (name);
631} 631}
632 632
633#ifndef COFF_BSD_SYMBOLS
634 633
635/* 634/*
636 * If the COFF file contains a symbol table and a line number section, 635 * If the COFF file contains a symbol table and a line number section,
@@ -699,8 +698,6 @@ adjust_lnnoptrs (writedesc, readdesc, new_name)
699 return 0; 698 return 0;
700} 699}
701 700
702#endif /* COFF_BSD_SYMBOLS */
703
704/* **************************************************************** 701/* ****************************************************************
705 * unexec 702 * unexec
706 * 703 *
@@ -724,9 +721,7 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
724 if (make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name) < 0 721 if (make_hdr (new, a_out, data_start, bss_start, entry_address, a_name, new_name) < 0
725 || copy_text_and_data (new, a_out) < 0 722 || copy_text_and_data (new, a_out) < 0
726 || copy_sym (new, a_out, a_name, new_name) < 0 723 || copy_sym (new, a_out, a_name, new_name) < 0
727#ifndef COFF_BSD_SYMBOLS
728 || adjust_lnnoptrs (new, a_out, new_name) < 0 724 || adjust_lnnoptrs (new, a_out, new_name) < 0
729#endif
730 ) 725 )
731 { 726 {
732 close (new); 727 close (new);