* Typo in comment.
* More info in printfs.
This commit is contained in:
parent
29572668ac
commit
3c9fe59106
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user