Commit Graph

220998 Commits

Author SHA1 Message Date
christos
1ebd07204c Silence some common module load errors and explain why. 2013-09-12 19:02:05 +00:00
christos
2ff1b6b59f What's the point of having a module exec class if exec is not using it? 2013-09-12 19:01:38 +00:00
drochner
45702ddfef tyop in comment, from Eivind Evensen via OpenBSD 2013-09-12 18:00:18 +00:00
joerg
36a6d19157 Handle dependency on libstdc++ / libc++ in bsd.lib.mk. 2013-09-12 17:14:20 +00:00
matt
aafdd97899 Cleanup some diagnostic code. 2013-09-12 15:38:04 +00:00
joerg
4d12bfcd15 Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
joerg
1bf0d67629 NetBSD certainly supports TLS in static applications if it supports TLS
on the platform at all.
2013-09-12 15:35:15 +00:00
kiyohara
e351a99d1f Fix VIVT cache operation. Tested on Kirkwood machines. 2013-09-12 14:45:18 +00:00
martin
8606bfb9d2 Remove unused variable 2013-09-12 13:12:35 +00:00
martin
814c381f42 Fix return value of cryptodev_msessionfin. 2013-09-12 13:02:37 +00:00
martin
77cc2c9e6f Remove an unused variable, avoid unused variable warning. 2013-09-12 12:57:48 +00:00
martin
bf471dab7e Minor tweaks for newer gcc 2013-09-12 12:54:39 +00:00
martin
c8152c7fd7 Slightly rearange stopcounter() to compile warning-free with newer gcc 2013-09-12 12:45:53 +00:00
martin
bee22eb353 Simplify CG6_DRAW() and CG6_BLIT() macros so gcc 4.8.1 does not warn about
them - assembler looks good, but Michael, can you please test nevertheless?
2013-09-12 12:42:18 +00:00
martin
822c138d8c #ifdef variable declarations/initializations like their use 2013-09-12 12:28:49 +00:00
martin
2ef755c84e Remove unused variables 2013-09-12 12:26:13 +00:00
martin
cd2a35a0c5 #ifdef a few variable declarations/initializations to match their use 2013-09-12 12:22:40 +00:00
martin
3f88fce981 #ifdef the "npress" variable, so it is only defined (and initialized) when
it is also used.
2013-09-12 12:20:01 +00:00
martin
97f5cd3b5b Remove unused variable 2013-09-12 12:10:11 +00:00
martin
121875800b Remove unsued variable 2013-09-12 12:08:49 +00:00
martin
2861b6deff Remove unused variable 2013-09-12 12:04:37 +00:00
martin
1b1163f56b Get rid of unused variables 2013-09-12 12:03:33 +00:00
martin
46208470f2 Remove unused variable 2013-09-12 11:44:08 +00:00
martin
ebfd259656 Eliminate (mostly) unused "ostate" variable 2013-09-12 11:42:26 +00:00
martin
84e3fc8358 Fix wrong for loop limit 2013-09-12 11:38:23 +00:00
martin
fda716a94d Remove unused maxPower_t4 variable. 2013-09-12 11:26:53 +00:00
martin
a0cc4b1258 Remove unused ppr_able variable. 2013-09-12 11:23:37 +00:00
wiz
2aa10166ef Update standards conformance. From jmc@openbsd. 2013-09-12 07:26:13 +00:00
joerg
9b315b031e Overwrite PIE_*, otherwise bootxx_cd9660 is not recognized by
installboot in MKPIE=yes builds.
2013-09-12 05:54:38 +00:00
dholland
ec390d2346 Fix MKPAM=no build. 2013-09-12 04:42:49 +00:00
christos
952f93f19e Include BRDADDR and NETMASK to the v4 ioctls we ban for v6; from FreeBSD.
Remove X25 stuff which has been GC'ed.
XXX: pullup-5,6
2013-09-11 23:15:47 +00:00
joerg
975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
matt
92fd66d6e7 Teach readelf how to interpet netbsd notes.
Notes at offset 0x00000128 with length 0x00000018:
  Owner         Data size       Description
  NetBSD        0x00000004      IDENT 699002300 (6.99.23)

Notes at offset 0x00000154 with length 0x00000020:
  Owner         Data size       Description
  NetBSD        0x00000009      MARCH <earmv7hf>
2013-09-11 18:53:54 +00:00
drochner
4d518571b9 add a patch from upstream, fixing a regression which obstructed link
status detection on BSD virtual interfaces (observed with xennet)
2013-09-11 18:50:00 +00:00
martin
4073f8732b Disallow MAP_FIXED mmap's in the sparc64 VA hole (XXX - need to deal with
different variants of the hole for different CPU types)
2013-09-11 18:27:44 +00:00
martin
d31af930cb Allow MD code to add aditional checks for mmap(..., MAP_FIXED) address
ranges. This can be used, for example, to avoid not implemented VA-holes,
but we probably need to check in a few more places.
2013-09-11 18:26:14 +00:00
khorben
725c35c2a7 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 12:59:19 +00:00
joerg
ab327b931c Needs libm. 2013-09-11 09:59:52 +00:00
joerg
ac35abab0f Drop now redundant assignment from the MKPIC=no case. 2013-09-11 09:59:13 +00:00
joerg
912713b9c5 Explicitly link against liblber as various symbols from it are used. 2013-09-11 09:58:02 +00:00
joerg
a7c89b6e01 Add dependency on libz and libbz2. 2013-09-11 09:57:09 +00:00
matt
0c7184eef8 Add md_march and PROC0_MD_INITIALIZERS 2013-09-11 04:24:48 +00:00
matt
26dbb44c7a Define ELF_NOTE_MARCH_DESC for when running non-eabi in compat_netbsd32 2013-09-10 22:00:01 +00:00
matt
50bfeb714d Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.
2013-09-10 21:30:21 +00:00
pooka
d5e9a0d652 Not all systems sport err.h, so redo those bits using the die() routine
we need to have hanging around anyway for proper error reporting from
a daemonizing server.  le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f <sys/cdefs.h> comes from rumpuser_port.h 2013-09-10 19:42:32 +00:00
pooka
22882349e0 Need bsd.own.mk for mk.conf, include it at an opportune place. 2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9 Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3 Make this work on platforms without disklabels, modules, etc. 2013-09-10 17:59:52 +00:00
pooka
b3e8687dfb more platform-specific qualifiers 2013-09-10 17:58:39 +00:00