Commit Graph

427 Commits

Author SHA1 Message Date
joerg
4acff4c01b Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
matt
6be8dcf23e Fix merge botch dealing with linker assignments. 2012-03-04 17:09:32 +00:00
matt
82cfc8036f Fix support for .protected symbols. 2012-03-02 16:37:16 +00:00
joerg
de785a6e75 gdb likes to mix different enum types in switches, so disable the check
for clang.
2012-02-28 22:07:54 +00:00
joerg
14ac342e56 Don't use clang here. 2012-02-28 20:26:07 +00:00
christos
268a453af7 PR/46068: Fix symbol loading on i386 kernels. On i386 lma != vma and gdb7
depends on them being != to detect overlays and avoid loading them. I've
disabled the test for now.
2012-02-24 22:41:12 +00:00
nonaka
6e76caabe4 fix build failure on mips64. 2012-02-23 11:05:02 +00:00
mrg
97a48de011 avoid bfd.info rebuilds and r/o source lossage. 2012-02-18 06:17:39 +00:00
nakayama
b3ed3f9f74 The default configuration for TLS support is supposed to use Sun
as, but we use GNU as.  So in this case it generates wrong
relocations in non-PIC mode.

This change fixes lib/libc/tls/t_tls_dynamic test failure on 32-bit
sparc as described in PR toolchain/45985.

Approved by releng.
2012-02-14 11:25:05 +00:00
matt
3ffd030673 Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2012-02-10 01:47:37 +00:00
skrll
03fa5d214f Make mips gdb7 compile.
XXX not sure I got this right.
2012-02-09 15:14:19 +00:00
skrll
c49a22327e Re-re-run gdb7 mknative for mips. mips not using gdb7 yet.
OK martin@
2012-02-09 15:13:30 +00:00
skrll
6b25048fe3 Re-re-run mknative for vax on gdb7.
vax isn't currently using gdb7 so this doesn't hurt anyone and I'm going
to ride my previous OK from releng :)
2012-02-09 15:05:00 +00:00
skrll
0cb5c6eccd Re-run mknative.
OK releng@ ack 3 nak 0
2012-02-06 10:55:32 +00:00
skrll
69352bd310 Add nbsd-pthread.o.
OK releng@ 3 ack 0 nak.
2012-02-06 10:46:34 +00:00
matt
5a1411907d For VAX & GCC, turn on -Wno-overflow to supress a GCC error. 2012-02-05 17:47:30 +00:00
matt
2c2478331f Gcc emit overflows warnings on VAX when you try to use HUGE_VAL. Make these
warning supressable if -Wno-overflow is given.
2012-02-05 17:43:47 +00:00
matt
c1538b0e12 Deal with vax defining [an empty] struct fpreg;
Add supply_gregset and fill_gregset for nbsd-thread.c to vaxbsd-nat.c
2012-02-05 17:40:48 +00:00
matt
512e444044 Use REG_P, CONST_INT_P, and gcc_unreachable().
Bring forward movememsi from gcc4.1
2012-02-05 17:38:21 +00:00
matt
a7e9fdf4f5 Constraint 'T' needs to be a CONSTANT_P so add a match_test for that. 2012-02-05 17:37:19 +00:00
skrll
80a78e2456 Fix build of gdb7 for mips. It's not used at present. 2012-02-05 13:26:01 +00:00
drochner
28af654232 tell the compiler that the i387 runs in double-rounding mode, so it
doesn't need to issue memory store-read sequences to kill excess
precision. makes code smaller and faster, depending on optimization
flags
(as tests on Linux have shown, the compiler doesn't even succeed in
avoiding excess precision)
2012-02-02 13:07:33 +00:00
dholland
59b296daa7 Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
2012-02-01 05:34:38 +00:00
joerg
48d38253ab Disable -Wconversion for clang. 2012-01-28 14:24:53 +00:00
joerg
dec45735b2 Merge r171807 from upstream:
exception_ptr.h needs the forward declaration because it's
included from <typeinfo> before <typeinfo> defines std::type_info.
2012-01-28 14:21:52 +00:00
uwe
6b9feef6d1 Pull in revision 1.4 from src/gnu/dist/gcc4/gcc/config/vax/elf.h:
Emit DWARF relocation in its expected form

PR toolchain/43314
2012-01-28 11:24:05 +00:00
christos
669aa7297a make powerpc compile. 2012-01-25 19:24:21 +00:00
christos
da2b6379c3 hack to make sh3 build. 2012-01-25 17:01:02 +00:00
christos
7c79471a43 Deal with sh3 having no FPREGS and having 32 bit pointers and 64 bit CORE_ADDR.
Ugly.
2012-01-25 16:48:44 +00:00
christos
bf1e6562d5 fix this properly. 2012-01-25 16:25:28 +00:00
christos
3fb02d96a3 make thi 2012-01-25 16:21:22 +00:00
christos
525fde84b9 make gdb link again 2012-01-25 16:08:37 +00:00
christos
6dc91634bc remove error(1) junk. 2012-01-25 03:26:39 +00:00
christos
3010244ff3 Fix i386 2012-01-25 03:25:02 +00:00
martin
8d947a05b5 Use void* instead of pr{f,}pregset_t for now to make it compile. 2012-01-23 21:51:46 +00:00
christos
7a2aab3e0e add {fill,supply}_{g,fp}regset(), completely untested. 2012-01-23 21:28:40 +00:00
christos
b820deae47 add supply_{g,fp}regset() 2012-01-23 21:24:43 +00:00
skrll
5968222aaf Provide {supply,fill}_{g,fp}regset 2012-01-23 06:17:58 +00:00
skrll
4a46d474d5 Provide {supply,fill}_{g,fp}regset 2012-01-22 22:04:48 +00:00
skrll
564cf36b7d More cheating wrt mknative 2012-01-22 20:38:56 +00:00
skrll
8a6699ea43 Pass the lwp id as the 4th arg to ptrace. 2012-01-22 20:27:28 +00:00
skrll
a9e4bd60bf Cheat wrt to mknative and add nbsd-thread.o to all platforms. 2012-01-22 20:21:12 +00:00
mlelstv
d07fe1b033 Apparently mknative didn't work right. Fix up losses. 2011-12-16 11:19:19 +00:00
mrg
7549abf063 mknative-gcc for sun2 and tls / new version fix. 2011-12-15 08:36:05 +00:00
mrg
fefbf74c02 make sure m68010-netbsdelf chooses the right unwinder. 2011-12-15 08:33:55 +00:00
mrg
633e66df05 regenerate mknative-gcc files for most platforms, post skrll@ fix
and joerg@'s enable tls change.

missing: m68010 (coming shortly) and m68k (breaks the build)

XXX: didn't test i re-merged the powerpc by-hand changes properly
2011-12-15 06:35:45 +00:00
skrll
686829eb3c Revert last change to elf32-hppa.c and pull across the fix to my binutils
PR 13476.

tests/lib/libc/tls on hppa still passes with this change.
2011-12-12 07:40:56 +00:00
tron
5939d9ebbc Remove ".gitignore" files which blacklist some files that actually are
in the NetBSD sources. This should fix build problems for people using
GIT to track current.

Problem reported by Evgeniy Ivanov on "current-users" mailing list.
2011-12-05 10:43:24 +00:00
macallan
4aeefed6a9 actually pass $COPTS to the compiler
ok mrg@
2011-12-02 22:28:47 +00:00
skrll
a273c995fc Pull across the fix for target/50691
ok'ed by mrg@
2011-12-02 09:44:48 +00:00