Line 1... |
Line 1... |
/* BFD support for the ARM processor
|
/* BFD support for the ARM processor
|
Copyright 1994, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2007
|
Copyright 1994, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2009
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
Line 185... |
Line 185... |
&& (out == bfd_mach_arm_XScale
|
&& (out == bfd_mach_arm_XScale
|
|| out == bfd_mach_arm_iWMMXt
|
|| out == bfd_mach_arm_iWMMXt
|
|| out == bfd_mach_arm_iWMMXt2))
|
|| out == bfd_mach_arm_iWMMXt2))
|
{
|
{
|
_bfd_error_handler (_("\
|
_bfd_error_handler (_("\
|
ERROR: %B is compiled for the EP9312, whereas %B is compiled for XScale"),
|
error: %B is compiled for the EP9312, whereas %B is compiled for XScale"),
|
ibfd, obfd);
|
ibfd, obfd);
|
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
return FALSE;
|
return FALSE;
|
}
|
}
|
else if (out == bfd_mach_arm_ep9312
|
else if (out == bfd_mach_arm_ep9312
|
&& (in == bfd_mach_arm_XScale
|
&& (in == bfd_mach_arm_XScale
|
|| in == bfd_mach_arm_iWMMXt
|
|| in == bfd_mach_arm_iWMMXt
|
|| in == bfd_mach_arm_iWMMXt2))
|
|| in == bfd_mach_arm_iWMMXt2))
|
{
|
{
|
_bfd_error_handler (_("\
|
_bfd_error_handler (_("\
|
ERROR: %B is compiled for the EP9312, whereas %B is compiled for XScale"),
|
error: %B is compiled for the EP9312, whereas %B is compiled for XScale"),
|
obfd, ibfd);
|
obfd, ibfd);
|
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
return FALSE;
|
return FALSE;
|
}
|
}
|
else if (in > out)
|
else if (in > out)
|