diff options
Diffstat (limited to 'other-licence/common/module.lds')
-rw-r--r-- | other-licence/common/module.lds | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/other-licence/common/module.lds b/other-licence/common/module.lds index c17a055..df42f53 100644 --- a/other-licence/common/module.lds +++ b/other-licence/common/module.lds @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (c) 2004, 2008 IBM Corporation + * Copyright (c) 2004, 2011 IBM Corporation * All rights reserved. * This program and the accompanying materials * are made available under the terms of the BSD License @@ -17,23 +17,24 @@ ENTRY(module_init) SECTIONS { .code 0xF800000: { + __module_start = .; ../common/module_entry.o(.opd) *(.text .stub .text.* .gnu.linkonce.t.*) *(.sfpr .glink) - *(.rodata .rodata.* .gnu.linkonce.r.*) + *(.rodata .rodata.* .gnu.linkonce.r.*) *(.data .data.* .gnu.linkonce.d.*) *(.opd) } .got : { _got = .; - *(.got .toc) + *(.got .toc) } - .bss : { + .bss : + { __bss_start = .; - *(*COM* .bss .gnu.linkonce.b.*) + *(*COM* .bss .gnu.linkonce.b.*) __bss_end = .; } - __bss_size = (__bss_end - __bss_start); - __end = .; + __module_end = .; } |