This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] fix MIPS gas 'sync' testsuite entry
- To: binutils at sources dot redhat dot com
- Subject: [patch] fix MIPS gas 'sync' testsuite entry
- From: cgd at sibyte dot com (Chris G. Demetriou)
- Date: 24 Mar 2001 00:07:39 -0800
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