assembler directives, ha16() and has16(), for the upper half; has16() applies the sign adjustment. .powerpcfixup is now gone, as we generate the relocation in ha*() instead. Add special logic to the linker for undoing and redoing the sign adjustment when reading/writing fixups. Tests still pass.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			462 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			462 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
 | 
						|
 * See the copyright notice in the ACK home directory, in the file "Copyright".
 | 
						|
 */
 | 
						|
/* $Id$ */
 | 
						|
 | 
						|
#ifdef NDEBUG
 | 
						|
 | 
						|
#define debug(s, a1, a2, a3, a4)
 | 
						|
 | 
						|
#else
 | 
						|
extern int DEB;
 | 
						|
 | 
						|
#define debug(s, a1, a2, a3, a4)	(DEB && printf(s, a1, a2, a3, a4))
 | 
						|
 | 
						|
#endif
 | 
						|
 | 
						|
extern int Verbose;
 | 
						|
#define verbose(s, a1, a2, a3, a4)	(Verbose && do_verbose(s, a1, a2, a3, a4))
 | 
						|
 | 
						|
extern void fatal(char* format, ...);
 |