Commit Graph

4547 Commits

Author SHA1 Message Date
christos 7081cf9a59 need bsd.own.mk 2014-04-28 21:56:20 +00:00
joerg 0af4f3b8a9 Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.
2014-04-26 22:38:09 +00:00
martin 17480df656 Pull up upstream revision 209789: remove the *ashlsi3_extend pattern.
This fixes gcc [Bug target/60941] and resolves a firefox crash for me.
2014-04-25 11:06:52 +00:00
christos 0b24109d1b make compilable from the kernel 2014-04-22 15:12:35 +00:00
christos c8ad22d607 Add fake atomic 64 ops for those who don't have them.
XXX: used to be arm, now it is also i386.
2014-04-22 15:02:38 +00:00
christos 538614fe8f Put back MKLINT=no for now
- unnamed unions [c99]
    - __builtin_offsetof [gcc]
    - typeof [gcc]
2014-04-21 21:57:03 +00:00
christos 2d59a755a9 Returning in the middle of a TRY_CATCH macro gives heartburns since the
jump buffer is not being reset.
2014-04-21 17:32:14 +00:00
apb 3ff1cdf566 Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc.old/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 15:57:46 +00:00
apb 7f226bea47 Set ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
instead of ac_install_sh="$ac_aux_dir/$ac_t -c"
in all configure scripts in the gcc/dist tree.
This ensures that the install-sh script is always run
under the correct shell.
2014-04-19 13:00:57 +00:00
apb 441c2cf2f8 Use $(SHELL) to run move-if-change. 2014-04-19 12:41:31 +00:00
wiz c07d6dcd59 At least event(3) looks better when passed through tbl(1), so set USETBL. 2014-04-19 08:03:21 +00:00
christos 903821805f lint has __alignof__ too. 2014-04-18 02:28:06 +00:00
maxv 23f76b6d00 An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).

ok christos@
2014-04-16 18:55:17 +00:00
christos 035ceafe9d It is not nice to fake things we don't have; instead check explicitly
that we can get CS.
2014-04-16 02:14:44 +00:00
christos 07009f7010 take constant expressions out of the loop. 2014-04-16 00:34:10 +00:00
christos b8c0fcebe9 supply a fake cs that has has not have SEL_UPL set, so that our trapframe
sniffer works.
2014-04-16 00:32:33 +00:00
joerg 68aeaa009b Use correct library path for -m32 on sparc64. 2014-04-14 21:09:02 +00:00
christos 2e8a2b3a38 oops missed one instance of fixman 2014-04-11 13:18:35 +00:00
christos 7a4471249a PR/48722: David H. Gutteridge: use HOST_SH to execute fixman 2014-04-10 23:28:11 +00:00
riastradh 418e8d3033 Don't forget ZFS_EXIT after ZFS_ENTER. 2014-04-09 22:41:38 +00:00
riastradh c83470498f Try vflush, which may fail, before we mark the file system mounted. 2014-04-09 22:40:32 +00:00
rjs c5389c7a73 The SNA code builds with gcc 4.8 on i386 so enable it again.
ok riastradh@
2014-04-07 17:06:47 +00:00
pooka 7489153341 Re-add cloning bpf definition that got lost in rev 1.4.
Needed at least for wpa_supplicant against a rump kernel (which does
not create the old-style bpf0000 device nodes).
2014-04-07 01:29:12 +00:00
christos 897d836e1d Handle assembly code built with -g 2014-04-05 23:33:15 +00:00
tron eeaeb54957 Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
program to fail with error messages like this one:

/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth:  unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority

This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.
2014-04-05 17:01:55 +00:00
christos ebffd37d96 remove extra 2014-04-04 01:19:57 +00:00
christos 19f79caf6f Add NOCTF 2014-04-04 01:19:14 +00:00
riastradh b0d53a8085 Skip SNA on i386 for now, since it triggers a GCC ICE. 2014-04-03 18:17:52 +00:00
riastradh ed2e9169d8 Update reachover makefiles and set lists for xf86-video-intel 2.21.15. 2014-04-03 02:51:19 +00:00
riastradh eb051fdbc0 Link Xorg with -lpthread on x86.
This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration).  It shouldn't hurt, but is not
needed, on any other architecture.
2014-04-03 02:40:45 +00:00
riastradh 93797f6cf7 Install compositeext.h and shmint.h from X.org. 2014-04-02 01:22:11 +00:00
kardel b538a8f986 remove stray 'return 0;' that effectively disabled atouint().
Hi Christos!
2014-04-01 17:34:44 +00:00
pettai 3b429a7601 Import mDNSResponder-320.16, merge, fix conflicts 2014-03-31 23:26:30 +00:00
pettai e28a8d2c02 Import mDNSResponder-320.16, as previous import (258.14) is quite old 2014-03-31 23:21:21 +00:00
christos 0cfae56217 Convert to the new thread safe gethostby{name,addr} nsswitch ABI. 2014-03-31 02:03:38 +00:00
joerg b7b04e0e6d Match #if change in task.c. 2014-03-29 22:44:20 +00:00
joerg 0e80d9e124 Before messing with macros from stdio.h, include cstdio. Some parts of
the backend would include it afterwards and the macro changes conflict
with libc++'s version of cstdio.
2014-03-29 21:33:39 +00:00
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
christos 282742d04b add SHLIB_MINOR 2014-03-09 18:11:37 +00:00
christos e3afac50d3 fix constant name 2014-03-09 17:07:46 +00:00
martin 09a506f4af Fix variable name, so BUGURL gets properly defined 2014-03-09 17:06:30 +00:00
christos 7016e57516 use merged ctf rules 2014-03-09 17:05:23 +00:00
christos abe7c4c08a Merge ctf build rules. 2014-03-09 17:05:01 +00:00
christos 381ca28d6d sync with freebsd 2014-03-09 17:04:00 +00:00
christos e81373b450 put back our changes, RCSIDs, and build glue 2014-03-09 16:58:03 +00:00
christos 9dd9d0cfdb import elftoolchain from FreeBSD head. 2014-03-09 16:25:59 +00:00
mrg f1823084d1 disable TRANSFER_FROM_TRAMPOLINE for now. 2014-03-09 10:18:30 +00:00
mrg 297c460378 add ia64-netbsd support. 2014-03-09 05:51:26 +00:00
martin 7077fb4b4a Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
Ok: joerg
2014-03-08 19:15:32 +00:00
ozaki-r 959d62341c Prepare dtrace_isa.c for build
- Tidy up header file inclusions
- Replace curcpu with cpu_number()
- Fix argument of dtrace_getreg
- Tweak for gcc 4.8

Note that the file is still not buildable.
2014-03-08 11:46:01 +00:00
mrg aca3e771de create a fake libgcc_tm.h. 2014-03-08 02:02:22 +00:00
mrg 07c916cf9f crtstuff.c moved into libgcc. 2014-03-08 01:58:11 +00:00
christos ed1a42bd3d allow AAAA filtering (from John Baker) 2014-03-07 23:22:26 +00:00
skrll 62a29c0742 No need to provide a Scrt0.o for PIE as crt0.o is PIC 2014-03-07 21:15:49 +00:00
christos b8f0a3c0e7 change CC to HOST_CC to avoid trying to find <stdarg.h> in an unpopulated
DSTDIR.
2014-03-07 18:37:48 +00:00
matt a151e62066 Fix (back into) comment 2014-03-07 05:51:44 +00:00
matt 04aa645771 Use new elf32ppc_nbsd emulation. 2014-03-07 05:49:53 +00:00
matt 7412f6d60a Fix MULTILIB variables to match reality. 2014-03-07 04:15:34 +00:00
matt 7e9f53e082 WCHAR_SIZE is always int on NetBSD 2014-03-07 04:14:30 +00:00
matt b24a2a16b7 Add support for setting LIB_PATH for powerpc*-netbsd* on powerpc64*-netbsd* 2014-03-07 04:13:46 +00:00
ozaki-r e9ddbe399c Fix build of DTrace with GCC 4.8
Use __diagused for a variable which is only referred by KASSERT.

Advised by matt@
2014-03-07 02:37:16 +00:00
christos 4044532ae0 fix incorrect overflow test: https://android-review.googlesource.com/#/c/50570/ 2014-03-07 01:04:29 +00:00
skrll 851c716c49 Re-run mknative for hppa space register convention change. twice! 2014-03-06 19:07:13 +00:00
skrll 1b5cff8f1d Move to a flat space register convention. %sr[4-7] are all now the space
number allocated to the process.  gcc produces (slightly) better code
with this convention.

Retain backwards compatiblity.

Welcome to 6.99.36
2014-03-06 19:02:58 +00:00
matt b2757928d7 If marking a shared image TEXTREL, print out a warning about the section
that caused it.
2014-03-06 09:33:14 +00:00
christos 76024df3a5 bid the libtool.m4 lossage. 2014-03-06 02:12:56 +00:00
matt d14b4899e6 Don't include corelow.o and solib.o the {powerpc,sh3}*-netbsd cases since
those are provided by Makefile.in.  This allows MKCROSSGDB to build again
for powerpc.
2014-03-05 23:08:58 +00:00
tron 0e150de4df Remove automatically generated file "libgcc-std.ver" while cleaning. 2014-03-05 21:38:59 +00:00
tron 64f116ed07 Get GCC 4.8 closer to build with "USE_SSP" set to "yes". 2014-03-05 21:37:02 +00:00
christos 806892a224 move it to something that does not confuse cvs 2014-03-05 20:37:11 +00:00
tron f7ff511838 Fix build of DTrace with GCC 4.8. 2014-03-05 20:14:15 +00:00
tron 3c4e02c654 Fix build with "USE_SSP" set to "yes".
Problem reported by B Harder on "current-users" mailing list.
2014-03-05 16:18:41 +00:00
ozaki-r f6c17acba3 Add cyclic_machdep.c for ARM
The code is still almost same as i386's one.
2014-03-05 06:35:44 +00:00
ozaki-r bee7b32afb Add defined(__arm__) 2014-03-05 06:12:00 +00:00
ozaki-r 9d2dfffd73 Use native atomic function instead of DTrace's own one
So we don't need to implement it for each architecture.

This change is from FreeBSD (not as-is though).
2014-03-05 06:06:42 +00:00
ozaki-r 7ee4c5ecd0 Fix dtrace_cas32 logic
- compare with cmp, not new
- return old value
2014-03-05 03:09:17 +00:00
ozaki-r 1bf04388c3 Use uint32_t instead of u_int32_t 2014-03-05 02:00:24 +00:00
mrg cbd3ef8c8a mknative-gcc for GCC 4.8 and coldfire. 2014-03-05 00:14:50 +00:00
mrg 79269683ba coldfire does not want m68k/t-floatlib.
enable powerpc*-netbsd* -- ie, match ppc64.
2014-03-05 00:13:41 +00:00
mrg bc1bc906ca partial mknative-gcc for gcc 4.8 and ppc64. 2014-03-04 21:07:38 +00:00
joerg 1e03b295f8 Update build glue for LLVM/Clang r202566. News:
- match ARM CPU default of GCC
- better support for SPARC64
- type checkings for abs/fabs
- null pointer checks against struct member
- various other improvements
2014-03-04 21:05:05 +00:00
joerg f7ecfbd2ed Import LLVM 3.5svn r202566. 2014-03-04 20:49:27 +00:00
joerg 0b1d2313d3 Import LLVM 3.5svn r202566. 2014-03-04 20:32:45 +00:00
joerg 83820d9427 Import Clang 3.5svn r202566. 2014-03-04 19:53:10 +00:00
joerg 985bd56043 Import Clang 3.5svn r202566. 2014-03-04 19:41:04 +00:00
mrg bf58d1e73a forgotten mknative-gcc 4.8 for mips64el. 2014-03-04 13:47:32 +00:00
ozaki-r 07efccf499 Add missing END for each function 2014-03-04 11:07:40 +00:00
ozaki-r bc132bbc2a Get rid of unused variable definition za from mount.h
There is no user for it. Even worse, it breaks dtrace build for arm.
2014-03-04 09:24:42 +00:00
mrg 354055da20 bump local pkg version. 2014-03-04 09:16:04 +00:00
mrg fe6ccc8ae5 don't look for po/Makefile. 2014-03-04 09:12:09 +00:00
mrg b5a718ea7b mknative-gcc 4.8 for most platforms. missing: ppc64, m68010, ia64, coldfire. 2014-03-04 08:56:52 +00:00
mrg c9d652c862 include dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h netbsd.h
and netbsd-elf.h on powerpc64-netbsd.

port netbsd64.h forward from GCC changes.  (it's a pity that
a vast portion of linux64.h isn't in some common header that
netbsd64.h and freebsd64.h could also used.  there's 100s of
lines of copypasta here, oh well.)
2014-03-04 08:43:12 +00:00
ozaki-r ad5eab92b9 Fix wrong conditional statement in dtrace_debug_output
Reported in PR kern/48547 by ozaki-r.
2014-03-04 03:20:49 +00:00
mrg 5047c1c416 apply netbsd not rebuilding to mips-tables.opt; fixes r/o src builds. 2014-03-03 21:01:40 +00:00
jmmv ba38cec1e2 Avoid running a helper program for atf-sh as a test.
Should fix failures observed in PR bin/48624.
2014-03-03 19:56:32 +00:00
mrg e76a6f196c merge GCC r208254. 2014-03-03 03:28:55 +00:00
mrg 3002e98e60 import GCC 4.8.3 at r208254. these GCC PRs are fixed since r206687:
c++/37140 c++/41174 c++/54652 c++/55800 c++/57043 c++/57524 c++/57899
c++/58466 c++/58504 c++/58606 c++/58632 c++/58639 c++/58672 c++/58812
c++/58814 c++/58835 c++/58837 c++/58845 c++/58873 c++/58965 c++/59097
c++/59224 c++/59646 c++/59838 c++/59989 c++/60046 c++/60108 c++/60146
c++/60182 c++/60187 c++/60216 c++/60219 c++/60248 c++/60272 c++/60274
c/59891 driver/60233 ipa/55260 libgcc/60166 middle-end/58809 middle-end/59860
middle-end/60004 middle-end/60221 middle-end/60291 objc/56870 other/56653
rtl-optimization/57422 rtl-optimization/60116 target/55426 target/57896
target/58710 target/59142 target/59379 target/59462 target/59695 target/59718
target/59777 target/59794 target/59826 target/59880 target/60017 target/60193
target/60207 tree-optimization/59903 tree-optimization/60115
tree-optimization/60183 tree-optimization/60276
2014-03-03 02:42:38 +00:00
christos 0d8247f549 Don't core-dump if a type cannot be resolved. Still gives an error. 2014-03-03 00:09:52 +00:00
jmmv 285456ed54 Fix bundling of the atf version into pkgconfig files and atf-version.
Sigh; one more attempt.  This time I'm sure I've verified that the
.pc files contain the right number and that atf-version also outputs
the right stuff...  Both with a clean and non-clean obj directory.

Should fix part of the problems reported in PR bin/48624.
2014-03-02 22:50:13 +00:00
mrg 0788cf0c43 - set DIST based upon EXTERNAL_GCC_SUBDIR
- set GNUHOSTDIST
- move gthr-default.h to BUILDINCS, and add glue to add it to COPYHEADERS
- adjust COPYHEADERS to cope with files outside of dist/libstdc++-v3/.
2014-03-02 04:31:53 +00:00
mrg aebfe59c86 rearrange the code to copy renamed files to have more explicit paths. 2014-03-02 03:47:57 +00:00