From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Schwarz Date: Fri, 05 Nov 2010 12:01:37 +0100 Subject: [U-Boot] Weak symbols: request for comments In-Reply-To: <4CD3DEFC.7010104@gmail.com> References: <4CD3DEFC.7010104@gmail.com> Message-ID: <4CD3E411.509@matrix-vision.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sebastien, [snip] > So, U-boot needs to be fixed. I can see the following ways forward: > > 1.1) Stop using weak symbols; use pre-initialized function pointers > instead (possibly grouped in a struct, for cleanliness). > This has the benefit of offering a clear interface and being > independent of toolchain details. > yep - this is my favorite. Main goal should always be to be as clear as possible. Regards, Andr? MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner