Commit Graph

183323 Commits

Author SHA1 Message Date
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
plunky
c1cd0cdec6 clarify role switching for "switch" option
bump date for wiz
2009-08-20 11:45:51 +00:00
tsutsui
01dedfd62c Adjust attach message for failure path (found on gxemul). 2009-08-20 11:43:59 +00:00
he
f9dd8b23a6 Anoter instance of <sys/exec_aout.h> -> <sys/exec.h>. 2009-08-20 11:18:55 +00:00
martin
bc27f3e093 forward declare struct nlist before including nlist_private.h to avoid a
compiler warning.
2009-08-20 11:08:59 +00:00
plunky
46834460fc add SupportedRepositories attribute for Phonebook Access profile
providing PhonebookAccessServer service
2009-08-20 11:07:42 +00:00
he
4cf9cdf39a Actually, when we really need the a.out defines from <nlist.h>, we
need to include <a.out.h> anyway.  Move it inside #ifdef NLIST_AOUT.
2009-08-20 10:19:36 +00:00
he
3a05737d04 Instead of including <a.out.h> to get at "struct nlist" (with a comment
to explain it), include <nlist.h> instead, so that our mips ports don't
error out in the absence of aout_machdep.h.
2009-08-20 08:30:04 +00:00
he
b65d082e72 The type of iplf_count is u_int, not size_t, so print with %u, not %zu. 2009-08-20 08:12:05 +00:00
dsl
bf80c84843 Delete more unwanted/unused cruft.
Simplify logic for reading input records.
Do a merge sort whenever we have 16 partial sorted blocks.
The patient is breathing, but still carrying a lot of extra weight.
2009-08-20 06:36:25 +00:00