From: Wolfgang Denk Date: Tue, 26 Jan 2010 19:32:36 +0100 Subject: [U-Boot] [PATCH 1/4] ppc: Loose GOT access in IRQ In-Reply-To: <1263908518-31835-1-git-send-email-Joakim.Tjernlund@transmode.se> References: <20100117220543.09DE4C88AE@gemini.denx.de> <1263908518-31835-1-git-send-email-Joakim.Tjernlund@transmode.se> Message-ID: <20100126183236.0E9D23F6C0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joakim Tjernlund, In message <1263908518-31835-1-git-send-email-Joakim.Tjernlund@transmode.se> you wrote: > Using the GOT in IRQ handlers requires r14 to be -ffixed-r14. > Avoid this by relocatate transfer_to_handler too. > This will allow to free up r14 later on. > > Signed-off-by: Joakim Tjernlund > --- > cpu/74xx_7xx/start.S | 36 +++--------------------------------- > cpu/mpc512x/start.S | 35 +++-------------------------------- > cpu/mpc5xx/start.S | 37 +++---------------------------------- > cpu/mpc5xxx/start.S | 35 +++-------------------------------- > cpu/mpc8220/start.S | 35 +++-------------------------------- > cpu/mpc824x/start.S | 33 +++------------------------------ > cpu/mpc8260/start.S | 35 +++-------------------------------- > cpu/mpc83xx/start.S | 34 +++------------------------------- > cpu/mpc85xx/start.S | 33 +++------------------------------ > cpu/mpc86xx/start.S | 36 +++--------------------------------- > cpu/mpc8xx/start.S | 36 +++--------------------------------- > cpu/ppc4xx/start.S | 33 +++------------------------------ > include/ppc_asm.tmpl | 47 ++++++++++++++++++++++------------------------- > lib_ppc/Makefile | 1 + > lib_ppc/reloc.S | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ > 15 files changed, 108 insertions(+), 407 deletions(-) > create mode 100644 lib_ppc/reloc.S Applied, thanks. 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 I'm frequently appalled by the low regard you Earthmen have for life. -- Spock, "The Galileo Seven", stardate 2822.3