File tree Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,6 @@ case ${target} in
1515 ;;
1616esac
1717
18- case $ {target } in
19- x86_64 - * - mingw * | x86_64 - * - pe | x86_64 - * - pep | x86_64 - * - cygwin | \
20- i [3 - 7 ]86 - * - mingw32 * | i [3 - 7 ]86 - * - cygwin * | i [3 - 7 ]86 - * - winnt | i [3 - 7 ]86 - * - pe )
21- pdb_support = " " ;;
22- * )
23- esac
24-
2518rm - f e$ {EMULATION_NAME }.c
2619(echo ;echo ;echo ;echo ;echo )> e$ {EMULATION_NAME }.c # there , now line numbers match ;-)
2720fragment <<EOF
@@ -73,7 +66,18 @@ fragment <<EOF
7366#include "ldctor.h"
7467#include "ldbuildid.h"
7568#include "coff/internal.h"
76- $ {pdb_support + #include \"pdb.h\"}
69+ EOF
70+
71+ case $ {target } in
72+ x86_64 - * - mingw * | x86_64 - * - pe | x86_64 - * - pep | x86_64 - * - cygwin | \
73+ i [3 - 7 ]86 - * - mingw32 * | i [3 - 7 ]86 - * - cygwin * | i [3 - 7 ]86 - * - winnt | i [3 - 7 ]86 - * - pe )
74+ fragment <<EOF
75+ #include "pdb.h"
76+ EOF
77+ ;;
78+ esac
79+
80+ fragment <<EOF
7781
7882/* FIXME: See bfd/peXXigen.c for why we include an architecture specific
7983 header in generic PE code. */
Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ case ${target} in
1717 ;;
1818esac
1919
20- case $ {target } in
21- x86_64 - * - mingw * | x86_64 - * - pe | x86_64 - * - pep | x86_64 - * - cygwin | \
22- i [3 - 7 ]86 - * - mingw32 * | i [3 - 7 ]86 - * - cygwin * | i [3 - 7 ]86 - * - winnt | i [3 - 7 ]86 - * - pe )
23- pdb_support = " " ;;
24- * )
25- esac
26-
2720rm - f e$ {EMULATION_NAME }.c
2821(echo ;echo ;echo ;echo ;echo )> e$ {EMULATION_NAME }.c # there , now line numbers match ;-)
2922fragment <<EOF
@@ -82,7 +75,18 @@ fragment <<EOF
8275#include "ldctor.h"
8376#include "ldbuildid.h"
8477#include "coff/internal.h"
85- $ {pdb_support + #include \"pdb.h\"}
78+ EOF
79+
80+ case $ {target } in
81+ x86_64 - * - mingw * | x86_64 - * - pe | x86_64 - * - pep | x86_64 - * - cygwin | \
82+ i [3 - 7 ]86 - * - mingw32 * | i [3 - 7 ]86 - * - cygwin * | i [3 - 7 ]86 - * - winnt | i [3 - 7 ]86 - * - pe )
83+ fragment <<EOF
84+ #include "pdb.h"
85+ EOF
86+ ;;
87+ esac
88+
89+ fragment <<EOF
8690
8791/* FIXME: See bfd/peXXigen.c for why we include an architecture specific
8892 header in generic PE code. */
You can’t perform that action at this time.
0 commit comments