This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: change DJGPP to use crt*.o.


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]