diff --git a/src/gcc/gcc/config/i386/emx.h b/src/gcc/gcc/config/i386/emx.h
index bc6c536..58c3653 100755
a
|
b
|
do { \
|
443 | 443 | "%{Zexe} %{Zstack*} %{Zmap*} %{Zsym} %{Zdll} %{shared:-Zdll} %{static:-static} " \ |
444 | 444 | "%{!o*:-o %b%{Zdll|shared:.dll}%{!Zdll:%{!shared:%{!Zexe:.exe}}}} " \ |
445 | 445 | "%{static:%{Zcrtdll*:%e-static and -Zcrtdll are incompatible}}" \ |
446 | | "%{Zomf:%{Zaout:%e-Zomf and -Zaout are incompatible}}" \ |
| 446 | "%{Zomf|static:%{Zaout:%e-Zomf and -Zaout are incompatible}}" \ |
447 | 447 | "%{Zdll:%{Zexe:%e-Zdll and -Zexe are incompatible}}" \ |
448 | 448 | "%{shared:%{Zexe:%e-shared and -Zexe are incompatible}}" \ |
449 | 449 | "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}" |
… |
… |
do { \
|
470 | 470 | #define LIB_SPEC \ |
471 | 471 | "-lc_alias " \ |
472 | 472 | "%{!static:-lc_dll}" \ |
473 | | "%{static:-lc%{p|pg:_p}_s %{!Zdll:%{!shared:-lc_app%{pg:_p}}}} " \ |
| 473 | "%{static:-lc%{p|pg:_p}_s %{!Zdll:%{!shared:-lc_app%{pg:_p}}} -lc_omf386} " \ |
474 | 474 | "-los2%{p|pg:_p}" |
475 | 475 | |
476 | 476 | /* Override the default crt0 files. |
477 | 477 | bird: we might consider kicking gcrt & mcrt stuff now... */ |
478 | 478 | #define STARTFILE_SPEC \ |
479 | 479 | "%{Zno-high-mem:}%{Zfork:}%{Zunix:}" \ |
480 | | "%{Zdll|shared:dll0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf:bj}%s}" \ |
481 | | "%{!Zdll:%{!shared:%{pg:gcrt0%O%{Zomf:bj}%s}" \ |
482 | | "%{!pg:%{pn:gcrt0%O%{Zomf:bj}%s}" \ |
483 | | "%{!pn:%{p:mcrt0%O%{Zomf:bj}%s}" \ |
484 | | "%{!p:crt0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%{Zargs-wild:wild}%{Zargs-resp:resp}%O%{Zomf:bj}%s}}}}" \ |
485 | | " %{Zbin-files:binmode%O%{Zomf:bj}%s}" \ |
486 | | " %{Zsmall-conv:smallcnv%O%{Zomf:bj}%s}}" |
| 480 | "%{Zdll|shared:dll0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf|static:bj}%s}" \ |
| 481 | "%{!Zdll:%{!shared:%{pg:gcrt0%O%{Zomf|static:bj}%s}" \ |
| 482 | "%{!pg:%{pn:gcrt0%O%{Zomf|static:bj}%s}" \ |
| 483 | "%{!pn:%{p:mcrt0%O%{Zomf|static:bj}%s}" \ |
| 484 | "%{!p:crt0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%{Zargs-wild:wild}%{Zargs-resp:resp}%O%{Zomf|static:bj}%s}}}}" \ |
| 485 | " %{Zbin-files:binmode%O%{Zomf|static:bj}%s}" \ |
| 486 | " %{Zsmall-conv:smallcnv%O%{Zomf|static:bj}%s}}" |
487 | 487 | |
488 | 488 | /* Prefer symbols in %L (-lc) over %G (libcAB.dll includes gcc3XY.dll). |
489 | 489 | For the GNU linker we need to repeate everything as it doesn't |
490 | 490 | restart the library search as the IBM and M$ linkers do. */ |
491 | | #define LINK_GCC_C_SEQUENCE_SPEC "%L %G %L %{!Zomf:%G %L %G %L %G %L}" |
| 491 | #define LINK_GCC_C_SEQUENCE_SPEC "%L %G %L %{!Zomf:%{!static:%G %L %G %L %G %L}}" |
492 | 492 | |
493 | | #define ENDFILE_SPEC "%{Zomf:-lend}" |
| 493 | #define ENDFILE_SPEC "%{Zomf|static:-lend}" |
494 | 494 | |
495 | 495 | /* Override the default linker program (collect2). */ |
496 | | #define LINKER_NAME "%{Zomf:emxomf}ld.exe" |
| 496 | #define LINKER_NAME "%{Zomf|static:emxomf}ld.exe" |
497 | 497 | |
498 | 498 | |
499 | 499 | |