Re: [U-Boot] [PATCH] MIPS: fix endianess handling

Dear Daniel Schwierzeck,
In message 4EDB5F86.40605@googlemail.com you wrote:
Wolfgang, is there any reason why standalone apps are linked without LDFLAGS (especially PLATFORM_LDFLAGS)?
None that I know, at least.
In general, standalone applications are a rarely used special feature, and the few people who actually ever used this for a purpose probably used custom code and custom linker scripts, so the mainline code is eventually not that good supproted.
This patch fixes a general issue with standalone apps on archs supporting both endianess types when running MAKEALL. I guess this could be relevant for ARM too if U-Boot has support for big-endian ARM boards.
It does, but I doubt anybody ever used standalone applications on these.
Best regards,
Wolfgang Denk

On 12/04/2011 04:06 PM, Wolfgang Denk wrote:
Dear Daniel Schwierzeck,
In message4EDB5F86.40605@googlemail.com you wrote:
Wolfgang, is there any reason why standalone apps are linked without LDFLAGS (especially PLATFORM_LDFLAGS)?
None that I know, at least.
In general, standalone applications are a rarely used special feature, and the few people who actually ever used this for a purpose probably used custom code and custom linker scripts, so the mainline code is eventually not that good supproted.
the problem is those apps are always compiled. Maybe we should introduce a config option to enable building only if someone really needs them?
This patch fixes a general issue with standalone apps on archs supporting both endianess types when running MAKEALL. I guess this could be relevant for ARM too if U-Boot has support for big-endian ARM boards.
It does, but I doubt anybody ever used standalone applications on these.
Best regards,
Wolfgang Denk

Dear Daniel Schwierzeck,
In message 4EDC0A99.6090106@googlemail.com you wrote:
In general, standalone applications are a rarely used special feature, and the few people who actually ever used this for a purpose probably used custom code and custom linker scripts, so the mainline code is eventually not that good supproted.
the problem is those apps are always compiled. Maybe we should introduce a config option to enable building only if someone really needs them?
As is, they are rarely used, so they tend to collect bit-rot.
If we stop to even compile them, they wil rot much faster. This is not a good idea.
Best regards,
Wolfgang Denk
participants (2)
-
Daniel Schwierzeck
-
Wolfgang Denk