Remove padding after vector table in init.S
This commit is contained in:
		
							parent
							
								
									6076eba61f
								
							
						
					
					
						commit
						c90727b05a
					
				| 
						 | 
				
			
			@ -11,7 +11,7 @@ ENTRY(_start)
 | 
			
		|||
SECTIONS
 | 
			
		||||
{
 | 
			
		||||
  .text : {
 | 
			
		||||
    . = ORIGIN(RAM) + 0xc0;
 | 
			
		||||
    . = ORIGIN(RAM) + 0x40;
 | 
			
		||||
    PROVIDE (_start = .);
 | 
			
		||||
    *(.text*)
 | 
			
		||||
    . = ALIGN(4);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,11 +49,6 @@ j \name
 | 
			
		|||
	VEC .halt
 | 
			
		||||
	VEC .halt
 | 
			
		||||
 | 
			
		||||
// TODO remove (update ldscripts first)
 | 
			
		||||
.rept 32
 | 
			
		||||
.word 0
 | 
			
		||||
.endr
 | 
			
		||||
 | 
			
		||||
// ----------------------------------------------------------------------------
 | 
			
		||||
// Reset handler
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ ENTRY(_start)
 | 
			
		|||
SECTIONS
 | 
			
		||||
{
 | 
			
		||||
  .text : {
 | 
			
		||||
    . = ORIGIN(RAM) + 0xc0;
 | 
			
		||||
    . = ORIGIN(RAM) + 0x40;
 | 
			
		||||
    PROVIDE (_start = .);
 | 
			
		||||
    *(.text*)
 | 
			
		||||
    . = ALIGN(4);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
TOP              := tb
 | 
			
		||||
 | 
			
		||||
CPU_RESET_VECTOR := 32'hc0
 | 
			
		||||
CPU_RESET_VECTOR := 32'h40
 | 
			
		||||
 | 
			
		||||
EXTENSION_C      := 1
 | 
			
		||||
EXTENSION_M      := 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue