OSDN Git Service

* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
[pf3gnuchains/gcc-fork.git] / gcc / config / libgloss.h
index eed76e0..f73982b 100644 (file)
@@ -19,15 +19,19 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+/* This file should not be used for ELF targets, as this definition of
+   STARTFILE_SPEC is all wrong.  */
+
 /* The libgloss standard for crt0.s has the name based on the command line
-   option. */
+   option.  */
 #undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%
-O%s}}}"
+#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
 
-/* Don't set the target flags, this is done by the linker script */
-#undef LINK_SPEC
-#define LINK_SPEC ""
+/* This file used to force LINK_SPEC to be the null string, but that is not
+   correct.  LINK_SPEC is used to pass machine specific arguments to the
+   linker and hence can not be redefined here.  LINK_SPEC is never used to
+   specify startup files or libraries, so it should never conflict with
+   libgloss.  */
 
 /* Don't set the target flags, this is done by the linker script */
 #undef LIB_SPEC