1268b2dbc5
change INITIALIZE_TRAMPOLINE() to use it, and apply the following patch to it (which I have already submitted to GCC 3.3): * config/i386/i386.c (x86_initialize_trampoline): Emit a call to __enable_execute_stack with the address of the trampoline if TRANSFER_FROM_TRAMPOLINE is defined. Define a TRANSFER_FROM_TRAMPOLINE suitable for NetBSD targets, to enable stack execution on target machines which can separate exec permissions for a region: * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define. * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define as NETBSD_ENABLE_EXECUTE_STACK. * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/sparc/netbsd-elf-common.h (TRANSFER_FROM_TRAMPOLINE): Ditto. * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto. (A similar patch will be submitted to GCC 3.3.) |
||
---|---|---|
.. | ||
autoconf | ||
bc | ||
cvs | ||
diffutils | ||
gawk | ||
gettext | ||
grep | ||
groff | ||
map-mbone | ||
mrinfo | ||
mrouted | ||
mtrace | ||
postfix | ||
sendmail | ||
tar | ||
texinfo | ||
toolchain | ||
README.toolchain |
$NetBSD: README.toolchain,v 1.3 2001/10/15 18:28:28 bjh21 Exp $ HOW TO BUILD A CROSS COMPILER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Section to be written.] See also: http://www.netbsd.org/Documentation/cross/ IMPORTED VERSIONS ~~~~~~~~~~~~~~~~~ The following software is in gnusrc/gnu/dist/toolchain, in a unified build structure: gcc-2.95.3 binutils-2.11.2 gdb-5.0 IMPORT STEPS ~~~~~~~~~~~~ 1. All distributions were unpacked and all `.cvsignore' files were removed. 2. All files in gcc's `include' top level directory were removed from binutils's `include' top level directory (these are the libiberty include files). cd gcc-*/include; for f in *; do rm -f ../../binutils-*/include/$f; done 3. The gcc distribution was imported in one shot into gnusrc/gnu/dist/toolchain, including the recursive build structure. 4. The binutils distribution was stripped down to the following directories, with no files at the top level: bfd, binutils, gas, gprof, include, intl, ld, opcodes 5. Binutils was imported into gnusrc/gnu/dist/toolchain, which included only the subdirectories above. 6. The gdb distribution was stripped down to the following directories, with no files at the top level: gdb, mmalloc, readline, sim 7. Gdb was imported into gnusrc/gnu/dist/toolchain, which included only the subdirectories above.