mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 01:30:44 +08:00
+2003-11-13 Andrew Pinski <apinski@apple.com> + + * config/darwin.c...
+2003-11-13 Andrew Pinski <apinski@apple.com> + + * config/darwin.c (machopic_output_possible_stub_label): + Allow stub symbol be not defined when outputting possible + stub label. + +2003-11-13 Andrew Pinski <apinski@apple.com> + + * gcc.c-torture/compile/20031113-1.c: New test. + From-SVN: r73570
This commit is contained in:
parent
d794fb9fbc
commit
a25d596a29
@ -1,3 +1,9 @@
|
||||
2003-11-13 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
* config/darwin.c (machopic_output_possible_stub_label):
|
||||
Allow stub symbol be not defined when outputting possible
|
||||
stub label.
|
||||
|
||||
2003-11-13 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/lib1funcs.asm (___udivsi3): Jump to reti
|
||||
|
@ -1116,7 +1116,7 @@ machopic_output_possible_stub_label (FILE *file, const char *name)
|
||||
const char *sym_name;
|
||||
|
||||
sym_name = IDENTIFIER_POINTER (TREE_VALUE (temp));
|
||||
if (sym_name[0] == '!' && sym_name[1] == 'T'
|
||||
if (sym_name[0] == '!' && (sym_name[1] == 'T' || sym_name[1] == 't')
|
||||
&& ! strcmp (name+2, sym_name+2))
|
||||
{
|
||||
ASM_OUTPUT_LABEL (file, IDENTIFIER_POINTER (TREE_PURPOSE (temp)));
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-11-13 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
* gcc.c-torture/compile/20031113-1.c: New test.
|
||||
|
||||
2003-11-13 Mark Mitchell <mark@codesourcery.com>
|
||||
Kean Johnston <jkj@sco.com>
|
||||
|
||||
|
21
gcc/testsuite/gcc.c-torture/compile/20031113-1.c
Normal file
21
gcc/testsuite/gcc.c-torture/compile/20031113-1.c
Normal file
@ -0,0 +1,21 @@
|
||||
/* On Darwin, the stub for simple_cst_equal was not being emitted at all
|
||||
causing the as to die and not create an object file. */
|
||||
|
||||
int
|
||||
attribute_list_contained ()
|
||||
{
|
||||
return (simple_cst_equal ());
|
||||
}
|
||||
int
|
||||
simple_cst_list_equal ()
|
||||
{
|
||||
return (simple_cst_equal ());
|
||||
}
|
||||
|
||||
|
||||
int __attribute__((noinline))
|
||||
simple_cst_equal ()
|
||||
{
|
||||
return simple_cst_list_equal ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user