| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(ARM uses 'int' and 'unsigned'; i386 uses 'long' and 'unsigned long'),
so we need explicit casts to long and unsigned long here to ensure
that the result matches the printf %ld and %lx specifiers.
|
| |
|
|
|
|
|
|
| |
EFI bootloader (amd64 only for now).
This is not yet connected to the build.
|
|
|
|
|
|
|
|
|
|
|
|
| |
.. so that consistent compilation algorithms are used for both
architectures as in practice the binaries are expected to be
interchangeable (for time being).
Previously i386 used default setting which were equivalent to
-march=i486 -mtune=generic.
The only difference is using smaller but slower "leave" instructions.
Discussed with: jhb, dim
MFC after: 29 days
|
|
|
|
|
|
|
|
|
| |
often modified directory created symbolic links points to - it cause
unnecessary full rebuilds each time make runs when directory is changed.
So do it only if symbolic link does not exists, which usually means that
objdir is clean anyway.
MFC after: 1 week
|
| |
|
|
|
|
|
| |
as a shared library. This is intended to be used by BHyVe to load FreeBSD
kernels into new virtual machines.
|
|
|
|
|
|
| |
PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
MFC after: 3 days
|
|
|
|
|
|
| |
want to avoid using any "advanced" CPU features:
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
|
|
|
|
| |
forgot to cleanup in the last commit.
|
|
|
|
| |
be used for amd64, not just for i386.
|
|
|
|
| |
(which simplifies some powerpc/powerpc64 ifs)
|
|
|
|
|
| |
64-bit PowerPC kernels are loaded by a 32-bit loader, since nearly all
powerpc64 firmwares execute in 32-bit mode.
|
|
|
|
|
|
| |
PR: 145232
Submitted by: gcooper
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This uses the common U-Boot support lib (sys/boot/uboot, already used on
FreeBSD/powerpc), and assumes the underlying firmware has the modern API for
stand-alone apps enabled in the config (CONFIG_API).
Only netbooting is supported at the moment.
Obtained from: Marvell, Semihalf
|
|
|
|
|
|
|
|
| |
I don't know what's wrong (loader, boot2 or others), but this change is
effective.
Tested by: NAKAJI Hiroyuki
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
The relevant changes for FreeBSD (excerpt from the release note):
* Newly implemented CORE EXT words: CASE, OF, ENDOF, and ENDCASE. Also
added FALLTHROUGH, which works like ENDOF but jumps to the instruction
just after the next OF.
* Bugfix: John-Hopkins locals syntax now accepts | and -- in the comment
(between the first -- and the }.)
* Bugfix: Changed vmGetWord0() to make Purify happier. The resulting
code is no slower, no larger, and slightly more robust.
|
|
|
|
| |
as i386 would do.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
I really don't like cluttering up the compiler invocation,
but this bigger hammer will fix reported problems for now.
|
|
|
|
|
| |
stubs that at least handle the stack correctly. This makes it much easier to
experiment with loader scripts from userland.
|
|
|
|
| |
any fake value.
|
|
|
|
|
|
|
|
|
| |
The whole problem seems to be size. Which is odd, because it is said
that size doesn't matter. Anyway... Add -Os to strategic places in the
makefile to have the final loader be as mall as possible. This seems
to be enough to make it work. For now... I think something is more
fundamentally wrong; or something more fundamental is wrong. Potato,
potaato.
|
|
|
|
| |
Tested on: amd64 (sledge)
|
| |
|
| |
|
|
|
|
| |
which were the most relevant.
|
|
|
|
|
|
|
| |
symbols from intermediate object files, so these hacks to
get AMD64 compile are no longer needed.
Tested on: sledge.FreeBSD.org
|
| |
|
| |
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
|
|
|
|
|
| |
very pervasive in this code. This fixes a few of those assumptions and
band-aids over some others.
Tested on: ia32 alpha sparc64
Reviewed by: peter jake (in concept)
|
|
|
|
| |
Reviewed by: mini
|
| |
|
| |
|
|
|
|
|
| |
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
|
|
|
|
|
| |
defining so many extra things in addition to INTERNALLIB. We don't like
repetitive C code and we shouldn't for make code either.
|
|
|
|
| |
INTERNALLIB now.
|
|
|
|
|
| |
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
|
| |
|
|
|
|
|
|
|
|
| |
due Jon Mini.
PR: 36308
Submitted by: Jon Mini <mini@haikugeek.com>
MFC after: 4 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change the 'fopen' keyword to accept a mode parameter. Note that this
will break existing 4th scripts that use fopen. Thus, the loader
version has been bumped and loader.4th has been changed to check for a
sufficient version on i386 and alpha. Be sure that you either do a full
world build or install or full build and install of sys/boot after this
since loader.old won't work with the new 4th files and vice versa.
PR: kern/32389
Submitted by: Jonathan Mini <mini@haikugeek.com>
Sponsored by: ClickArray, Inc.
|
|
|
|
|
| |
PR: kern/32395
Submitted by: Jonathan Mini <mini@haikugeek.com>
|
|
|
|
| |
The community feels our base AWK must handle them.
|
|
|
|
|
|
| |
This was a silent 'failure' when using Bell-Labs awk.
Submitted by: David Wolfskill <david@catwhisker.org>
|
|
|
|
| |
Reviewed by: dcs
|
| |
|