[patch] s390 support for tpf os

Eric Christopher echristo@redhat.com
Mon Jun 2 21:59:00 GMT 2003


For some reason this didn't appear to make it. I'm resending...

It's a pretty simple patch that allows a few things on the port.

1) Hooks into the tpf profiler to do something magic. :)
2) Allows using an SImode attribute for pointers so that compatibility
can exist between 31 and 64-bit code libraries. (lots of assembler
libraries that they, amazingly, don't want to write again)

If 32/64-bit code is ever enabled for the 64-bit OS then we'll have to
revisit parts of this patch, but it shouldn't be difficult to extend.

-eric
 
-- 
Eric Christopher <echristo@redhat.com>

2003-05-27  Eric Christopher  <echristo@redhat.com>

	* config/s390/s390.h: Add tpf support.
	(POINTERS_EXTEND_UNSIGNED): Define. Set to -1.
	* config/s390/s390.c (s390_emit_prologue): Change
	temp register for tpf target. Add hooks for tpf
	profiling.
	(s390_emit_epilogue): Add hooks for tpf
	profiling.
	* config/s390/s390.md (ptr_extend): New pattern.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: s390.diff
Type: text/x-patch
Size: 5794 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030602/034d45ae/attachment.bin>


More information about the Gcc-patches mailing list