This is the mail archive of the binutils@sources.redhat.com 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]

[patch] fix MIPS gas 'sync' testsuite entry


I'm going to check this in as a trivial patch in a few days unless
somebody screams.

this fixes a problem with the test on mips ECOFF targets
(e.g. mips-ecoff) where the .text section symbol would be preferred
over 'foo' because 'foo' is treated as a local/debugging symbol,
because it has no type info.

The same technique is used in e.g. mips4???.s.


cgd
===================================================================
Apply in gas/testsuite.

2001-03-24  Chris Demetriou  <cgd@broadcom.com>

	* sync.s: Declare 'foo' as a function so that this test
	will work on properly on ECOFF targets.

Index: gas/mips/sync.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/sync.s,v
retrieving revision 1.2
diff -c -r1.2 sync.s
*** sync.s	2000/12/03 20:50:35	1.2
--- sync.s	2001/03/24 07:48:23
***************
*** 1,5 ****
--- 1,6 ----
  	.text
  foo:
+ 	.ent foo
  	sync
  	sync.p
  	sync.l


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