From owner-cvs-all@FreeBSD.ORG Fri Jul 27 14:42:26 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DBF416A419; Fri, 27 Jul 2007 14:42:26 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3233613C461; Fri, 27 Jul 2007 14:42:26 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6REgQs2015130; Fri, 27 Jul 2007 14:42:26 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6REgQdk015129; Fri, 27 Jul 2007 14:42:26 GMT (envelope-from cognet) Message-Id: <200707271442.l6REgQdk015129@repoman.freebsd.org> From: Olivier Houchard Date: Fri, 27 Jul 2007 14:42:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf Makefile.arm src/sys/arm/arm elf_trampoline.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 14:42:26 -0000 cognet 2007-07-27 14:42:26 UTC FreeBSD src repository Modified files: sys/conf Makefile.arm sys/arm/arm elf_trampoline.c Log: Bring in two bandaids to get the elf trampoline to work again, until I find a proper solution. - Add a dummy entry point which just calls the C entry points, and try to make sure it's the first code in the binary. - Copy a bit more than func_end to try to copy the whole load_kernel() function. gcc4 puts code behind the func_end symbol. Approved by: re (blanket) Revision Changes Path 1.18 +15 -5 src/sys/arm/arm/elf_trampoline.c 1.34 +14 -10 src/sys/conf/Makefile.arm