summaryrefslogtreecommitdiffstats
path: root/sys/conf/ldscript.i386
Commit message (Collapse)AuthorAgeFilesLines
* Commit Bosko's patch to clean up the PSE/PG_G initialization to andpeter2003-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | avoid problems with some Pentium 4 cpus and some older PPro/Pentium2 cpus. There are several problems, some documented in Intel errata. This patch: 1) moves the kernel to the second page in the PSE case. There is an errata that says that you Must Not point a 4MB page at physical address zero on older cpus. We avoided bugs here due to sheer luck. 2) sets up PSE page tables right from the start in locore, rather than trying to switch from 4K to 4M (or 2M) pages part way through the boot sequence at the same time that we're messing with PG_G. For some reason, the pmap work over the last 18 months seems to tickle the problems, and the PAE infrastructure changes disturb the cpu bugs even more. A couple of people have reported a problem with APM bios calls during boot. I'll work with people to get this resolved. Obtained from: bmilekic
* Add two symbols start_ctors and stop_ctors to allow us to find thephk2003-01-061-0/+4
| | | | .ctors section so we can call the constructors.
* Use the new freebsd output format from Binutils 2.13.1.obrien2002-10-111-1/+1
|
* Remove hard coded magic load address. Now to change the load address,peter2001-09-181-1/+1
| | | | | we just have to change the pmap.h constants and ld will automatically adapt based on the "kernbase" symbol.
* Add $FreeBSD$peter2000-01-111-0/+1
| | | | | Make the alpha linker script more like the i386 version - delete the /usr/local and egcs directories
* Remove a rather bogus search path reference..peter1999-06-031-1/+1
|
* Increased kernel virtual address space to 1GB. NOTE: You MUST have fixeddg1999-03-111-1/+1
| | | | | | | | bootblocks in order to boot the kernel after this! Also note that this change breaks BSDI BSD/OS compatibility. Also increased default NKPT to 17 so that FreeBSD can boot on machines with >=2GB of RAM. Booting on machines with exactly 4GB requires other patches, not included.
* Make the ELF kernel build produce a dynamic executable (!). This enablespeter1998-09-301-0/+128
the in-kernel linker to access the _DYNAMIC data for doing loadable elf modules. The alpha kernel is already done this way, I've borrowed some of the hacks from there. This is primarily aimed at the 3-stage boot process which is intended to be able to do pre-loading of kernel modules. Note that the entry point isn't 0xf0100000 any more, it'll be a little further on - but this value is stored in the headers. I don't think this will be a problem, but I'm sure somebody will tell me if it is. :-) I'm not sure if btxboot is going to like this, it doesn't do proper ELF header checking and assumes that there are exactly two program header entries and that they are both PT_LOAD entries - a bad assumption.
OpenPOWER on IntegriCloud