Commit Graph

4410 Commits

Author SHA1 Message Date
christos
2cad6262db add missing #else Takahiro Hayashi 2014-03-29 19:34:23 +00:00
pettai
4754343be0 Fix lost merges 2014-03-28 07:01:49 +00:00
ozaki-r
b7c3845c47 Complete migrating to snprintf_blkptr 2014-03-28 03:46:56 +00:00
ozaki-r
c5002aae34 Fix migrating to snprintf_blkptr 2014-03-28 03:18:24 +00:00
ozaki-r
2821606826 Add missing 4th argument of ddt_object_name 2014-03-28 03:11:00 +00:00
ozaki-r
4e2e658100 Fix some snprintf 2014-03-28 02:58:36 +00:00
ozaki-r
bc3ce11eda Add missing 3rd argument of nicenum 2014-03-28 02:50:18 +00:00
apb
6713b766dd format is a pointer, so sizeof(format) is not a good length
to pass to snprintf.  Try to calculate the correct length,
taking into account the amount of space already used.
2014-03-27 19:34:39 +00:00
christos
a2d437b386 kill sprintf 2014-03-27 15:50:48 +00:00
christos
c6b4d36c05 kill sprintf 2014-03-26 22:03:26 +00:00
matt
1a3430eb55 Bias the cfi pc expr by nbytes since vax pcrel are relative to end of the
relocation, not the beginning.  By adding the size of relocation, it will
become relative to the start of the relocation.
2014-03-25 16:17:33 +00:00
joerg
9aad7ddd6d Use C version of umul_ppmm for Clang on MIPS. 2014-03-25 15:28:15 +00:00
joerg
9fe3724ad4 Cast to _Unwind_Ptr here as well. 2014-03-25 10:03:51 +00:00
ozaki-r
1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
ozaki-r
9a1cd017d1 Cast ptr to the correct return type (_Unwind_Ptr) 2014-03-25 00:50:45 +00:00
joerg
3b142775a7 Cast context->ldsa to the correct return type. 2014-03-24 22:39:06 +00:00
joerg
47a96e3a4d _Unwind_GetLanguageSpecificData is supposed to return a _Unwind_Ptr.
This makes a difference on M68K as it uses a different register for
integer vs pointer values.
2014-03-24 21:26:01 +00:00
pettai
38e493d085 Import mDNSResponder-258.14, merge, fix conflicts 2014-03-24 00:31:13 +00:00
pettai
7f67feba92 Import mDNSResponder-258-14 as per discussion with gdt@ and cristos@ 2014-03-24 00:23:27 +00:00
pettai
e7ba6ce52b Prepare for importing a newer version of mDNSResponder 2014-03-24 00:13:23 +00:00
mrg
c4dae12d14 allow for .pc substitutions to be listed per makefile
(could maybe do per-target, as well.)  fix the remaining
substitutions for xcb-proto, fontconfig and xorg-server.

(XXX: move many per-package-specific parts out of
bsd.x11.mk itself, into the relevant Makefile.)
2014-03-23 20:40:18 +00:00
tron
37e32637e4 Remove auto-generated files in "cleandir" target. 2014-03-23 20:39:40 +00:00
dholland
f6f4f5e81c Change the argument names in the prototypes and discussion for
sub/gsub to match those in gensub. Noted by Kai-Uwe Eckhardt in
PR 48667.
2014-03-23 01:29:12 +00:00
martin
e5db261cf2 Avoid undefined behaviour (which causes traps on VAX). 2014-03-22 20:36:45 +00:00
tron
adbf0b7734 Remove (harmless) debug target committed by accident.
Pointed out by Matthew Green in private e-mail.
2014-03-22 19:52:21 +00:00
tron
0bb5c0ea6c Fix build with "HAVE_GCC=48" and "USE_SSP=yes". 2014-03-22 17:57:47 +00:00
roy
b7fc208426 Crank up the warnings and fortify the build. 2014-03-22 00:04:51 +00:00
joerg
b204cbfda6 For HAVE_LIBGCC_EH=no, skip libgcc's unwind code. 2014-03-21 20:54:13 +00:00
riastradh
677325c920 Build xf86drmMode.c into libdrm. 2014-03-21 18:14:20 +00:00
christos
7f8a26a5c6 fix Big Endian compilation 2014-03-21 01:17:40 +00:00
mrg
8403e51bee substitute %LIBS_CONFIG% and %LIBSSTATIC_CONFIG%. 2014-03-20 22:23:30 +00:00
joerg
c629e629e3 Annotation for the Processor Status Word. Sensible DWARF frame layout. 2014-03-20 16:53:55 +00:00
skrll
584cd3c172 Remove a file that should be generated and fix the build 2014-03-20 15:21:46 +00:00
mrg
44125d6efb regenerate after recent vax specific fixes. 2014-03-20 10:15:13 +00:00
mrg
ac142a8081 merge freetype 2.5.3. 2014-03-20 08:57:48 +00:00
mrg
3022bef933 the host tool relies on scandir now days. (it tries to avoid it,
but needs work for this code to work again.  if this is fixed, we
may want to run ./configure for this tool.)
2014-03-20 08:05:30 +00:00
mrg
caaf2fe122 add a note about builtin_icons.h. 2014-03-20 07:13:53 +00:00
mrg
ddcbe4a79f look for config.h. 2014-03-20 06:18:20 +00:00
mrg
dc923264b6 turn on XAA explicitly for ast.
remove removed sources for mga, and fix the XAA list.
remove redundant defines for tdfx.
2014-03-20 05:32:31 +00:00
joerg
89ecf27180 Always use --eh-frame-hdr, even when linking statically. 2014-03-20 01:46:19 +00:00
mrg
2634b1cf97 find moved man pages. 2014-03-19 23:46:22 +00:00
mrg
89f0129eec remove duplicated -DHAVE_XEXTPROTO_71. 2014-03-19 23:46:05 +00:00
ozaki-r
4ae43925ec Exclude mvsoctmr_* functions from FBT targets
Probing them doesn't work for DTrace/arm for some reason.

Anyway with this fix, DTrace/arm works on SHEEVAPLUG
as well as BEAGLEBONE.
2014-03-19 11:14:12 +00:00
matt
b47c61b618 Add support for the .cfi pseudo-ops for VAX. 2014-03-18 23:41:36 +00:00
matt
95d660c12b Make readelf know what the vax pcrel32 reloc number is. 2014-03-18 23:41:02 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
skrll
9bf4ee7d90 In fill_fpregset correct the address to grab the register from 2014-03-18 08:40:05 +00:00
mrg
390760f74f merge xmodmap 1.0.8. 2014-03-17 10:11:27 +00:00
mrg
2c8e080f88 merge xrdb 1.1.0, xset 1.2.3, xvinfo 1.1.2, and xwd 1.0.6. 2014-03-17 10:09:18 +00:00
mrg
845dbcb7e6 update for xlsclients 1.1.3. 2014-03-17 09:46:10 +00:00
hannken
33b1d7765e Change zfs_sync() to use vfs_vnode_iterator. 2014-03-17 09:37:41 +00:00
mrg
1495f4c16a updates for xauth 1.0.8 and xconsole 1.0.6. 2014-03-17 09:24:11 +00:00
mrg
b077836fd2 avoid const problems for now. 2014-03-17 09:21:19 +00:00
mrg
d978386d65 updates for makedepend 1.0.5. 2014-03-17 09:07:09 +00:00
mrg
edda2f4b2b update for mkfontscale 1.1.1. 2014-03-17 09:02:16 +00:00
mrg
ae13044ac9 regenerate for xkeyboard-config 2.11. 2014-03-17 09:02:02 +00:00
mrg
ab169b1d85 various updates for libdrm 2.4.52. 2014-03-17 08:01:18 +00:00
mrg
6f16f8b83f merge libxcb 1.10 and libpthread-stubs build.
update the libxcb generated files.
2014-03-17 07:25:34 +00:00
mrg
51d2582a19 updates for pixman 0.32.4 and x86. 2014-03-17 01:41:46 +00:00
mrg
2c51d1ae0f merge xtrans 1.3.3 (deletes Xtranstli.c -- so sad, bye bye.) 2014-03-17 01:09:07 +00:00
mrg
c23d29ea55 updates for libX11 1.6.2, dri3proto and presentproto, and fix
the libXrender build.
2014-03-16 23:25:15 +00:00
mrg
1b6ef8b51a define HAVE__XEATDATAWORDS. (XXX move into ${X11FLAGS.THREADLIB}). 2014-03-16 22:53:17 +00:00
ozaki-r
e2fc5c59a0 Use MACHINE_CPU instead of MACHINE_ARCH with pattern matching
Include bsd.own.mk to use MACHINE_CPU.

Advised by matt@
2014-03-16 06:51:43 +00:00
ozaki-r
f27e224fab Look up arm directory on MACHINE_ARCH=*arm* 2014-03-16 05:11:19 +00:00
uwe
fb3a642893 G/c extraneous TAB. 2014-03-16 00:07:58 +00:00
mrg
9c0370d59c add missing -DGENERATOR_FILE to HOST_CPPFLAGS. 2014-03-15 23:12:58 +00:00
mrg
4d51ddd922 make sure we use the C compiler (not C++) for CC= when running the
configure for auto-build.h.  fixes problems on linux.
2014-03-15 20:46:38 +00:00
christos
a1aa0d7245 Since the sigwait stuff is conditional to isc_bind9, we cannot block
SIGHUP,SIGINT,SIGTERM on startup, so make those also conditional to isc_bind9.
The net effect of this was that dhclient blocked the 3 signals for both
itself and its progeny so /etc/rc.d/dhclient restart would not work.
2014-03-15 18:28:22 +00:00
roy
317e4f34f6 Import ipw2200-fw-3.1 2014-03-15 15:23:22 +00:00
ozaki-r
609ba481a5 Implement DTrace FBT provider for ARM
- Finding probable functions
- Replacing instructions
- Emulating instructions

It is tested only on ARMv7 CPUs yet, for example,
-m evbarm (-a earm) kernel=BEAGLEBONE.
2014-03-15 08:00:19 +00:00
ozaki-r
48e9045322 Enable invop handler on module load
It sets a fbt handler to dtrace_invop_jump_addr on module load,
which is used to call the dtrace probing function from the trap
handler.
2014-03-15 07:49:15 +00:00
ozaki-r
26e6962bfe Make arm/dtrace_isa.c buildable
This is a band-aid for build, but it works anyway.
We have to do a real fix in the future.
2014-03-15 07:43:01 +00:00
christos
14e72322f6 Don't SSP a file that uses alloca. 2014-03-14 12:17:53 +00:00
roy
083b63d1f4 Sync 2014-03-14 11:31:11 +00:00
roy
f19170ec2b Import dhcpcd-6.3.2 with the following changes:
* Improvements to autoconf build emulation
  * CARRIER/NOCARRIER are now run outside of the IPv4 runs
  * validate domains correctly which contain a - on non bash shells
  * don't remove IPv6 addresses from internal state when added as tentative
  * HUP now rebinds, ALRM now releases - the -x and -k flags work as
    they used to
  * Add -M, --master option to force dhcpcd into master mode even if one
    interface is specified on the command line
  * Fix a crash when receiving a reconfigure key
  * Dumping a DHCPv4 lease works again
  * SEND_DAD code removed
  * hoplimit is no longer defined for DHCPv6 messages
  * hoplimit of 255 for IPv6 RS/ND message is now defined at the socket
    instead of ancillary data with the message
2014-03-14 11:27:36 +00:00
christos
e46a69d605 make this compile again 2014-03-14 00:06:52 +00:00
martin
74a4cee79e Help the hack verifying malloc alignment expectations and force the
word size definition on sh* to be a compile time constant. We do not
provide a single library supporting both variants, so we pick the
smaller alignment for now.
2014-03-13 19:33:23 +00:00
gdt
539b747f08 Use -f with cp, for 444 sources. 2014-03-13 16:19:24 +00:00
gdt
4ebed9fad8 Use cp -pf rather than cp -p.
Otherwise, those with sources that are 444 encounter failures.
2014-03-13 16:14:27 +00:00
wiz
7f42001b43 When not built as host tool, define USE_WCHAR to get locale support. 2014-03-13 09:13:32 +00:00
martin
7a16006d41 Try to avoid using float constants out of range 2014-03-12 20:00:22 +00:00
joerg
773779a5e8 __ppc__ is not supported by GCC, so use __powerpc__. 2014-03-12 15:24:08 +00:00
mrg
8075f4b1c8 updaet a little more:
- coldfire release works, but there are no kernels yet
- ia64 port gets much further now
- i386 port runs
2014-03-10 19:55:51 +00:00
mrg
08ea4544e2 update a bit. delete ports that have switched to GCC 4.8. with this
we still need significant work on these ports:

	- mips*
	- powerpc
	- sh*
	- vax
	- m68k*

the x86 platforms are probably ready to switch, but i'm not in a good
position to test them.  these platforms are probably ready to switch,
as they're still mostly in bringup mode anyway:

	- powerpc64
	- coldfire
	- ia64
2014-03-10 19:06:35 +00:00
mrg
80350e8785 pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.
2014-03-10 18:57:35 +00:00
nakayama
b9eda690b9 Regenerate for sparc's want64=true change.
Native toolchain fix for PR toolchain/48630.
2014-03-10 12:02:36 +00:00
nakayama
8813083ebc Enable 64-bit integer handling for gas even on 32-bit host since
sparc64 kernel now uses 64-bit constant with %hh operator.

Fix for PR toolchain/48630.
2014-03-10 12:01:19 +00:00
mrg
3172b861f6 also look at netbsd.opt and netbsd-elf.opt. 2014-03-10 07:32:18 +00:00
mrg
cee6092acd make elf{32,64}-ia64.c depend upon the right parent. 2014-03-10 07:28:33 +00:00
ozaki-r
18c3aa4966 Fix header inclusions 2014-03-10 06:38:22 +00:00
mrg
5de22a2bb3 mknative-binutils for ia64. 2014-03-10 05:20:48 +00:00
ozaki-r
7ea504b141 Make arm/dtrace_subr.c buildable
The change just imports the code from
http://people.freebsd.org/~gonzo/arm/dtrace-arm.diff
and tweaks for NetBSD.
2014-03-10 03:04:57 +00:00
mrg
855874a0df more ia64 support:
# We have to weed out any existing func.S file that may exist
# from the list of files we create.
2014-03-09 23:23:09 +00:00
christos
60a5bae159 Tidy up paths. 2014-03-09 22:01:31 +00:00
mrg
d06f941d3e mknative-gcc for GCC 4.8 and ia64. 2014-03-09 21:02:44 +00:00
mrg
eeffa0cfc9 update some status:
- ppc port exec stack is fixed
- coldfire, earmv4, ppc64, sparc* updates
2014-03-09 21:01:14 +00:00
mrg
2c740b20c0 find libgcc sources for GCC 4.8. 2014-03-09 20:59:14 +00:00
mrg
aeea229482 rebuild for GMP 5.1.3. 2014-03-09 20:54:01 +00:00
christos
0afc3eb7f2 put back our local fixes:
- don't die on unresolved types.
- it is ok to have 0 sized arrays in structs
- forward enum decls.
2014-03-09 20:48:01 +00:00
christos
cf96d463d6 Temporarily add a -S flag to limit the number of threads. 2014-03-09 19:14:15 +00:00