File: m88kbcs.sc

package info (click to toggle)
binutils-m68k-linux 2.9.1.0.12-1
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 29,636 kB
  • ctags: 40,213
  • sloc: ansic: 360,171; asm: 20,244; exp: 9,325; sh: 7,087; makefile: 5,430; yacc: 4,600; lisp: 2,991; lex: 1,426; sed: 544; cpp: 206; awk: 24; perl: 16
file content (49 lines) | stat: -rw-r--r-- 1,305 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# These are substituted in as variables in order to get '}' in a shell
# conditional expansion.
INIT='.init : { *(.init) }'
FINI='.fini : { *(.fini) }'
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
ENTRY(__start)
${RELOCATING+${LIB_SEARCH_DIRS}}

SECTIONS 				
{ 					
  .text ${RELOCATING+ (0x20007 + SIZEOF_HEADERS) &~ 7} :
    {
      ${RELOCATING+ __.text.start = .};
      ${RELOCATING+ __.init.start = .};
      ${RELOCATING+ *(.init)}
      ${RELOCATING+ __.init.end = .};
      *(.text) 				
      ${RELOCATING+ __.tdesc_start = .};
      ${RELOCATING+ *(.tdesc)}
      ${RELOCATING+ __.text_end = .}	;
      ${RELOCATING+ __.initp.start = .};
      ${RELOCATING+ __.initp.end = .};
      ${RELOCATING+ __.fini_start = .};
      ${RELOCATING+ *(.fini) }
      ${RELOCATING+ __.fini_end = .};
      ${RELOCATING+_etext = .};
    }  					
  .data ${RELOCATING+ NEXT (0x400000) + ((SIZEOF(.text) + ADDR(.text)) % 0x2000)} :
    { 					
      *(.data)
      ${RELOCATING+_edata  =  .};
    }  					
  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
    { 		
      *(.bss)	
      *(COMMON) 	
      ${RELOCATING+ _end = .};
      ${RELOCATING+ __end = .};
    }
  ${RELOCATING- ${INIT}}
  ${RELOCATING- ${FINI}}
  .comment  0 ${RELOCATING+(NOLOAD)} : 
  {
    *(.comment)
  }
}
EOF