[PATCH] gcc.c: new macro POST_LINK_SPECS to be able to add additional steps after linking
Andris Pavenis
andris.pavenis@iki.fi
Tue Nov 10 18:16:00 GMT 2015
One may need to execute extra steps after linking program. This is required
for example for DJGPP to run stubify.exe on file generated by linker.
The only way how to achieve was to use LINK_COMMAND_SPEC. It would be much easier
and less error prone to use new macro POST_LINK_SPEC introduced in this patch.
Andris
ChangeLog entry
2015 Nov 10 Andris Pavenis <andris.pavenis@iki.fi>
* gcc.c: new macro POST_LINK_SPEC
* doc/tm.texi.in: document POST_LINK_SPEC
* doc/tm.texi: regenerate
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-macro-POST_LINK_SPEC.patch
Type: text/x-patch
Size: 3438 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151110/8ff6e641/attachment.bin>
More information about the Gcc-patches
mailing list