Commit Graph

11 Commits

Author SHA1 Message Date
Martin Hauke 1f7a2ab5d3 Fix common misspellings and typos
Change-Id: I962b42871693f33b1054d43d195817e9cd84bb64
2019-10-17 08:07:39 +00:00
Harald Welte 01e374d27c firmware/Makefile.inc: fix sections with overlapping VMA
Starting from [1], not only LMA but also VMA areas are now checked
for overlaps (see also [2]). This results into linking errors:

  arm-none-eabi-ld: section .text.exceptions VMA
    [000000000080001c,0000000000800037] overlaps section
    .compal.reservedram VMA [0000000000800000,00000000008000fe]
  arm-none-eabi-ld: section .text.exceptions VMA
    [000000000080001c,0000000000800037] overlaps section
    .compal.loader VMA [0000000000800000,00000000008000ff]

Let's try to work around this.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a87dd97a2098b7e18ff2574a4e81ae521ef7e6f2
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=18452

Change-Id: I098ddd33aabd7ec27981e2f09d8582f167bb649b
Fixes: OS#1917
2019-05-13 02:28:36 +07:00
Steve Markgraf a903b3c1ee fw: tell linker to add init_array to ctor section
Starting with version 4.8, gcc places functions
with __attribute__ ((constructor)) in .init_array
instead of .ctors by default.

This broke firmware images built with gcc >= 4.8.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-29 20:33:26 +01:00
Sylvain Munaut f853f92e47 fw: Fix link scripts to represent reality more accurately
Previously they were hacks to allow build ...
Not needed now.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-02 20:44:11 +01:00
Andreas Eversberg 0fd73c5e0f firmware: Increased data size for for ram linker scripts.
This is required, since monitor app requires a litte more than 64k.
2012-02-04 00:04:58 +01:00
Ingo Albrecht 1ad5036c0e firmware: fixed linkage of ctors and dtors for ram images 2010-07-20 14:41:20 +02:00
Ingo Albrecht bb886b7f28 firmware: untabify linker scripts. 2010-07-20 14:41:20 +02:00
Ingo Albrecht dd6522d1f4 firmware: fixed ctor linkage 2010-07-20 14:41:20 +02:00
Ingo Albrecht 41137ab3e5 firmware: establish a ramtext section for code that must be in ram 2010-07-20 14:41:20 +02:00
Ingo Albrecht 02d57bfcf9 firmware: modularized startup code 2010-07-20 14:41:19 +02:00
Ingo Albrecht 0068f87c1f firmware: linker script and startup code reorg. 2010-07-20 14:41:19 +02:00