Age | Commit message (Collapse) | Author |
|
|
|
* i386/Makefrag.am (_START_MAP): Define symbol to 0x100000.
* i386/xen/Makefrag.am (_START_MAP): Define symbol to 0xC0000000.
* i386/ldscript: Use _START_MAP instead of hardcoding 0x100000.
|
|
Grub is not able to map us at high addresses. We can however make it load us at
low addresses (through the linker script mapping), then use segmentation to move
ourselves to high addresses, and switch to C which uses high addresses
(through _START definition).
* i386/ldscript: Force mapping kernel at 0x100000, regardless of the value
of _START.
* i386/i386at/boothdr.S (boot_entry): Set up initial segments to project the
bootstrap linear space to high addresses.
|
|
* i386/ldscript: Reformat to follow binutils version
|
|
* i386/ldscript: Update to the version from binutils 2.20.51.20100617.
Remove SEARCH_DIR calls.
* Makefile.am (clib_routines): Accept undefined __rel_iplt_start and
__rel_iplt_end as these come from the ldscript.
* i386/i386at/boothdr.S (boot_entry): Call ifunc hooks at boot.
* i386/xen/xen_boothdr.S (start): Likewise.
|
|
|
|
* i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment.
|
|
* Makefile.am (gnumach_LINKFLAGS): New variable.
(gnumach_LINK): Use that one instead of the previously used
`LINKFLAGS_gnumach'.
* i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS',
move into [PLATFORM_at] and pass `_START'.
* i386/ldscript: Don't hardcode a _start address of 0x100000, but make
it configurable via `_START'.
|
|
[task #5941 --- ``Linker script for GNU Mach'']
* Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery.
* i386/Makefile.in (sysdep.a): Likewise.
* i386/Makerules.in: Likewise.
(LDFLAGS-kernel): Point to the linker script.
* i386/i386at/boothdr.S (_start): Don't put into `.text', but into
`.text.start' instead.
* i386/ldscript: Change to put `.text' at 0x100000 and put
`.text.start' first into `.text'.
|
|
[task #5941 --- ``Linker script for GNU Mach'']
* i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a
GNU Binutils 2.16.1 installation.
|