Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-27 Thread Michal Simek
2015-01-20 0:34 GMT+01:00 Simon Glass s...@chromium.org: Hi Andreas, On 19 January 2015 at 16:29, Andreas Bießmann andreas.de...@googlemail.com wrote: This is required for architectures still need manual relocation like avr32, mk68 and others. Signed-off-by: Andreas Bießmann

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-20 Thread Alexey Brodkin
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

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-19 Thread Simon Glass
Hi Andreas, On 19 January 2015 at 16:29, Andreas Bießmann andreas.de...@googlemail.com wrote: This is required for architectures still need manual relocation like avr32, mk68 and others. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- common/board_r.c | 12

[U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-19 Thread Andreas Bießmann
This is required for architectures still need manual relocation like avr32, mk68 and others. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- common/board_r.c | 12 1 file changed, 12 insertions(+) diff --git a/common/board_r.c b/common/board_r.c index

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-19 Thread Simon Glass
Hi Andreas, On 19 January 2015 at 16:41, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi Simon, On 20.01.15 00:34, Simon Glass wrote: Hi Andreas, On 19 January 2015 at 16:29, Andreas Bießmann andreas.de...@googlemail.com wrote: This is required for architectures still need manual

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-19 Thread Andreas Bießmann
Hi Simon, On 20.01.15 00:34, Simon Glass wrote: Hi Andreas, On 19 January 2015 at 16:29, Andreas Bießmann andreas.de...@googlemail.com wrote: This is required for architectures still need manual relocation like avr32, mk68 and others. Signed-off-by: Andreas Bießmann