| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
actual end of the section. The new gas (binutils) puts in additional padding
which was misaligning the concatenated btx loader.
Reported by: Oliver Hartmann <ohartman@klima.physik.uni-mainz.de>,
Harti Brandt <brandt@fokus.gmd.de>
Tested by: Oliver Hartmann <ohartman@klima.physik.uni-mainz.de>,
David Wolfskill <dhw@whistle.com>, ps
Reviewed by: jhb
MFC after: 1 day
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the first sector of the emulated floppy to contain a valid MS-DOS BPB that
it can modify. Since boot1 is the first sector of boot.flp, this resulted
in the BIOS overwriting part of boot1: specifically the function used to
read in sectors from the disk.
Submitted by: Mark Peek <mark@whistle.com>
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
PR: i386/26382
Obtained from: NetBSD, OpenBSD (the example BPB)
MFC after: 1 month
|
|
|
|
|
| |
Inspired by: OpenBSD
MFC After: 1 week
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|