Add .note and DWARF3 sections to RX linker scripts.
* rx/rx.ld: Add .note and DWARF3 sections. * rx/rx-sim.ld: Likewise.
This commit is contained in:
		
				
					committed by
					
						 Corinna Vinschen
						Corinna Vinschen
					
				
			
			
				
	
			
			
			
						parent
						
							853fcd8936
						
					
				
				
					commit
					45d0b17928
				
			| @@ -1,3 +1,8 @@ | ||||
| 2015-04-08  Nick Clifton  <nickc@redhat.com> | ||||
|  | ||||
| 	* rx/rx.ld: Add .note and DWARF3 sections. | ||||
| 	* rx/rx-sim.ld: Likewise. | ||||
|  | ||||
| 2015-04-07  Nick Clifton  <nickc@redhat.com> | ||||
|  | ||||
| 	* rl78/rl78.ld (.csstart): Add a KEEP directive. | ||||
|   | ||||
| @@ -188,6 +188,7 @@ SECTIONS | ||||
|   } | ||||
|  | ||||
|   /* The rest are all not normally part of the runtime image.  */ | ||||
|   .note : { *(.note) } | ||||
|  | ||||
|   /* Stabs debugging sections.  */ | ||||
|   .stab          0 : { *(.stab) } | ||||
| @@ -222,5 +223,10 @@ SECTIONS | ||||
|   .debug_funcnames 0 : { *(.debug_funcnames) } | ||||
|   .debug_typenames 0 : { *(.debug_typenames) } | ||||
|   .debug_varnames  0 : { *(.debug_varnames) } | ||||
|   /* DWARF 3 */ | ||||
|   .debug_pubtypes 0 : { *(.debug_pubtypes) } | ||||
|   .debug_ranges   0 : { *(.debug_ranges) } | ||||
|   /* DWARF Extension.  */ | ||||
|   .debug_macro    0 : { *(.debug_macro) } | ||||
|   /DISCARD/ : { *(.note.GNU-stack) } | ||||
| } | ||||
|   | ||||
| @@ -192,6 +192,7 @@ SECTIONS | ||||
|   } | ||||
|  | ||||
|   /* The rest are all not normally part of the runtime image.  */ | ||||
|   .note : { *(.note) } | ||||
|  | ||||
|   /* Stabs debugging sections.  */ | ||||
|   .stab          0 : { *(.stab) } | ||||
| @@ -226,5 +227,10 @@ SECTIONS | ||||
|   .debug_funcnames 0 : { *(.debug_funcnames) } | ||||
|   .debug_typenames 0 : { *(.debug_typenames) } | ||||
|   .debug_varnames  0 : { *(.debug_varnames) } | ||||
|   /* DWARF 3 */ | ||||
|   .debug_pubtypes 0 : { *(.debug_pubtypes) } | ||||
|   .debug_ranges   0 : { *(.debug_ranges) } | ||||
|   /* DWARF Extension.  */ | ||||
|   .debug_macro    0 : { *(.debug_macro) } | ||||
|   /DISCARD/ : { *(.note.GNU-stack) } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user