ELF relocation issues wrt toolchain
All,
I think I've got the issue pinned down.
I noticed that in the non-working case, the _rel_dyn_start_ofs and _rel_dyn_end_ofs both had the same value. I first suspected a linker issue, when actually it was a linker *file* issue.
Somehow, between linker releases, the names of relocation input sections have changed, which moved them out of our .rel.dyn, actually causing the code not to relocate any more.
I am experimenting to find a solution that will please both 'old' and 'new' linkers.
Amicalement,
Signature · 1 line
Albert.
Dear Albert ARIBAUD,
Quoted 2 lines · In message <[email protected]> you wrote:
I think I've got the issue pinned down.
Congrats!
Quoted 6 lines
Somehow, between linker releases, the names of relocation input sections have changed, which moved them out of our .rel.dyn, actually causing the code not to relocate any more.
I am experimenting to find a solution that will please both 'old' and 'new' linkers.
We run all linker scripts through the C preprocessor. If there is a version dependeny, we can handle this trough an #ifdef
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A good marriage would be between a blind wife and deaf husband.
-- Michel de Montaigne