Received: by mail.netbsd.org (Postfix, from userid 605) id 6BAF914A26C; Sat, 26 Jan 2013 16:00:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 14C9214A267 for ; Sat, 26 Jan 2013 16:00:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id BWiFq28phaBJ for ; Sat, 26 Jan 2013 16:00:04 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 91A7714A264 for ; Sat, 26 Jan 2013 16:00:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4033A175DD; Sat, 26 Jan 2013 16:00:04 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 26 Jan 2013 16:00:04 +0000 From: "Izumi Tsutsui" Subject: CVS commit: src/sys/arch/luna68k/stand/boot To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130126160004.4033A175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Izumi Tsutsui" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: tsutsui Date: Sat Jan 26 16:00:04 UTC 2013 Modified Files: src/sys/arch/luna68k/stand/boot: boot.ldscript Log Message: Add proper padding to text section for elf2aout conversion. The data and bss sections are 8 byte aligned on m68k ELF format, but a.out header doesn't have section addresses and only contains size values, so we have to pad size of text section to make data section get aligned even after elf2aout. Note elf2aout merges ELF data section into a.out text section if binary is OMAGIC (i.e. text is writable too) so only BSS section address was affected (and was almost harmless). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/luna68k/stand/boot/boot.ldscript Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.