[patch] conditionally declare bswap functions depending on target

Eric Christopher echristo@apple.com
Tue Jul 3 15:35:00 GMT 2007

> The target I am working on is 16-bit target and cannot support 64- 
> bit data types (DI mode).
> How about conditionally declare the function?
> extern DItype __bswapdi2 (DItype);
> #endif

So, I finally got around to this patch. While I was at it I went ahead  
and check SImode as well.

Tested on mips64vr-elf and x86-darwin.



2007-07-03  Eric Christopher  <echristo@gmail.com>

	* libgcc2.h: Conditionally include __bswapsi2 and

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libgcc2.h.diff.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070703/a9fffb4f/attachment.txt>
-------------- next part --------------

More information about the Gcc mailing list