diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-10 19:36:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-10 19:36:32 +0000 |
commit | b71fcbb0de3d1e1ad8011303ade8bc38c83486d2 (patch) | |
tree | a7e079e6eb35c02ca4bc048c099c84b4b19ab2c5 /nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld | |
parent | 6cb1bc7e67e65faecdafc169b0f897645bb8ea83 (diff) | |
download | px4-firmware-b71fcbb0de3d1e1ad8011303ade8bc38c83486d2.tar.gz px4-firmware-b71fcbb0de3d1e1ad8011303ade8bc38c83486d2.tar.bz2 px4-firmware-b71fcbb0de3d1e1ad8011303ade8bc38c83486d2.zip |
More fixes for ldnxflat. There are still problems with the GCC 4.6.3
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5227 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld')
-rw-r--r-- | nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld b/nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld index c0487212a..47debd663 100644 --- a/nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld +++ b/nuttx/binfmt/libnxflat/gnu-nxflat-gotoff.ld @@ -107,11 +107,16 @@ SECTIONS .data 0x00000000 : { + /* In this model, .rodata is access using PC-relative addressing + * and, hence, must also reside in the .text section. + */ + __data_start = . ; *(.rodata) *(.rodata1) *(.rodata.*) *(.gnu.linkonce.r*) + *(.data) *(.data1) *(.data.*) |