Wolfgang Denk <w...@denx.de> wrote on 2010/10/04 23:10:31: > > Dear Joakim Tjernlund, > > In message <OFF06E784F.A10A5A15-ONC12577B2.0065FB3C-C12577B2. > 0066d...@transmode.se> you wrote: > > > > :), actually it wasn't that bad. Wolfgang nearly accepted the code even :) > > Yes, I was really tempted because I do appreciate the value of such a > feature. > > > Mainly, I had to wrap code that accessed global data with a LINK_OFF() > > function > > that calculated the offset and only in code that executed before relocation. > > That was the part that gave me the creeps. It looked too much > unreadable and error prone to me, especially as this is not only a > one-time conversion but has to be kept in mind for all changes to > related code.
Yes, that is a bummer. If one could convince gcc to do %pc relative addressing on strings/constant data the we would be in business I think. Anyone got gcc connections? > > I'm still undecided, to be honest. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot