This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: change DJGPP to use crt*.o.
- To: "Mark E." <snowball3 at bigfoot dot com>
- Subject: Re: change DJGPP to use crt*.o.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 14 Oct 1999 05:35:31 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199908190033.AAA27240@out2.ibm.net>you write:
> I found a subtle problem with the linker script. -Tdjgpp.djl must be after
> crtend.o
> when running collect2 or else nm will report that the resulting exe has no
> symbols.
>
> Sorry about having to do this again.
>
> gcc/ChangeLog:
>
> 1999-08-17 Mark Elbrecht <snowball3@bigfoot.com>
>
> * configure.in (extra_objects): Define.
> * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
> (DTORS_SECTION_ASM_OP): Define.
> (INIT_SECTION_ASM_OP): Define.
> (FINI_SECTION_ASM_OP): Define.
> (DATA_SECTION_ASM_OP): Define.
> (TEXT_SECTION_ASM_OP): Define.
> (EH_FRAME_SECTION_ASM_OP): Define.
> (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
> (STARTFILE_SPEC): Add crtbegin.o.
> (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
> to here from LINK_COMMAND_SPEC.
> (DO_GLOBAL_CTORS_BODY): Define.
> (CRTSTUFF_USE_FINI_SECTION): Define
> (HAS_INIT_SECTION): Delete.
>
Thanks. Installed.
However, please try to follow the ChangeLog format for future patches. It
is a waste of my time to have to always fix ChangeLogs.
* file (function): What changed.
(function #2) What changed.
(function #3) What changed.
jeff