~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/parisc/boot/compressed/vmlinux.lds.S

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #include <asm-generic/vmlinux.lds.h>
  2 #include <asm/page.h>
  3 #include "sizes.h"
  4 
  5 #ifndef CONFIG_64BIT
  6 OUTPUT_FORMAT("elf32-hppa-linux")
  7 OUTPUT_ARCH(hppa)
  8 #else
  9 OUTPUT_FORMAT("elf64-hppa-linux")
 10 OUTPUT_ARCH(hppa:hppa2.0w)
 11 #endif
 12 
 13 ENTRY(startup)
 14 
 15 SECTIONS
 16 {
 17         /* palo loads at 0x60000 */
 18         /* loaded kernel will move to 0x10000 */
 19         . = 0xe0000;    /* should not overwrite palo code */
 20 
 21         .head.text : {
 22                 _head = . ;
 23                 HEAD_TEXT
 24                 _ehead = . ;
 25         }
 26 
 27         /* keep __gp below 0x1000000 */
 28 #ifdef CONFIG_64BIT
 29         . = ALIGN(16);
 30         /* Linkage tables */
 31         .opd : {
 32                 __start_opd = .;
 33                 *(.opd)
 34                 __end_opd = .;
 35         } PROVIDE (__gp = .);
 36         .plt : {
 37                 *(.plt)
 38         }
 39         .dlt : {
 40                 *(.dlt)
 41         }
 42 #endif
 43         _startcode_end = .;
 44 
 45         /* vmlinux.bin.gz is here */
 46         . = ALIGN(8);
 47         .rodata.compressed : {
 48                 *(.rodata.compressed)
 49         }
 50 
 51         /* bootloader code and data starts at least behind area of extracted kernel */
 52         . = MAX(ABSOLUTE(.), (SZ_end - SZparisc_kernel_start + KERNEL_BINARY_TEXT_START));
 53 
 54         /* align on next page boundary */
 55         . = ALIGN(4096);
 56         .text : {
 57                 _text = .;      /* Text */
 58                 *(.text)
 59                 *(.text.*)
 60                 _etext = . ;
 61         }
 62         . = ALIGN(8);
 63         .data : {
 64                 _data = . ;
 65                 *(.data)
 66                 *(.data.*)
 67                 _edata = . ;
 68         }
 69         . = ALIGN(8);
 70         .rodata : {
 71                 _rodata = . ;
 72                 *(.rodata)       /* read-only data */
 73                 *(.rodata.*)
 74                 _erodata = . ;
 75         }
 76         . = ALIGN(8);
 77         .bss : {
 78                 _bss = . ;
 79                 *(.bss)
 80                 *(.bss.*)
 81                 *(COMMON)
 82                 . = ALIGN(4096);
 83                 _ebss = .;
 84         }
 85 
 86         STABS_DEBUG
 87         ELF_DETAILS
 88         .note 0 : { *(.note) }
 89 
 90         /* Sections to be discarded */
 91         DISCARDS
 92         /DISCARD/ : {
 93 #ifdef CONFIG_64BIT
 94                 /* temporary hack until binutils is fixed to not emit these
 95                  * for static binaries
 96                  */
 97                 *(.PARISC.unwind)       /* no unwind data */
 98                 *(.interp)
 99                 *(.dynsym)
100                 *(.dynstr)
101                 *(.dynamic)
102                 *(.hash)
103                 *(.gnu.hash)
104 #endif
105         }
106 }

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php