diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-05-01 20:11:47 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-05-01 20:11:47 +0200 |
| commit | 76f011ada8641688dcf2762fc96e6daef94b260a (patch) | |
| tree | 5b1467b56efbe87a8bc62272c0665b639ddef83e /Sources | |
| parent | a78c432d6784665bb0211693e2dad96cc72f8445 (diff) | |
meta: reference correct entrypoint in linker.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Sources')
| -rw-r--r-- | Sources/64x0-cc.cc | 2 | ||||
| -rw-r--r-- | Sources/amd64-cplusplus.cc | 2 | ||||
| -rw-r--r-- | Sources/link.cc | 4 | ||||
| -rw-r--r-- | Sources/ppc-cc.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Sources/64x0-cc.cc b/Sources/64x0-cc.cc index de3eb65..c23e3c1 100644 --- a/Sources/64x0-cc.cc +++ b/Sources/64x0-cc.cc @@ -1129,7 +1129,7 @@ class AssemblyMountpointCLang final : public CompilerKit::AssemblyInterface { dest += ch; } - /* According to pef abi. */ + /* According to PEF ABI. */ std::vector<const char *> exts = kAsmFileExts; dest += exts[4]; diff --git a/Sources/amd64-cplusplus.cc b/Sources/amd64-cplusplus.cc index 4c80d88..edff0c5 100644 --- a/Sources/amd64-cplusplus.cc +++ b/Sources/amd64-cplusplus.cc @@ -259,7 +259,7 @@ class AssemblyMountpointClang final : public CompilerKit::AssemblyInterface { dest += ch; } - /* According to PEF abi. */ + /* According to PEF ABI. */ std::vector<const char*> exts = kAsmFileExts; dest += exts[3]; diff --git a/Sources/link.cc b/Sources/link.cc index 7e79ef2..03e4f6f 100644 --- a/Sources/link.cc +++ b/Sources/link.cc @@ -418,14 +418,14 @@ MPCC_MODULE(NewOSLinker) { if (!kStartFound && is_executable) { if (kVerbose) kStdOut - << "link: undefined entrypoint: __start, you may have forget to link " + << "link: undefined entrypoint: " << kPefStart << ", you may have forget to link " "against your compiler's runtime library.\n"; kStdOut << "link: undefined entrypoint " << kPefStart << " for executable: " << kOutput << "\n"; } - // step 4: write some pef commands. + // step 4: write all PEF commands. CompilerKit::PEFCommandHeader dateHeader{}; diff --git a/Sources/ppc-cc.cc b/Sources/ppc-cc.cc index 0dfdbc2..44489da 100644 --- a/Sources/ppc-cc.cc +++ b/Sources/ppc-cc.cc @@ -1146,7 +1146,7 @@ class AssemblyMountpointCLang final : public CompilerKit::AssemblyInterface { dest += ch; } - /* According to pef abi. */ + /* According to PEF ABI. */ std::vector<const char *> exts = kAsmFileExts; dest += exts[4]; |
