This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Add start symbols to start.s


Hi Guys,

  I am going to apply the patch below to add a couple more symbols to
  the linker testsuite file ld-elf/start.s.  The "start" symbol is
  used by SH toolchains (amongst others) and the "main" symbol is
  used by HPPA toolchains.

Cheers
  Nick

ld/testsuite/ChangeLog
2006-05-22  Nick Clifton  <nickc@redhat.com>

	* ld-eld/start.s (start): Add this symbol for SH targets.
	(main): Add this symbol for HPPA targets.

Index: ld/testsuite/ld-elf/start.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/start.s,v
retrieving revision 1.2
diff -c -3 -p -r1.2 start.s
*** ld/testsuite/ld-elf/start.s	22 Feb 2005 18:29:19 -0000	1.2
--- ld/testsuite/ld-elf/start.s	22 May 2006 08:40:41 -0000
***************
*** 3,6 ****
--- 3,10 ----
  _start:
  	.global __start
  __start:
+ 	.global start	/* Used by SH targets.  */
+ start:
+ 	.global main	/* Used by HPPA targets.  */
+ main:
  	.long 0


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