* arm/Makefile.in: Add support for new pid specs.
        * arm/coff-iq80310.specs: Change to allow future support.
        * arm/elf-iq80310.specs: Ditto.
        * arm/elf-redboot.specs: Ditto.
        * arm/coff-redboot.ld: Add EH frame support.
        * arm/redboot-crt0.S: Add optional code to clear bss without
        memset.
        * arm/coff-pid.specs: New file.
        * arm/elf-pid.specs: New file.
		
	
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| OUTPUT_FORMAT("coff-arm-little", "coff-arm-big", "coff-arm-little")
 | |
|  SEARCH_DIR(/toolbin/xscale-coff/lib);
 | |
| ENTRY(_start)
 | |
| SECTIONS
 | |
| {
 | |
|   /* We start at 0x8000 because gdb assumes it (see FRAME_CHAIN).
 | |
|      This is an artifact of the ARM Demon monitor using the bottom 32k
 | |
|      as workspace (shared with the FP instruction emulator if
 | |
|      present): */
 | |
|   .text  0x8000 : {
 | |
|     *(.init)
 | |
|     *(.text*)
 | |
|     *(.glue_7t)
 | |
|     *(.glue_7)
 | |
|     *(.rdata)
 | |
|      ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
 | |
| 			LONG (-1); *(.ctors); *(.ctor); LONG (0); 
 | |
|      ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
 | |
| 			LONG (-1); *(.dtors); *(.dtor);  LONG (0); 
 | |
|     *(.fini)
 | |
|      etext  =  .;
 | |
|      _etext  =  .;
 | |
|   }
 | |
|   .data 0x40000 + (. & 0xfffc0fff) : {
 | |
|       __data_start__ = . ;
 | |
|     *(.data*)
 | |
|     *(.gcc_exc*)
 | |
|     ___EH_FRAME_BEGIN__ = . ;
 | |
|     *(.eh_fram*)
 | |
|     ___EH_FRAME_END__ = . ;
 | |
|     LONG(0);
 | |
|      __data_end__ = . ;
 | |
|      edata  =  .;
 | |
|      _edata  =  .;
 | |
|   }
 | |
|   .bss  SIZEOF(.data) + ADDR(.data) :
 | |
|   { 					
 | |
|      __bss_start__ = . ;
 | |
|     *(.bss)
 | |
|     *(COMMON)
 | |
|      __bss_end__ = . ;
 | |
|   }
 | |
|    end = .;
 | |
|    _end = .;
 | |
|    __end__ = .;
 | |
|   .stab  0 (NOLOAD) : 
 | |
|   {
 | |
|     [ .stab ]
 | |
|   }
 | |
|   .stabstr  0 (NOLOAD) :
 | |
|   {
 | |
|     [ .stabstr ]
 | |
|   }
 | |
| }
 |