#
908afdaa |
|
26-Sep-2023 |
David Karoly <karolyd577@gmail.com> |
m68k: update linker script for kernel adapted from the toolchain's m68kelf.xc linker script Change-Id: Ia3276f32f8de5938dae13f54f3e0675b71c194a5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6956 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
d4b7d64b |
|
26-Jul-2020 |
François Revol <revol@free.fr> |
m68k: force fold segments into text, [ro]data & shave 100kB of ELF stuff For some reason the kernel ended up with a bunch of .text.foo or .data.rel.bar sections, each with their own ELF section headers and other metadata. Forcing them into the base sections drops the binary size by about 100kB, even for the stripped one. I suspect it should work on other archs as well. Change-Id: I7a8f46480d71267c07b75325423a0f5bfd2d12fb Reviewed-on: https://review.haiku-os.org/c/haiku/+/3101 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
5d801278 |
|
02-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Andreas Faerber: * Fix a typo in the comments: unintialized -> uninitialized. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34857 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9f8e918d |
|
21-Jul-2008 |
François Revol <revol@free.fr> |
The .dynamic section should be both part of the data and dynamic segments! This makes the kernel loadable by the bootloader, which does load it, and all the modules \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26558 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c5029f1 |
|
20-Jul-2008 |
François Revol <revol@free.fr> |
Turned out the generated kernel_m68k had a single PT_LOAD segment (RWE) instead of separate text and data like every other single binary, and everything on other platforms. This works around it by forcing sections to separate headers. It's still beyong me why I have to do this here, ld should do it on its own. Anyone has a clue ? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26536 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a85b351d |
|
23-Jun-2008 |
François Revol <revol@free.fr> |
Use the x86 kernel.ld as model instead of ppc. Thsi makes kernel_m68k link \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26098 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56b8edd4 |
|
21-Oct-2007 |
François Revol <revol@free.fr> |
ld scripts for m68k. Actually mostly untouched ppc from r22648. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22651 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d80127809c3d4c64d2d07913356304d609ce9af |
|
02-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Andreas Faerber: * Fix a typo in the comments: unintialized -> uninitialized. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34857 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9f8e918d80400fdf66a5c454b05a639db7167708 |
|
21-Jul-2008 |
François Revol <revol@free.fr> |
The .dynamic section should be both part of the data and dynamic segments! This makes the kernel loadable by the bootloader, which does load it, and all the modules \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26558 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3c5029f112eaf5a68dabdd7e76c773b6e2d5abcb |
|
20-Jul-2008 |
François Revol <revol@free.fr> |
Turned out the generated kernel_m68k had a single PT_LOAD segment (RWE) instead of separate text and data like every other single binary, and everything on other platforms. This works around it by forcing sections to separate headers. It's still beyong me why I have to do this here, ld should do it on its own. Anyone has a clue ? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26536 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a85b351d4ed6188f85e78c3a79248a8a1e89c981 |
|
23-Jun-2008 |
François Revol <revol@free.fr> |
Use the x86 kernel.ld as model instead of ppc. Thsi makes kernel_m68k link \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26098 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56b8edd4e3fc64c23a4b58f09b01016d2d0ca2f7 |
|
21-Oct-2007 |
François Revol <revol@free.fr> |
ld scripts for m68k. Actually mostly untouched ppc from r22648. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22651 a95241bf-73f2-0310-859d-f6bbb57e9c96
|