Commit Graph

183332 Commits

Author SHA1 Message Date
skrll
1f39bb7ff5 Disable as.info target. 2009-08-21 18:35:38 +00:00
tsutsui
d22727cf79 Build PMPPC kernel on release.
XXX1: distrib/notes/common/contents needs to be updated as noted in comment
XXX2: should we also build VIRTEX kernels?
2009-08-21 16:57:08 +00:00
tsutsui
cd34425832 Bump SYMTAB_SPACE. 2009-08-21 16:54:20 +00:00
tsutsui
1b5375c235 Fix error on kernels with options IPSEC without options IPSEC_ESP.
Found on building evbppc/conf/PMPPC.
2009-08-21 16:52:43 +00:00
joerg
12490ea439 Import pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.

Rewrite the config file parser to read the file only once.

Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.

Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.
2009-08-21 15:18:57 +00:00
he
6ef3b52d49 Add a new list.ldd.noaout, which is a copy of list.ldd but without
the a.out support.
Tweak Makefile so that the a.out support is not built for mips.
2009-08-21 15:16:45 +00:00
skrll
bc2b50ede9 Default to N32 for mips64. 2009-08-21 15:15:09 +00:00
joerg
ebe76b0c9e Import libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it
2009-08-21 15:12:24 +00:00
skrll
7842ef85bb No-one wins in rump vs link sets.
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
skrll
2ebfea6c79 __strong_alias(foo,foo) is... pointless. 2009-08-21 14:31:02 +00:00
he
df9cd830c6 Don't try to include <a.out.h> or <link_aout.h> on mips. 2009-08-21 13:30:54 +00:00
mbalmer
adac122864 Before trying to attach a child device driver, make sure the GPIO pins can
be mapped.  This prevents drivers from later failing in the attach routine.
Problem found by me, solution suggested by jmcneill.
2009-08-21 12:53:42 +00:00
plunky
d97471da96 I had a complaint that it was difficult to reconnect a device after
system crashes and reboots and I wonder if the reason was that we
were rejecting the connection for some reason. So, notify the console
if that happens.
2009-08-21 10:01:25 +00:00
skrll
b1aca4e8f5 Don't define weak aliases if _STANDALONE. 2009-08-21 09:40:51 +00:00
manu
61a1c8cdd1 When netbooting, rootspec is now "md0a", and it has no chance to match
an interface name, so do not give it a try.
2009-08-21 09:20:47 +00:00
he
6218a6dafa Introduce a new accessor macro N_NAME() to access the n_name field
in struct nlist, since it's accessed differently depending on
whether we do a.out or not.  Use this macro as appropriate in the
nlist* functions.
Also replace some includes of <a.out.h> with <nlist.h>, to fix build
problem for mips.
2009-08-21 08:42:02 +00:00
mbalmer
6b6e87fc9f This will appear in .Nx 6, not 5. Prodded by wiz. 2009-08-21 08:20:30 +00:00
manu
3beea69ccd Reset ziptype on each line. Failure to do this caused any log file to
be compressed if it was listed after a line using Z or J flag. For
instance, we compressed log2 with the config file below:
/var/log/log1                        600  5    100  *    Z
/var/log/log2                        600  7    100  *    -
2009-08-21 08:20:19 +00:00
skrll
859ec79e00 Build binutils if ${MKBFD} != "no" && ${HAVE_BINUTILS} == "219" 2009-08-21 06:54:01 +00:00
wiz
13d5139b34 Bump date for BTF_MASTER. 2009-08-21 06:12:16 +00:00
thorpej
125abe92ed Use bus_dmamem_common. 2009-08-21 04:10:33 +00:00
elad
9229a44cd8 PR/41911: Jukka Ruohonen: A bug in veriexecgen
Do as suggested and add the missing 'T' to getopt() and update usage.

Thanks for the PR!
2009-08-21 04:09:41 +00:00
thorpej
cba1ce22e9 Use bus_dmamem_common. 2009-08-21 03:56:58 +00:00
thorpej
bcc2485163 Use bus_dmamem_common. 2009-08-21 03:45:10 +00:00
thorpej
4f976b9bb1 Use bus_dmamem common. 2009-08-21 03:39:41 +00:00
thorpej
5e0605242c Add some common bus_dmamem routines to be shared by multiple platforms. 2009-08-21 03:33:17 +00:00
he
463a3128d5 Use NOAOUT so that this builds without a.out support, and enable
that define if we're building for mips.
2009-08-20 22:26:19 +00:00
he
7529c7cce1 Introduce <sys/aout_mids.h>, and include it from <sys/core.h> and
<sys/exec_aout.h>.  This contains the various a.out machine IDs
moved out from exec_aout.h.  The a.out machine IDs are not only
used to identify a.out executable files, but also used to identify
NetBSD core dumps, so should be accessible outside of exec_aout.h.

OK'ed by matt@
2009-08-20 22:07:49 +00:00
he
2a7ab7d442 Define NOAOUT if we're building for mips. 2009-08-20 21:59:12 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
skrll
98243f3753 Don't try and symbol set debug_stack_top from the common symbol
debug_stack_bottom. It's bogus and disallowed in new binutils.
2009-08-20 21:34:03 +00:00
matt
5902a47247 Add print format specifiers for {p,v}{addr,size}_t and register_t,
PRTx{P,V}{ADDR,SIZE} and PRTxREGISTER, respectively.
2009-08-20 21:31:49 +00:00
he
74fd55ff5a Remove what appears to be a spurious include of a.out.h. 2009-08-20 21:25:59 +00:00
he
3b9a95def3 Um, the test for mips should use MACHINE_CPU, not MACHINE_ARCH. 2009-08-20 21:07:47 +00:00
he
c93d22967f Don't try to call the (no longer defined) aout_ldd() function
if we're building for mips.
2009-08-20 21:06:17 +00:00
skrll
cc3417e706 Re-run mknative for the PKGVERSION fix. 2009-08-20 19:44:53 +00:00
he
b233b36efa Don't include <a.out.h> unless it's needed, and don't build
the aout subdir if on mips.  Fixes build for mips ports.
2009-08-20 19:17:19 +00:00
he
d1c69ed983 Move the include of <a.out.h> and <sys/exec_aout.h> until after
we have determined that the current machine actually supports a.out.
2009-08-20 17:40:26 +00:00
he
cff5554191 Remove the include of <a.out.h>, since these files do not appear
to need it.  Fixes build for mips ports.
Also fix a comment: crunchide walks "the symbol table", not
just "the a.out symbol table".
2009-08-20 17:39:51 +00:00
spz
1d42efedba add morden, mollari, pkgbuild and build
adjust funtion names' keys
add the proper names of hosts too in preparation of their function moving
2009-08-20 16:26:55 +00:00
wiz
acf7ed853a New sentence, new line. 2009-08-20 15:59:57 +00:00
wiz
0462dcb75b Fix typo and improve English. 2009-08-20 15:58:31 +00:00
joerg
5050cfce50 Simplify. 2009-08-20 15:51:28 +00:00
tsutsui
0228fe92d4 Rewrite binpatch(8) utility to add support for ELF binaries,
using implementation of old src/usr.sbin/mdsetimage sources
which supports misc executable formats without LGPL'ed libbfd.

No particular comments on port-atari@.

XXX1: amiga also has the similar utility in amiga/stand/binpatch
      but it has slightly different options.
XXX2: Is it worth to put this utility into MI src/usr.sbin to patch
      rtc_offset etc. in GENERIC kernel binaries in distribution?
2009-08-20 15:14:49 +00:00
skrll
ec608b5760 Remove .ARM.attributes when converting from ELF to a.out. 2009-08-20 14:43:06 +00:00
dyoung
dadc08813b Declare genppc_isa_detach_hook(). 2009-08-20 14:21:12 +00:00
tsutsui
1a3bfa5100 Use volatile on device register access. 2009-08-20 12:55:26 +00:00
he
38268154a7 Typo correction: it's isa_dmadestroy(), not isa_dma_destroy(), apparently. 2009-08-20 12:51:28 +00:00
skrll
0c4f052b9e Add a !FLAG_STRICT bb variant to (re-)allow:
sign:	.equ	8
		bb	sign, 0, foo
2009-08-20 12:48:53 +00:00
tsutsui
f3fa465d5d Add an empty bus_space_mmap(9) function as temporary workaround
for MI pci(4) mmap function in sys/dev/pci/pci_usrreq.c.
2009-08-20 11:50:11 +00:00