File: make_linker_eo_script

package info (click to toggle)
asterisk 1%3A1.8.13.1~dfsg1-3%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,336 kB
  • sloc: ansic: 497,975; sh: 11,763; cpp: 5,934; makefile: 3,065; perl: 3,019; yacc: 2,147; xml: 498; sql: 387; tcl: 113; php: 62; python: 42
file content (27 lines) | stat: -rwxr-xr-x 799 bytes parent folder | download | duplicates (10)
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
#!/bin/sh

cat << EOF
SECTIONS {
.text : { *(.text) }
.data : { __${1}_data_start = . ; *(.data) __${1}_data_end = . ;}
.rodata : { *(.rodata*) }
.bss : { __${1}_bss_start = . ; *(.bss) __${1}_bss_end = . ;}
.debug_abbrev : { *(.debug_abbrev) }
.debug_info : { *(.debug_info) }
.debug_line : { *(.debug_line) }
.debug_macinfo : { *(.debug_macinfo) }
.dtors : { *(.dtors) }
.ctors : { *(.ctors) }
.data.rel.local : { *(.data.rel.local) }
.data.rel.ro.local : { *(.data.rel.ro.local) }
.debug_frame : { *(.debug_frame) }
.eh_frame : { *(.eh_frame) }
.debug_loc : { *(.debug_loc) }
.debug_pubname : { *(.debug_pubname) }
.debug_aranges : { *(.debug_aranges) }
.debug_ranges : { *(.debug_ranges) }
.debug_str : { *(.debug_str) }
.comment : { *(.comment) }
.note.GNU-stack : { *(.note.GNU-stack) }
}
EOF