| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This should make dependencies at load time work like before. Oops.
Noticed by: markm
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make(1) wants to build loader.sym *before* the .o files. Eliminating
one seeminly intermediate step avoids the problem. Somehow, it seems
that variables are not getting expanded at the right time.
Any explanations would be appreciated...
Changing:
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${LD} ...
To:
BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${BASE}.sym: ${BASEOBJS}
echo ${BASEOBJS}
${LD} ...
.. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(I'll be we know which compiler and platform they developed this on...)
Minimally change them to C89 comments to make GCC happy. (this is kinda funny
as the file has piece derived from FreeBDS 3.2)
Also fix FreeBSD id style.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
page of the image to load section headers and if we let the text section
start at zero, it corrupts the section table when its loaded. With this
change, the loader gets as far as the 'ok' prompt.
|
|
|
|
| |
the startup code.
|
|
|
|
|
| |
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 2 days
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
they can be used with cell operators like !.
As I did this, I noticed the whole CELL thing might have problems with
big endian architectures with sizeof(int)!=sizeof(void*).
|
|
|
|
| |
The offending loader.4th commit (rev 1.20) has been backed out.
|
| |
|
|
|
|
|
| |
do a .loc on it. BTW, the .loc needs to be in a .text section.
gas 2.11.0 catches these oversights where previous versions did not.
|
|
|
|
| |
is fixed.
|
|
|
|
| |
Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file is processed by passing its name in argv[1]:
return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.
At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...
PR: i386/27693
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 1 week
|
|
|
|
| |
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
|
|
|
|
| |
"create".
|
|
|
|
|
| |
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
|
| |
|
|
|
|
|
| |
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> and
kawanobe@st.rim.or.jp (Kawanobe Koh)
|
|
|
|
|
|
|
| |
fdesc -> fdescfs
portal -> portalfs
umap -> umapfs
union -> unionfs
|
|
|
|
|
| |
PR: 27520
Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>
|
| |
|
| |
|
|
|
|
| |
Spotted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
|
|
|
|
|
|
|
| |
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
|
|
|
|
|
|
|
| |
This version has a step debugger, which now completely replaces the
old trace feature. Also, we moved all of the FreeBSD-specific MI
code to loader.c, reducing the diff between this and the official
FICL distribution.
|
| |
|
| |
|
|
|
|
| |
MFC candidate
|
|
|
|
|
|
|
| |
and makes it impossible to boot from floppy and CD on some AlphaServer
platforms.
Detective work by: Michael Richards <michael@fastmail.ca>
|
| |
|
|
|
|
| |
on advancing this WIP.
|
|
|
|
|
|
|
|
|
|
|
|
| |
fatal trap. Also, reload the GDT register to point to BTX's GDT before
playing around with the segment registers to return to real mode. This is
helpful if the kernel causes a fatal exception before it has setup its own
IDT and fault handlers. For example, if one happens to break mtx_init().
Without these changes BTX would recursively page fault (if paging was not
disabled) or triple fault and reset the CPU (without the GDT reload)
instead of providing a potentially useful register dump.
Reviewed by: rnordier
|