mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-31 22:10:34 +03:00 
			
		
		
		
	This patch adds a jmp_buf-macros.h for ColdFire. In conjunction with a GCC patch to fix the libgcc build failure for ColdFire <https://gcc.gnu.org/ml/gcc-patches/2018-01/msg02064.html> this suffices to restore the build (tested with build-many-glibcs.py). A further patch will be needed for soft-float ColdFire (while the function-calling ABI is the same for hard-float and soft-float ColdFire, it turns out the glibc ABI is not - so another ColdFire variant will be needed in build-many-glibcs.py), but I'll deal with that separately. Tested with build-many-glibcs.py (m68k-linux-gnu and m68k-linux-gnu-coldfire). (There's a localplt test failure for coldfire; that's the only failure in the compilation part of the testsuite.) * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to .... * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here. * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New file.
		
			
				
	
	
		
			7 lines
		
	
	
		
			168 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			168 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #define JMP_BUF_SIZE 288
 | |
| #define SIGJMP_BUF_SIZE 288
 | |
| #define JMP_BUF_ALIGN 2
 | |
| #define SIGJMP_BUF_ALIGN 2
 | |
| #define MASK_WAS_SAVED_OFFSET 156
 | |
| #define SAVED_MASK_OFFSET 160
 |