[U-Boot] [PATCH] Fix all linker scripts for older binutils versions (pre-2.16)

Wolfgang Denk wd at denx.de
Mon Aug 17 21:31:30 CEST 2009


Dear Mike,

In message <200908171514.54018.vapier at gentoo.org> you wrote:
>
> > Mike, I am aware that Blackfin is already using the C preprocessor to
> > generate it's linker scripts. I guess this step can now be folded into
> > this general mechanism. Do you want to provide such a patch, or shall
> > I do it?
>
> toolchains that are older than binutils-2.17 wont work with the Blackfin port, 
> so compatibility with pre-2.16 isnt something this port needs to worry about

Agreed, but the cpp step is now _always_ performed, and in your case
twice - first in your board directory, and then again by the top level
Makefile. You could save the local run now.

Best regards,

Wolfgang Denk

-- 
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
God runs electromagnetics by wave theory on  Monday,  Wednesday,  and
Friday,  and the Devil runs them by quantum theory on Tuesday, Thurs-
day, and Saturday.                                   -- William Bragg


More information about the U-Boot mailing list