From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29955 invoked by alias); 22 Jul 2005 13:27:46 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 29910 invoked by uid 22791); 22 Jul 2005 13:27:35 -0000 Received: from ms01.sssup.it (HELO sssup.it) (193.205.80.99) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 22 Jul 2005 13:27:35 +0000 Received: from [193.205.82.7] (HELO gandalf.sssup.it) by sssup.it (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 14575603 for binutils@sources.redhat.com; Fri, 22 Jul 2005 15:23:12 +0200 Received: from gandalf.sssup.it ([192.168.82.54]) by gandalf.sssup.it (8.12.10/8.12.10) with ESMTP id j6MDRS86025562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Jul 2005 15:27:28 +0200 Message-ID: <42E0F443.7070508@gandalf.sssup.it> Date: Fri, 22 Jul 2005 13:27:00 -0000 From: Michael Trimarchi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030 MIME-Version: 1.0 To: binutils@sources.redhat.com Subject: Linker question Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-07/txt/msg00390.txt.bz2 Hi all, I have a software project. The first one is compiled with the arm 2.95.2 arm cross toolchain and the second one is width the arm 3.3.3 . I have a lot of char array and each one in different object file. If I compile and link width the first toolchain the char arrays are 4 byte aligh maybe because they are in different object file but if I compile and link width the second one I have a lot of these not align at 4byte. I fix this behavior with the align directive at source code level and I build another toolchain forcing the data align at 32 bit. The ld version is 2.15 for the gcc 3.3.3 .... Any of us know what is changed? Regards Michael