From: Wolfgang Denk Date: Wed, 04 Feb 2009 17:08:56 +0100 Subject: [U-Boot] [PATCH 1/2] Allow board specific overwriting of library code In-Reply-To: <4989BB8E.9090405@nessie.de> References: <1233757799-1165-1-git-send-email-mroth@nessie.de> <1233757799-1165-2-git-send-email-mroth@nessie.de> <20090204153632.231B48322908@gemini.denx.de> <4989BB8E.9090405@nessie.de> Message-ID: <20090204160856.92DD08322908@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 Michael Roth, In message <4989BB8E.9090405@nessie.de> you wrote: > > > Why would that be needed? > > Because the whole weak-linking looks like it is somewhat broken or at > least very difficult to get it correctly. Then you should at least document this purpose in the commit message. > Yes, there are several possible solutions to address this issue. Until > now, there were discussed: CONFIG_XYZ and ifdef/endif and pre-build > objects (patch from Jean-Christophe) and my proposal. > > Using a board specific linker script is another way. > > However, because the problem regarding weak-linking is a global one, > maybe the circumvention should be global too. In the long term, following the Linux style is probably the way to go. In the man time, I suggest to use what has least impact. > But I don't know. I could also use a board specific linker script. OK, fine. 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 This restaurant was advertising breakfast any time. So I ordered french toast in the renaissance. - Steven Wright, comedian