summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2012-08-22recognise rrx mnemonic, from GPLv2 apple cctools via FreeBSDJonathan Gray
ok miod@
2012-08-22Bring in a change from post 2.17 (but still GPLv2) binutilsJonathan Gray
to avoid BFD64 host ifdefs in 32 bit only sparc targets. elfxx-sparc.c 1.31 and elfxx-sparc.h 1.8 Needed to compile sparc from a 64 bit host. ok miod@
2012-08-22make this compile by adapting loongson changes to the 2.17 struct layoutJonathan Gray
ok miod@ matthew@
2012-08-22add a file from 2.17 which was omitted when imported but needed for mips64Jonathan Gray
ok miod@ matthew@
2012-08-21remove -DSM_OMIT_BOGUS_WARNINGS which was intended to remove spuriousJonathan Gray
gcc warnings over ten years ago but now causes warnings while preventing none. vax never used this define, so gcc 2.95 is fine without it as well. ok guenther@ millert@
2012-08-20Add support for .openbsd.randomdata and PT_OPENBSD_RANDOMIZE toMatthew Dempsky
binutils 2.17. Passes randomdata regress tests on sparc64.
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEMatthew Dempsky
segments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64, i386, macppc, and sparc64 (thanks naddy, mpi, and okan!). Idea discussed for some time; committing now for further testing. ok deraadt
2012-08-20Sync GCC 3's libpthread specs with GCC 4's. Not currently used byMatthew Dempsky
anything, but might as well as long as GCC 3's still in tree. From Brad.
2012-08-18RFC updates:Jason McIntyre
5322 obsoletes 2822 5321 obsoletes 821 and 2821 6409 obsoletes 2476 and 4409
2012-08-18within Rs/Re reference blocks, use %U instead of %O (or any otherJason McIntyre
variants) for URLs, allowing mandoc -Thtml to properly generate links; (sendmail.8 changes are simply using Lk, which i somehow missed in previous) ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not, but 1.21 does;
2012-08-15A couple small but long anticipated changes:Matthew Dempsky
- Link libpthread.so with -znodlopen. Because libpthread overrides the weak symbols in libc, we can't allow it to be dynamically loaded or else libc's weak symbols might have already been resolved by ld.so. (Also, major bump because this is technically a backwards incompat change in behavior, although dlopen()ing libpthread never really worked.) - Link libc.so with -nodefaultlibs -lgcc. This ensures that libc doesn't try to link against itself (which ld.so wouldn't like). - Change GCC 4 to link shared objects with -lpthread and -lc as appropriate, now that there's no issues with doing so. This means that it's no longer necessary to patch software to use -pthread instead of -lpthread. (Ports tree rejoice!) Also, to preemptively answer this question: No, this does not eliminate the need for LD_PRELOAD=libpthread.so. That's a separate issue that won't be resolved until we eliminate libc's weak symbols. Discussed extensively on email and icb over the past few months. ok deraadt
2012-08-11Actually correctly handle -rpath-link, instead of eating its argument butMiod Vallat
handling it as -r. Oops.
2012-08-09Recognize and silently eat -rpath-link, as already done for -rpath, to avoidMiod Vallat
choking on the commandlines the base libtool builds.
2012-08-05We typedef intmax_t/uintmax_t to be long long/unsigned long long,Philip Guenthe
so override gcc's default of long/unsigned long on amd64 like we do the other LP64 platforms. This lets format checking of %jd/%ju work correctly there. ok matthew@ millert@
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2012-07-17martynas added support for the 'long double' math functions to libm atMatthew Dempsky
c2k11, so libstdc++-v3 should make use of them. Major version bump for good measure, and sync libstdc++'s shlib_version with libstdc++-v3's. Issue pointed out by Roberto Bagnara on bugs@ ok deraadt
2012-07-12On i386 gdb failed to display the stack trace of a kernel core dumpAlexander Bluhm
correctly. The gdb backtrace command did not get over the trap stack frame. There is a pushl %esp in alltraps() that was not accounted for. Depending on wheter the analyzed kernel has debugging symbols or not, the symbol is calltrap or alltraps. Both get special treatment now. ok miod@ kettenis@
2012-07-10In a scalar context, mkstemp should return just the file handlePhilip Guenthe
"sure" espie@
2012-07-08These files contain OpenBSD and Mdocdate keywordsIngo Schwarze
that weren't updated because the substitution mode was set to -ko. ok guenther@ millert@
2012-06-20Fix GCC's use of _POSIX_PRIORITY_SCHEDULING andMatthew Dempsky
_POSIX_THREAD_PRIORITY_SCHEDULING. POSIX 2001 states that they can be defined to -1 to indicate that the feature is not supported (which is how we define them), so it's not okay to just check whether or not they're defined. Arguably, SUSv2 allows GCC's usage, but we don't special case these feature flags for SUSv2, and these files need to be compilable in BSD and POSIX compat modes anyway. From Brad.
2012-06-10Change the Perl->C wrappers for mkdtemp and mkstemps to behave more likePhilip Guenthe
the File::Temp routines and call croak() (the C version of 'die') instead of returning an empty list. This lets pkg_add give good error messages when your $PKG_TMPDIR is mounted read-only. ok espie@
2012-05-30silence warning, as noticed with eric and landryMarc Espie
(gcc3 may need the same patch, untested yet)
2012-05-30Avoid errors with g++ -pedantic by removing throw() from the redeclaration ofPascal Stumpf
posix_memalign(). ok matthew@ guenther@
2012-05-21Fix binutils-2.17 configure script to build on amd64.Matthew Dempsky
ok miod
2012-05-20remove .cvsignore from cvs source dir, ok deraadtStuart Henderson
building cvs fails after a forgotten 'make obj', but the problem is tough to spot because the files which cause a problem are hidden from 'cvs up' output (even with 'cvs up -I !') because they're listed in .cvsignore.
2012-05-10fix warning. Reminded by landry@, I plain forgot to commit. This has been testedMarc Espie
for ages by now.
2012-05-04Enable multi-threaded debugging on hppa.Mark Kettenis
2012-05-04Add __ic_invalidate_array to libgcc on sh.Mark Kettenis
ok miod@, jsg@
2012-04-18Enable multi-threaded debugging on powerpc.Mark Kettenis
2012-04-17Enable multi-threaded debugging on sparc64.Mark Kettenis
2012-04-17Do not disable the stack protector by default anymore.Miod Vallat
2012-04-17Explicitely request -fno-stack-protector on sh when building the unwinder,Miod Vallat
for unwind-dw2.c fails to build otherwise.
2012-04-16Don't attempt to mmap 0-length bss.Miod Vallat
2012-04-15Use the proper symbol name for __guard in the workaround for theMiod Vallat
unable to find a register to spill in class 'R0_REGS' ICE when compiling PIC code. Similar to the MI targhooks.c change.
2012-04-14remove libf2c, hasn't been built since it was moved to ports in 2010.Jonathan Gray
ok miod@ espie@
2012-04-13Enable multi-threaded debugging on amd64.Mark Kettenis
2012-04-13Enable multi-threaded debugging on i386.Mark Kettenis
2012-04-13Add support for live debugging of multi-threaded code.Mark Kettenis
2012-04-13hook in requisite bits for OpenBSD::MkTemp to build and man.Marc Espie
2012-04-13extra .xs glue to use mkstemp and mkdtemp directlyMarc Espie
written by guenther@ about a year ago. discussed with him and millert@
2012-04-12Don't munge PID and TID together, since the way GDB displays them isn't veryMark Kettenis
helpful. Just provide the TID instead.
2012-04-12Revert change not intended to be committed.Kurt Miller
2012-04-12Remove incorrect -pthread preprocessor define _POSIX_THREADS and replaceKurt Miller
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@
2012-04-12the fpu control symbol on sh (__fpscr_values) suddenly becomes localJonathan Gray
instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@
2012-04-12backout gcc revision 112331 "optimized integer divide for SH4"Jonathan Gray
so we can use the existing sh libkern functions. ok miod@
2012-04-11Minimal threads support for i386.Mark Kettenis
2012-04-09Minimal threads support for mips64.Mark Kettenis
2012-04-08Minimal threads debug support for powerpc.Mark Kettenis
2012-04-07Minimal threads debug support for sparc64.Mark Kettenis
2012-04-07The wcookie is per-process, not per-thread.Mark Kettenis