Define xmltarget_amd64_linux_no_xml only for amd64.

2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>

	* linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only
	if __x86_64__ is defined.
This commit is contained in:
H.J. Lu 2010-04-17 14:12:31 +00:00
parent 6cfa03d350
commit f6d1620c59
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
* linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only
if __x86_64__ is defined.
2010-04-16 Pierre Muller <muller@ics.u-strasbg.fr>
* configure: Regenerate.

View File

@ -46,10 +46,13 @@ static const char *xmltarget_i386_linux_no_xml = "@<target>\
<architecture>i386</architecture>\
<osabi>GNU/Linux</osabi>\
</target>";
#ifdef __x86_64__
static const char *xmltarget_amd64_linux_no_xml = "@<target>\
<architecture>i386:x86-64</architecture>\
<osabi>GNU/Linux</osabi>\
</target>";
#endif
#include <sys/reg.h>
#include <sys/procfs.h>