Skip to content
Snippets Groups Projects
Commit 29565326 authored by John Rigby's avatar John Rigby Committed by Wolfgang Denk
Browse files

Move DECLARE_GLOBAL_DATA_PTR to file scope


It can be optimised out by the compiler otherwise resulting
in obscure errors like a board not booting.

This has been documented in README since 2006 when these were
first fixed up for GCC 4.x.

Signed-off-by: default avatarJohn Rigby <john.rigby@linaro.org>

Fix some additional places.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Acked-By: default avatarAlbert ARIBAUD <albert.aribaud@free.fr>
parent 71aab09b
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 40 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment