| Last change
 on this file since 3466 was             10, checked in by bird, 23 years ago | 
        
          | 
Initial revision
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.1
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 * | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | # Linker script for A/UX. | 
|---|
| 2 | test -z "$ENTRY" && ENTRY=_start | 
|---|
| 3 | INIT='.init : { *(.init) }' | 
|---|
| 4 | FINI='.fini : { *(.fini) }' | 
|---|
| 5 | CTORS='.ctors : { *(.ctors) }' | 
|---|
| 6 | DTORS='.dtors : { *(.dtors) }' | 
|---|
| 7 |  | 
|---|
| 8 | cat <<EOF | 
|---|
| 9 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | 
|---|
| 10 | ${LIB_SEARCH_DIRS} | 
|---|
| 11 |  | 
|---|
| 12 | ENTRY(${ENTRY}) | 
|---|
| 13 |  | 
|---|
| 14 | SECTIONS | 
|---|
| 15 | { | 
|---|
| 16 | .text ${RELOCATING+ $TEXT_START_ADDR} : { | 
|---|
| 17 | ${RELOCATING+ *(.init)} | 
|---|
| 18 | ${RELOCATING+ *(.fini)} | 
|---|
| 19 | *(.text) | 
|---|
| 20 | ${RELOCATING+ . = ALIGN(4);} | 
|---|
| 21 | ${RELOCATING+ *(.ctors)} | 
|---|
| 22 | ${RELOCATING+ *(.dtors)} | 
|---|
| 23 | ${RELOCATING+ etext = .;} | 
|---|
| 24 | ${RELOCATING+ _etext = .;} | 
|---|
| 25 | } =0x4E714E71 | 
|---|
| 26 | .data ${RELOCATING+ $DATA_ALIGNMENT} : { | 
|---|
| 27 | *(.data) | 
|---|
| 28 | ${RELOCATING+ edata = .;} | 
|---|
| 29 | ${RELOCATING+ _edata = .;} | 
|---|
| 30 | } | 
|---|
| 31 | .bss : { | 
|---|
| 32 | *(.bss) | 
|---|
| 33 | *(COMMON) | 
|---|
| 34 | ${RELOCATING+ end = .;} | 
|---|
| 35 | ${RELOCATING+ _end = .;} | 
|---|
| 36 | } | 
|---|
| 37 | ${RELOCATING- ${INIT}} | 
|---|
| 38 | ${RELOCATING- ${FINI}} | 
|---|
| 39 | ${RELOCATING- ${CTORS}} | 
|---|
| 40 | ${RELOCATING- ${DTORS}} | 
|---|
| 41 |  | 
|---|
| 42 | .comment 0 ${RELOCATING+(NOLOAD)} : { [ .comment ] [ .ident ] } | 
|---|
| 43 | .stab 0 ${RELOCATING+(NOLOAD)} : { [ .stab ] } | 
|---|
| 44 | .stabstr 0 ${RELOCATING+(NOLOAD)} : { [ .stabstr ] } | 
|---|
| 45 | } | 
|---|
| 46 | EOF | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.