This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch installed for dsp16xx cross-compile


When I cross-compile to dsp16xx-unknown-elf, I get a link error for
cc1 saying that dsp16xx_umulhi3_libcall was referenced and undefined.
It's referenced from gtype-desc.c, but not defined or used anywhere.
This patch fixes it.

Tested via cross-compiling cc1 targetted to dsp16xx-unknown-elf.

Installed as obvious.


2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.

diff -rup orig/egcc-CVS20020820/gcc/config/dsp16xx/dsp16xx.h egcc-CVS20020820/gcc/config/dsp16xx/dsp16xx.h
--- orig/egcc-CVS20020820/gcc/config/dsp16xx/dsp16xx.h	Tue Jul 30 22:10:51 2002
+++ egcc-CVS20020820/gcc/config/dsp16xx/dsp16xx.h	Tue Aug 20 22:02:06 2002
@@ -41,7 +41,6 @@ extern GTY(()) rtx dsp16xx_cmphf3_libcal
 extern GTY(()) rtx dsp16xx_fixhfhi2_libcall;
 extern GTY(()) rtx dsp16xx_floathihf2_libcall;
 extern GTY(()) rtx dsp16xx_neghf2_libcall;
-extern GTY(()) rtx dsp16xx_umulhi3_libcall;
 extern GTY(()) rtx dsp16xx_mulhi3_libcall;
 extern GTY(()) rtx dsp16xx_udivqi3_libcall;
 extern GTY(()) rtx dsp16xx_udivhi3_libcall;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]