Commit Graph

59832 Commits

Author SHA1 Message Date
joerg
f3ca791b0a Drop .machine, Makefile.mpc85xx provides -me500 already. 2014-08-10 18:01:29 +00:00
joerg
26dd58ba65 Bump the ramdisk size on macppc and sandpoint somewhat to compensate for
larger code with LLVM.
2014-08-10 17:58:51 +00:00
joerg
e7d9750122 LLVM builds have a slightly larger symbol table, so bump the space. 2014-08-10 17:56:23 +00:00
joerg
7c0cdb9457 Update conditions on mfsrin definition to match use. 2014-08-10 17:49:04 +00:00
joerg
bd383df604 Put GCC/GAS options under ACTIVE_CC == "gcc". 2014-08-10 17:46:54 +00:00
joerg
4ca7de0cb3 Put GCC/GAS specific options under ACTIVE_CC == "gcc". 2014-08-10 17:44:26 +00:00
martin
cc0e5017b6 Remove atoi() prototype 2014-08-10 16:53:22 +00:00
tls
ea6af427bd Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
isaki
7b2cf7659d Unify all arch/*/stand's atoi() to MI libsa.
lib/libsa/atoi.c was separated from lib/libsa/bootcfg.c.
PR/49084
2014-08-10 07:40:49 +00:00
isaki
138fa825c9 Increase the image size to 1700KB.
At this point, the build succeeds if the build path is short,
but may fail if long.  Thanks for martin@ and tsutsui@.
2014-08-10 06:35:56 +00:00
matt
fcea236ea6 Correct _ARM_ARCH_8 instructions 2014-08-10 06:23:13 +00:00
matt
547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
joerg
d617742404 Use __unreachable(). 2014-08-08 21:18:10 +00:00
joerg
20f5003f1e Fix misspelling of binary and as logical and. 2014-08-08 21:13:52 +00:00
joerg
91921defe8 Avoid non-UTF8 input. 2014-08-08 21:13:05 +00:00
joerg
4513714096 Mark _rtt as dead 2014-08-08 19:45:48 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
isaki
7e2a6d5287 Remove OBJCOPY?=objcopy.
Falling back to the hosttool is not a good way now.
2014-08-08 15:20:10 +00:00
isaki
baeb212aa1 Remove STRIP?=strip.
Falling back to the hosttool is not a good way now.
2014-08-08 15:19:51 +00:00
reinoud
246b083921 Fix missed clock interrupts calculation 2014-08-08 14:43:14 +00:00
skrll
a62f26f71e Comment whitespace. 2014-08-08 07:47:24 +00:00
skrll
919516a171 Spell user with an e. 2014-08-08 07:47:05 +00:00
martin
a845136cfb Make all ramdisk root sizes equal again 2014-08-08 07:45:04 +00:00
skrll
9012adca20 Update a comment. Probably still needs tweaking further. 2014-08-08 07:34:02 +00:00
skrll
a812f26123 Trailing whitespace. 2014-08-08 07:30:51 +00:00
macallan
7f58aa68f7 remove obsolete comment 2014-08-07 19:05:18 +00:00
gdt
03d5c785ca Get macppc to build again by adjusting sizes.
In addition to the ramdisk size, it is necessary to have matching MD
sizes.  Increase the MD sizes, and leave a comment near the ramdisk
size to ease future changes.
2014-08-07 16:51:56 +00:00
joerg
5d592fb4e3 Use cmpw. 2014-08-07 13:56:57 +00:00
joerg
bcbe3c1d77 Use cmpwi. 2014-08-07 09:08:41 +00:00
joerg
26a08d1efc Panic after openfirm, it is not supposed to return. 2014-08-07 09:08:09 +00:00
joerg
26542d948c Use cmpwi. 2014-08-07 09:06:53 +00:00
joerg
7cdced3d94 Drop extra (). 2014-08-07 08:59:42 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
joerg
9c83467857 Use cmpwi. 2014-08-06 15:38:07 +00:00
joerg
fb33f6451a Use cmpwi/cmpw 2014-08-06 15:23:07 +00:00
joerg
3ecc51c866 Use cmpwi. 2014-08-06 15:11:17 +00:00
martin
1c774aacb6 Bump all image sizes slightly again 2014-08-06 14:23:53 +00:00
joerg
5da0d81e65 Remove duplicated initializer. 2014-08-06 14:23:52 +00:00
isaki
78755f4253 Remove unused variable. 2014-08-06 14:10:42 +00:00
joerg
11bf7fa606 Give non-standard main in a freestanding environment a prototype. 2014-08-06 13:55:08 +00:00
martin
330a17b1e2 Update all ramdisk sizes 2014-08-05 18:08:02 +00:00
joerg
c30561b5e9 Don't use non-literal strings as format strings.
XXX Switch to strlcpy.
2014-08-05 17:55:20 +00:00
joerg
39a11df3d1 The argument of stwu is displacement(register), but GAS translates the
%rX mnemonic very early into plain X, so it seemingly accepts
%register(displacement) as well. Be consistent in the formatting for
human consumption.
2014-08-05 16:28:39 +00:00
martin
6498d1b893 Adapt to bigger ramdisk image 2014-08-05 16:22:01 +00:00
martin
cf74145148 Adapt to grown ramdisk image size 2014-08-05 15:52:38 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
isaki
10e08c465b Support a 'switch' command.
It displays/modifies some SRAM parameters on X680x0, like as
memswitch(1) or Human68k's SWITCH.X .
It makes easy to change the boot devices or correct the inconsistency
of SRAM/real memory size.

sample usage:
 > switch show         .. show all supported parameters
 > switch boot=std     .. set boot order to 'STD'
 > switch memory=12    .. set memory size to 12MB
2014-08-05 13:49:04 +00:00
skrll
6a77b28bb3 Don't set __NO_STRICT_ALIGNMENT as armv[67] ldm/stm have alignment
restrictions.

PR/49020: Writing to tap device may cause panic on RPI

Discussed with matt@
2014-08-05 06:24:56 +00:00
joerg
09ab3a5ac1 mpc85xx_extirq_names is not used for the MPC8548 branch. 2014-08-04 23:31:36 +00:00