delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20210112; | |
h=to:subject:message-id:date:from:references:in-reply-to:mime-version | |
:from:to:cc:subject:date:message-id:reply-to; | |
bh=VMtvGTe8M1z5sS66ff5FV3MBfU8vpsNfjQC061wq1e4=; | |
b=pnP8AKZ3nU4XDxx1YDDVowroHOJlT7K62/NyvSCW8ugLImGVjp26hCfPJReeZAuF3C | |
9vbfKkdfBMgJhnGw5DD2+Dx554FDoePlS72VrCpPbJacmkqrRxDKTzKsdkdQrh1D/IyO | |
W1yB1ztd4yas1dAWhSl3YGXsv14BWCgnW1HYK24VHopvS+revTrRJNQdm9SQ6/d2g6Ou | |
GrrpDIujrAIGASwmKdQIlHmDhEIKN8p37yKCW79sVslxMky47nn7ZsN+XD8BrvDfgH9H | |
igaJ21fvX3JbUjM496rMlunrdXP86SPwNxj9uBM8Hgl/XobnQW2ow56oBTX4MyLvJ3+o | |
mvgg== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20210112; | |
h=to:subject:message-id:date:from:references:in-reply-to:mime-version | |
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; | |
bh=VMtvGTe8M1z5sS66ff5FV3MBfU8vpsNfjQC061wq1e4=; | |
b=rFqYLBo0YUr09Q3kObrwr4KpHBbjOIoj3t23HmVFw3D0MLGpKF6KZBS9pduUvby8Uf | |
eyH1Ie3elofRgipaTt98Pv2lIx10O+DkNrIjPMQgV1Gr1fMBU8QLExIsPhMvg80MAcZ8 | |
CIsS+0Y3z6mLfCadsFSn4xZUd1VIfZQhBK+oxklGYt7EbStxBYEgB0JH0a0hRrjFW9nq | |
1a7eiW+u2g4VEOkDBkBYsIRp39BzkzpWxPfLVmJDO6z7EobMqVJh062qrSII4k6PwHzo | |
uD9lABvp5C2dmJK2mlRL5N6aBJdck+7xIKhX/JsxzdMP6bizf+r3Nfl5jbVanobdoJ6b | |
kyCg== | |
X-Gm-Message-State: | AFqh2krp5SU05PfMJWeBglxMYTqolZa+fT6InzUH0oBrUKtFyIQOFM4J |
WG2Cx12kjCahz3xnB+GVTyW9EE5C5VuJ54Vhf1Fo+Zyw | |
X-Google-Smtp-Source: | AMrXdXusp/JKvUlpGKxPsWemTJ2xggw3TxO8kPdLtKbNXfcj0od9TJnCJcPC+3OoUlm9LWZztEyk6hSWuTLx10RL0MA= |
X-Received: | by 2002:a05:600c:4ca7:b0:3cf:7b68:631 with SMTP id |
g39-20020a05600c4ca700b003cf7b680631mr1632296wmp.55.1674674741732; Wed, 25 | |
Jan 2023 11:25:41 -0800 (PST) | |
MIME-Version: | 1.0 |
In-Reply-To: | <af510754-38ff-b16e-4899-e8ef478aa46d@iki.fi> |
References: | <edefcfee-d1ce-415a-8d1d-525a660fb0d5n AT googlegroups DOT com> |
<63a56722-21d6-a368-6400-907f0cf9d01c AT gmail DOT com> <CAA2C=vCduRPA7Ky-kDqs=QtO-qi=DQczM6FMHhB+=Ltof54P=Q AT mail DOT gmail DOT com> | |
<c934abb6-c11e-0087-cd32-365d25d3f154 AT gmail DOT com> <CAA2C=vCHMXDD8iewRStieHyTcgjGF3=d29LmMT53vrzGYe+zMQ AT mail DOT gmail DOT com> | |
<CACuL_+CZm++qhEr7PedDmQaTxjZu9d-rVSw1bgPeist7XZ+dpQ AT mail DOT gmail DOT com> | |
<CAA2C=vDPwv5G9DeFKyKFqt39cDDmO4LmDtbtMyoMdRR2xeEkow AT mail DOT gmail DOT com> | |
<3b8f674c-bca3-c679-952e-f8ba5af196e7 AT gmail DOT com> <CAA2C=vBptnTAy2TA-pj5JCbAUJMiXkAAoP_xYFZZJ99iB7v9mQ AT mail DOT gmail DOT com> | |
<61e4c33f-af61-5828-5737-bcf05707ab4a AT gmail DOT com> <af510754-38ff-b16e-4899-e8ef478aa46d AT iki DOT fi> | |
From: | "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
Date: | Wed, 25 Jan 2023 22:25:40 +0300 |
Message-ID: | <CAA2C=vDRPAW6UqgQYhFa5LZn4RQfdH+XWcOGsbYLZcQSbBR49A@mail.gmail.com> |
Subject: | Re: DXE3 with std::vector |
To: | djgpp AT delorie DOT com |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
--000000000000187c3605f31b9973 Content-Type: text/plain; charset="UTF-8" On 1/25/23, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote: > On 1/23/23 20:06, J.W. Jagersma (jwjagersma AT gmail DOT com) [via > djgpp AT delorie DOT com] wrote: >> On 2023-01-23 05:00, Ozkan Sezer (sezeroz AT gmail DOT com) [via >> djgpp AT delorie DOT com] wrote: >>> The thing is, dxe3gen invokes ld, not gcc. gcc is a front-end to ld >>> and handles any such ugliness behind the scene and doing the same for >>> dxe3gen might be a real pain. >> I think the tricky part is to prevent gcc from invoking stubify on the >> resulting object file. Otherwise, it doesn't look too difficult. Just >> replace >> param sequences such as "-T" "dxe.ld" with "-Wl,-T,dxe.ld". The same can >> be >> done for DXE_AS. > It is should be easy: > > 1) dump GCC specs (gcc -dumpspecs >some_file > > 2) delete next line after line containing '*post_link:' > > 3) use that file in -T option > > > Andris No '*post_link:' in my gcc's dumpspecs (gcc-3.4.6, cross- from linux.) --000000000000187c3605f31b9973 Content-Type: text/plain; charset="US-ASCII"; name="dumpspecs.txt" Content-Disposition: attachment; filename="dumpspecs.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: file1 KmFzbToKCgoqYXNtX2RlYnVnOgole2dzdGFicyo6LS1nc3RhYnN9JXshZ3N0YWJzKjole2cqOi0t Z2R3YXJmMn19Cgo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1tbm8tc3NlMyAlbmAtbW5v LXBuaScgaXMgZGVwcmVjYXRlZC4gVXNlIGAtbW5vLXNzZTMnIGluc3RlYWQuCn0gJXttaW50ZWwt c3ludGF4Oi1tYXNtPWludGVsICVuYC1taW50ZWwtc3ludGF4JyBpcyBkZXByZWNhdGVkLiBVc2Ug YC1tYXNtPWludGVsJyBpbnN0ZWFkLgp9ICV7bW5vLWludGVsLXN5bnRheDotbWFzbT1hdHQgJW5g LW1uby1pbnRlbC1zeW50YXgnIGlzIGRlcHJlY2F0ZWQuIFVzZSBgLW1hc209YXR0JyBpbnN0ZWFk Lgp9CgoqbGlua19jb21tYW5kOgoleyFmc3ludGF4LW9ubHk6JXshYzoleyFNOiV7IU1NOiV7IUU6 JXshUzogICAgJShsaW5rZXIpICVsICV7cGllOi1waWV9ICVYICV7byp9ICV7QX0gJXtkfSAle2Uq fSAle219ICV7Tn0gJXtufSAle3J9ICAgICV7c30gJXt0fSAle3UqfSAle3h9ICV7en0gJXtafSAl eyFBOiV7IW5vc3RkbGliOiV7IW5vc3RhcnRmaWxlczolU319fSAgICAle3N0YXRpYzp9ICV7TCp9 ICUobGlua19saWJnY2MpICVvICV7ZnByb2ZpbGUtYXJjc3xmcHJvZmlsZS1nZW5lcmF0ZTotbGdj b3Z9ICAgICV7IW5vc3RkbGliOiV7IW5vZGVmYXVsdGxpYnM6JShsaW5rX2djY19jX3NlcXVlbmNl KX19ICAgICV7IUE6JXshbm9zdGRsaWI6JXshbm9zdGFydGZpbGVzOiVFfX19ICAgICV7IVQqOi1U ZGpncHAteC5kamx9ICV7VCp9IH19fX19fQoleyFjOiV7IU06JXshTU06JXshRToleyFTOnN0dWJp ZnkgJXt2fSAle28qOiUqfSAleyFvKjphLm91dH0gfX19fX0KCg== --000000000000187c3605f31b9973--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |