rs6000.c (rs6000_file_start): Output gnu attribute for struct return convention.

* config/rs6000/rs6000.c (rs6000_file_start): Output gnu
	attribute for struct return convention.

From-SVN: r141510
This commit is contained in:
Nathan Froyd 2008-11-01 02:26:26 +00:00 committed by Nathan Froyd
parent a57b73a786
commit f9fd1e7778
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
* config/rs6000/rs6000.c (rs6000_file_start): Output gnu
attribute for struct return convention.
2008-10-31 Nathan Froyd <froydnj@codesourcery.com>
* config/rs6000/crtsavres.asm: Really, really delete.

View File

@ -2642,6 +2642,9 @@ rs6000_file_start (void)
(TARGET_ALTIVEC_ABI ? 2
: TARGET_SPE_ABI ? 3
: 1));
fprintf (file, "\t.gnu_attribute 12, %d\n",
aix_struct_return ? 2 : 1);
}
#endif