mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-30 23:50:07 +00:00 
			
		
		
		
	 d650c37b2f
			
		
	
	
		d650c37b2f
		
	
	
	
	
		
			
			Some versions of ld with --build-id support will crash when using the flag with a linker script that discards notes. This bites ia64's check-segrel.lds. The bug is easy to avoid. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			203 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			203 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| SECTIONS {
 | |
| 	. = SIZEOF_HEADERS;
 | |
| 	.rodata : { *(.rodata) } :ro
 | |
| 	.note : { *(.note*) }
 | |
| 	. = 0xa0000;
 | |
| 	.data : { *(.data) } :dat
 | |
| 	/DISCARD/ : { *(*) }
 | |
| }
 | |
| PHDRS {
 | |
|   ro PT_LOAD FILEHDR PHDRS;
 | |
|   dat PT_LOAD;
 | |
| }
 |