summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-07-27 15:15:12 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-07-29 16:40:37 -0500
commit3293260511403dc21a42e949c8c248f61da92073 (patch)
tree9878e0bd03d8355e04a91ba1b3888191cd0fd1df /src/include
parentd91c2d0f5db929926584e0f47f27299eff9386e1 (diff)
downloadtalos-hostboot-3293260511403dc21a42e949c8c248f61da92073.tar.gz
talos-hostboot-3293260511403dc21a42e949c8c248f61da92073.zip
Linker checks for multiple weak symbols.
Cause the linker to stop the build if the image has multiple instances of the same weak symbol. This is to prevent, for instance, two different instances of the same Singleton<Foo> from being created in two different modules. Change-Id: I0204e69f191d63451a53b1f99dd226c9996bbccb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/217 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/trace/interface.H21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/include/usr/trace/interface.H b/src/include/usr/trace/interface.H
index 432b69648..5679f7420 100644
--- a/src/include/usr/trace/interface.H
+++ b/src/include/usr/trace/interface.H
@@ -1,14 +1,14 @@
/****************************************************************************
* $IBMCopyrightBlock:
- *
+ *
* IBM Confidential
- *
+ *
* Licensed Internal Code Source Materials
- *
+ *
* IBM HostBoot Licensed Internal Code
- *
- * (C) Copyright IBM Corp. 2004 - 2011
- *
+ *
+ * (C) Copyright IBM Corp. 2011
+ *
* The source code for this program is not published or other-
* wise divested of its trade secrets, irrespective of what has
* been deposited with the U.S. Copyright Office.
@@ -260,14 +260,9 @@ class TracInit
/* Constructor */
/*------------------------------------------------------------------------*/
- TracInit(trace_desc_t **o_td, const char *i_comp,const size_t i_size)
- {
- TRAC_INIT_BUFFER(o_td,i_comp,i_size);
- }
+ TracInit(trace_desc_t **o_td, const char *i_comp,const size_t i_size);
- ~TracInit()
- {
- }
+ ~TracInit();
};
OpenPOWER on IntegriCloud