From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24293 invoked by alias); 9 Feb 2011 12:48:32 -0000 Received: (qmail 24285 invoked by uid 22791); 9 Feb 2011 12:48:32 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BJ,TW_JC,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-px0-f169.google.com (HELO mail-px0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Feb 2011 12:48:28 +0000 Received: by pxi12 with SMTP id 12so27636pxi.0 for ; Wed, 09 Feb 2011 04:48:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.14.15 with SMTP id 15mr18763462wfn.356.1297255697719; Wed, 09 Feb 2011 04:48:17 -0800 (PST) Received: by 10.142.99.2 with HTTP; Wed, 9 Feb 2011 04:48:17 -0800 (PST) Date: Wed, 09 Feb 2011 12:48:00 -0000 Message-ID: Subject: questions about objcopy and ld From: ali hagigat To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00083.txt.bz2 Does objcopy adds a final 0 to the outfile? I use it, it seems that one byte is extra. When we create some sections by ld, does the size of these sections have to be a multiple of a number?(some sort of alignment) and what is that number?