From 3c9fe5910663c0eee2f1bd6d184b6b8f0aa1035f Mon Sep 17 00:00:00 2001 From: bg- Date: Wed, 20 Dec 2006 13:43:47 +0000 Subject: [PATCH] * Typo in comment. * More info in printfs. --- core/loader/cle.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/loader/cle.c b/core/loader/cle.c index 5f5c4bd6e..157897709 100644 --- a/core/loader/cle.c +++ b/core/loader/cle.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)$Id: cle.c,v 1.1 2006/12/01 15:12:27 bg- Exp $ + * @(#)$Id: cle.c,v 1.2 2006/12/20 13:43:47 bg- Exp $ */ /* @@ -176,7 +176,7 @@ cle_read_info(struct cle_info *info, /* * Update one reloc. * - * Writing relocs is machine dependent and this function is MPS430 + * Writing relocs is machine dependent and this function is MSP430 * specific! */ static inline int @@ -243,10 +243,12 @@ cle_relocate(struct cle_info *info, } else if(addr != NULL && sym == NULL) { /* Exported symbol. */ addr = addr + s.st_value; } else if(addr == NULL && sym == NULL) { - PRINTF("cle: undefined reference to %.32s\n", info->name); + PRINTF("cle: undefined reference to %.32s (%d)\n", + info->name, s.st_info); return CLE_UNDEFINED; /* Or COMMON symbol. */ } else if(addr != NULL && sym != NULL) { - PRINTF("cle: multiple definitions of %.32s\n", info->name); + PRINTF("cle: multiple definitions of %.32s (%d)\n", + info->name, s.st_info); return CLE_MULTIPLY_DEFINED; } }