mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			98 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			98 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
| diff -drupN a/tools/pm-sleep/u-boot.lds b/tools/pm-sleep/u-boot.lds
 | |
| --- a/tools/pm-sleep/u-boot.lds	1970-01-01 03:00:00.000000000 +0300
 | |
| +++ b/tools/pm-sleep/u-boot.lds	2022-06-09 05:02:37.000000000 +0300
 | |
| @@ -0,0 +1,93 @@
 | |
| +OUTPUT_ARCH(mips)
 | |
| +ENTRY(_start)
 | |
| +SECTIONS
 | |
| +{
 | |
| + . = 0x00000000;
 | |
| + . = ALIGN(4);
 | |
| + .text : {
 | |
| +  __start = .;
 | |
| +  *(.start_section*)
 | |
| +  *(.text*)
 | |
| + }
 | |
| + . = ALIGN(4);
 | |
| + .rodata : {
 | |
| +  *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
 | |
| + }
 | |
| + . = ALIGN(4);
 | |
| + .data : {
 | |
| +  *(.data*)
 | |
| + }
 | |
| + . = .;
 | |
| + _gp = ALIGN(16) + 0x7ff0;
 | |
| + .got : {
 | |
| +  *(.got)
 | |
| + }
 | |
| + num_got_entries = SIZEOF(.got) >> 2;
 | |
| + . = ALIGN(4);
 | |
| + .sdata : {
 | |
| +  *(.sdata*)
 | |
| + }
 | |
| + . = ALIGN(4);
 | |
| + .u_boot_list : {
 | |
| +  KEEP(*(SORT(.u_boot_list*)));
 | |
| + }
 | |
| + . = ALIGN(4);
 | |
| + __image_copy_end = .;
 | |
| + __init_end = .;
 | |
| +
 | |
| + .rel.dyn : {
 | |
| +  __rel_dyn_start = .;
 | |
| +  *(.rel.dyn)
 | |
| +  __rel_dyn_end = .;
 | |
| + }
 | |
| + .deadcode : {
 | |
| +  LONG(0xffffffff);
 | |
| + }
 | |
| +
 | |
| +  _end = .;
 | |
| +
 | |
| + .bss __rel_dyn_start (OVERLAY) : {
 | |
| +  __bss_start = .;
 | |
| +  *(.sbss.*)
 | |
| +  *(.bss.*)
 | |
| +  *(COMMON)
 | |
| +  . = ALIGN(4);
 | |
| +  __bss_end = .;
 | |
| + }
 | |
| +
 | |
| +	.dynsym _end : {
 | |
| +		*(.dynsym)
 | |
| +	}
 | |
| +
 | |
| +	.dynbss : {
 | |
| +		*(.dynbss)
 | |
| +	}
 | |
| +
 | |
| +	.dynstr : {
 | |
| +		*(.dynstr)
 | |
| +	}
 | |
| +
 | |
| +	.dynamic : {
 | |
| +		*(.dynamic)
 | |
| +	}
 | |
| +
 | |
| +	.plt : {
 | |
| +		*(.plt)
 | |
| +	}
 | |
| +
 | |
| +	.interp : {
 | |
| +		*(.interp)
 | |
| +	}
 | |
| +
 | |
| +	.gnu : {
 | |
| +		*(.gnu*)
 | |
| +	}
 | |
| +
 | |
| +	.MIPS.stubs : {
 | |
| +		*(.MIPS.stubs)
 | |
| +	}
 | |
| +
 | |
| +	.hash : {
 | |
| +		*(.hash)
 | |
| +	}
 | |
| +}
 |