diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-30 14:32:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-30 14:32:52 +0000 |
commit | 5022f81174678bf7f032e8ee614552659565497b (patch) | |
tree | 71414a09fc1ae1488b810a626f757bd0a8bd0c81 /nuttx/binfmt | |
parent | ce2653116a6d2a59f4d976418e662883a6d47210 (diff) | |
download | px4-firmware-5022f81174678bf7f032e8ee614552659565497b.tar.gz px4-firmware-5022f81174678bf7f032e8ee614552659565497b.tar.bz2 px4-firmware-5022f81174678bf7f032e8ee614552659565497b.zip |
Add documentation for the binary loader
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5278 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/libelf/gnu-elf.ld | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/nuttx/binfmt/libelf/gnu-elf.ld b/nuttx/binfmt/libelf/gnu-elf.ld index bdf82836b..b2a3dc113 100644 --- a/nuttx/binfmt/libelf/gnu-elf.ld +++ b/nuttx/binfmt/libelf/gnu-elf.ld @@ -1,5 +1,5 @@ /**************************************************************************** - * examples/elf/gnu-elf.ld + * binfmt/libelf/gnu-elf.ld * * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -51,8 +51,8 @@ SECTIONS */ *(.gnu.linkonce.t.*) - *(.init) - *(.fini) + *(.init) /* Old ABI */ + *(.fini) /* Old ABI */ _etext = . ; } @@ -86,15 +86,17 @@ SECTIONS .ctors : { - _sctros = . ; - *(.ctors) + _sctors = . ; + *(.ctors) /* Old ABI: Unallocated */ + *(.init_array) /* New ABI: Allocated */ _edtors = . ; } - .ctors : + .dtors : { _sdtors = . ; - *(.dtors) + *(.dtors) /* Old ABI: Unallocated */ + *(.fini_array) /* New ABI: Allocated */ _edtors = . ; } |