| History log of /src/sys/arch/netwinder/conf/kern.ldscript |
| Revision | | Date | Author | Comments |
| 1.12 |
| 27-Dec-2023 |
uwe | netwinder: kern.ldscript - preserve the .text section alignment
This change from evbarm was omitted in previous, but older binutils in netbsd-10 seem to need it.
|
| 1.11 |
| 18-Dec-2023 |
uwe | netwinder: fix base, minimize kern.ldscript diff with evbarm
New binutils align to 0x10000, not 0x8000 (which makes sense), so adjust the base to be 0x10000 so that we are loaded at a page boundary and (I guess) don't smash the firmware in the first page. While here, sync with ldscript.evbarm.
Makes my netwinder boot again.
|
| 1.10 |
| 23-Aug-2015 |
uebayasi | branches: 1.10.48; Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
|
| 1.9 |
| 22-Aug-2015 |
uebayasi | According to matt@, .ARM.{extab,exidx} are no longer used.
|
| 1.8 |
| 21-Aug-2015 |
uebayasi | Redo previous; explicitly adjust .data load addr to get the identical ELF.
|
| 1.7 |
| 21-Aug-2015 |
uebayasi | Simplify this by deciding load address at one place.
|
| 1.6 |
| 20-Aug-2015 |
uebayasi | Indent with 2 spaces.
|
| 1.5 |
| 20-Aug-2015 |
uebayasi | Kill trailing whitespaces.
|
| 1.4 |
| 30-Jan-2014 |
matt | branches: 1.4.6; Put EHABI exception tables at the end of text. provide __exidx_start and __exidx_end symbols.
|
| 1.3 |
| 11-Jun-2003 |
uwe | branches: 1.3.142; 1.3.152; 1.3.158; Avoid using SIZEOF to compute output section LMAs, it doesn't mix well with orphaned sections like link_set_*. Per discussion with Jason Thorpe <thorpej@netbsd> on tech-toolchain.
Addresses kern/21844.
|
| 1.2 |
| 11-Apr-2002 |
thorpej | branches: 1.2.2; 1.2.8; Lose -nbsd
|
| 1.1 |
| 03-Apr-2002 |
thorpej | Clean up Netwinder bootstrap: * Put the code that runs with the MMU off in a separate section (.start). * Use a linker script to set the VMA/LMA appropriately for each section. * Fix kernel page table allocation and mapping of kernel text/data/bss.
...and now that kernel images > 2MB work: * Add SYMTAB_SPACE to the GENERIC kernel so that we have DDB symbols. * Use dbsym to load the kernel's DDB symbol area.
|
| 1.2.8.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 |
| 11-Apr-2002 |
jdolecek | file kern.ldscript was added on branch kqueue on 2002-06-23 17:38:40 +0000
|
| 1.2.2.2 |
| 17-Apr-2002 |
nathanw | Catch up to -current.
|
| 1.2.2.1 |
| 11-Apr-2002 |
nathanw | file kern.ldscript was added on branch nathanw_sa on 2002-04-17 00:03:56 +0000
|
| 1.3.158.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.3.152.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.3.152.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.3.142.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.4.6.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
| 1.10.48.2 |
| 29-Dec-2023 |
martin | Additionally pull up following revision(s) (requested by uwe in ticket #510):
sys/arch/netwinder/conf/kern.ldscript: revision 1.12
netwinder: kern.ldscript - preserve the .text section alignment
This change from evbarm was omitted in previous, but older binutils in netbsd-10 seem to need it.
|
| 1.10.48.1 |
| 19-Dec-2023 |
martin | Pull up following revision(s) (requested by uwe in ticket #510):
sys/arch/netwinder/conf/Makefile.netwinder.inc: revision 1.12 sys/arch/netwinder/conf/std.netwinder: revision 1.17 sys/arch/netwinder/conf/kern.ldscript: revision 1.11 sys/arch/netwinder/conf/GENERIC: revision 1.146 sys/arch/netwinder/conf/GENERIC: revision 1.147
netwinder: specify kernel make variables in the makefile
There's not much sense to specify makeoptions in std.netwinder for config(1) to move them to the generated makefile, when there's already Makefile.netwinder.inc where these variables can be specified directly.
Move ENTRYPOINT. Do NOT move LOADADDRESS - we don't want to use it as it is kinda wrong and it will override the ld script. Instead explicitly set LINKTEXT to be empty to avoid the common kernel makefile to supply the unwanted -Ttext option.
netwinder: fix base, minimize kern.ldscript diff with evbarm
New binutils align to 0x10000, not 0x8000 (which makes sense), so adjust the base to be 0x10000 so that we are loaded at a page boundary and (I guess) don't smash the firmware in the first page. While here, sync with ldscript.evbarm.
Makes my netwinder boot again.
netwinder: GENERIC - trim down some It is still too big to get loaded by the firmware successfully, but these VERBOSE options and -g symtab are the obvious hogs.
netwinder: GENERIC - trim down some more Disable more stuff to make GENERIC just about fit.
|