summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2002-01-02Add "_eh.c" to list of files which are supposed to get cleaned.tron
2002-01-01Oops, this is NOT a C++ program.thorpej
2002-01-01Per a suggestion from matthew green, PROG_CXX takes the place ofthorpej
PROG for C++ programs.
2002-01-01Set PROG_CXX since these are C++ programs.thorpej
2001-12-31Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAINthorpej
case: MKBFD If set to "no", disables building of libbfd, libiberty, and all things that depend on them (binutils/gas/ld, gdb, dbsym, mdsetimage). MKGDB If set to "no", disables bulding of gdb. MKGCC If set to "no", disables building of gcc and the gcc-related libraries (libg2c, libgcc, libobjc, libstdc++). These are useful for building platforms for which either of the following situations are true: (1) You have no userland from which to run toolchain2netbsd in order to build the appropriate toolchain build framework. (2) The platform which you are building requires a newer set of tools than are currently in the tree (e.g. x86-64, ia64).
2001-12-30this is really libstdc++ 2.8.0mrg
2001-12-29Fix %{p*:} botch, as described in toolchain/15024. (What specs need is antv
if/then/else type construct....)
2001-12-28* Add user-controlled mk.conf variableslukem
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR} is "yes". Defaults to "/usr/lib". - USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR} instead of ${LIBDIR}. Defaults to "no". Sets ${_LIBSODIR} to the appropriate value. This may be set by individual Makefiles as well. - SHLINKDIR Location of shared linker. Defaults to "/usr/libexec". If != "/usr/libexec", change the dynamic-linker encoded in shared programs * Set USE_SHLIBDIR for libraries used by /bin and /sbin: libc libcrypt libcrypto libedit libipsec libkvm libm libmi387 libtermcap libutil libz * If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so* to ${_LIBSODIR}/${LIB}.so* for compatibility. * Always install /sbin/init statically (for now) The net effect of these changes depends on how the variables are set: 1.) If nothing is set or changed, there is no change from the current behaviour: - Static /bin, /sbin, and bits of /usr/* - Dynamic rest - Shared linker is /usr/libexec/ld*so 2.) If the following make variables are set: LDSTATIC= SHLINKDIR=/lib SHLIBDIR=/lib Then the behaviour becomes: - Dynamic tools - .so libraries used by /bin and /sbin are installed to /lib, with symlinks from /usr/lib/lib*so to -> /lib/lib*so where appropriate - Shared linker is /lib/ld*so 3.) As per 2.), but add the following variable: USE_SHLIBDIR=yes This forces all .so's to be instaleld in /lib (with compat symlinks), not just those tagged by their Makefiles to be. Again, compat symlinks are installed
2001-12-24Disable the atexit(_IO_cleanup) for two good reasons:mycroft
1) There is already a destructor that does this. The atexit() is superfluous. 2) If libstdc++ is loaded dynamically by dlopen() and then is removed by dlclose(), the pointer is no longer valid and the program would core dump at exit() time. (This caused xmms to core dump at exit when xmms-sid was installed, for example.) NOTE: THIS NEEDS TO BE APPLIED TO THE `TOOLCHAIN' VERSION.
2001-12-24Incorporate some gcc3.0 vax.md changesmatt
2001-12-24Expand VAX ELF relocs into new style (with comments). Nuke OSABI shit.matt
2001-12-21Set NOMAN correctly. From Andrew Brown.thorpej
2001-12-21Build as "protoize" and "unprotoize" respectively, not "gcc" (!!).thorpej
2001-12-21Fixes to alpha_next_pc() (for software single-step):thorpej
* jump-format jumps: the target is in RB, so use the RB bits in the insn, not the RA bits. * branch-format displacements are 21 bits; extract all of them, and sign-extend correctly. * For conditional branches, we need to determine whether or not the branch is actually taken.
2001-12-21Minimal changes/files to get gdb for vax building under the new toolchain.matt
2001-12-21Implement software single stepping, and enable it for NetBSD/alpha.thorpej
2001-12-21Update for Alpha emulation change.thorpej
2001-12-21Update for changes to alphanbsd-nat.c.thorpej
2001-12-21Major overhaul, plus support ELF core files.thorpej
2001-12-20fix typo. (.o in SRCS)yamt
2001-12-20Fixup VERSION.thorpej
2001-12-20Revert the last change following yesterday's commit to ../netbsd.hscw
(Hi Jason!)
2001-12-20Avoid generating code sequences that might cause alignment faults.rearnsha
2001-12-20Redo previous differently: Put the ASM_DECLARE_OBJECT_NAMEthorpej
and ASM_FINISH_DECLARE_OBJECT macros in <alpha/netbsd.h>, and remove ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT, and ASM_DECLARE_FUNCTION_SIZE from <netbsd.h>.
2001-12-19* Add protoize and unprotoize. (Closes PR 6894.)tv
* Regen files with proper OS names and version numbers. * Clean up toolchain2netbsd somewhat, to get it ready to be cross-host compatible (more work to be done here, but it's getting closer). * Add framework for gdbreplay and gdbserver, but hold off on enabling these by default until low-nbsd.c is verified to work everywhere.
2001-12-19Recent change to <netbsd.h> broke ASM_DECLARE_FUNCTION_NAME. Re-definethorpej
it here to what it should be.
2001-12-19Implement ATPCS stack-alignment rules, and enable on arm-netbsdelfrearnsha
configuration.
2001-12-19Remove COPTS+=-g. This should be set by the builder, not this Makefile.tv
2001-12-19When NETBSD_NATIVE, use the appropriate version of libgcc for the compiletv
mode: libgcc_pic.a for -shared, and libgcc_p.a for -p[g].
2001-12-19Tag all version strings with "nb1" to make FSF/binutils/gcc/gdb peopletv
happy. (This flags the version as deviating from the official FSF distribution inside the NetBSD source tree.)
2001-12-19Remove iostdio.h from the list of system-installed headers; intended totv
address parts of PR toolchain/14896. This header file is nonstandard (and doesn't even exist in gcc 3.0); an out-of-the-box gcc build also doesn't provide the missing functions. So just drop the .h completely.
2001-12-19G/C some #define's which are already in ../netbsd.h.scw
Gets libgcc compiling again.
2001-12-18Go back to the nop/unop pattern, and pick up rev. 1.35 from thethorpej
master FSF sources (rth): * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
2001-12-18From the master FSF sources, rev. 1.7 (rth):thorpej
* alpha-opc.c (unop): Encode with RB as $sp.
2001-12-17Make a note about what "nop" and "unop" actually are.thorpej
2001-12-16Apply rev 1.4 of gnu/dist/gcc/config/sh/sh.h:thorpej
fix REGISTER_MOVE_COST bug (gcc original rev. 1.43): > *sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS
2001-12-16Apply rev 1.3 of gnu/dist/gcc/config/sh/sh.h (fix ASM_OUTPUT_REG_PUSHthorpej
and ASM_OUTPUT_REG_POP): fix two bugs: - cc1 dumps core when "-pg" is used - gas produces a syntax error
2001-12-16Apply rev. 1.2 of gnu/dist/gcc/config/sh/sh.h:thorpej
set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction is fixed to 16bits.
2001-12-16Apply rev. 1.7 of gnu/dist/config/sh/sh.c:thorpej
apply gcc original rev. 1.59: > * config/sh/sh.c (prepare_scc_operands): Apply force_reg to > sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't > const0_rtx.
2001-12-16Apply change from rev 1.5 of gnu/dist/gcc/config/sh.c:thorpej
fix output_ieee_ccmpeq() bug: - 2nd argument is not rtx but rtx * - return value of output_ieee_ccmpeq is not void but char *
2001-12-16After a discussion with Richard Henderson (rth at redhat dot com), addscw
the patch I posted to tech-toolchain@netbsd.org as a workaround for the GOT bug whereby the callee-saved register %a5 can be trashed in certain optimised -fPIC functions. This may yet need to be fixed a different way, pending input from Andreas Schwab on his change in revison 1.33 of this file in the FSF source... In the meantime, I've built and installed several NetBSD shared libraries (including libc) with my change and found no problems.
2001-12-16Define __NO_LEADING_UNDERSCORES__, since this sh-elf toolchain doesn'tthorpej
use them.
2001-12-16Undo a local change inherited from our local binutils 2.9 thatthorpej
is not needed in binutils 2.11.
2001-12-16Make this compile. Still needs work.thorpej
2001-12-16Avoid infinite #include recursion.thorpej
2001-12-16Use the elf64alpha_nbsd linker emulation.thorpej
2001-12-16After discussing the entry point issue w/ rth@redhat.com, add anthorpej
elf64alpha_nbsd linker emulation that sets the entry point correctly for NetBSD.
2001-12-16We need the versions of ASM_DECLARE_FUNCTION_NAME andthorpej
ASM_DECLARE_FUNCTION_SIZE from <alpha/alpha.h>, but <netbsd.h> re-defines them. So, re-define them again here to what we need.
2001-12-16Catch up with other Alpha-ELF changes. This will get cleaned upthorpej
even more somtime soon.
2001-12-16Clean up a bunch of the ELF support (looks like there was some sortthorpej
of merge error), and make the function/object type/size macros work with the Alpha.