From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Tue, 20 Jan 2015 12:42:26 +0000 Subject: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table In-Reply-To: References: <1421710147-5550-1-git-send-email-andreas.devel@googlemail.com> <1421710147-5550-4-git-send-email-andreas.devel@googlemail.com> Message-ID: <1421757742.2939.11.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Mon, 2015-01-19 at 16:34 -0700, Simon Glass wrote: > Hi Andreas, > Why do you need manual reloc? Is this a toolchain bug? >From my experience the only way to escape manual relocation is to use PIE (Position Independent Executable), but this might not be supported in a toolchain for AVR (or it doesn't actually work good enough - this I understood from this message https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574716) -Alexey