mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 13:23:10 +08:00
* ldcref.c (output_one_cref): Place common definitions after
ordinary definitions but before references.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-06-12 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* ldcref.c (output_one_cref): Place common definitions after
|
||||||
|
ordinary definitions but before references.
|
||||||
|
|
||||||
2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
|
2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
|
||||||
|
|
||||||
PR ld/15598
|
PR ld/15598
|
||||||
|
19
ld/ldcref.c
19
ld/ldcref.c
@ -1,6 +1,5 @@
|
|||||||
/* ldcref.c -- output a cross reference table
|
/* ldcref.c -- output a cross reference table
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
Copyright 1996-2013 Free Software Foundation, Inc.
|
||||||
2007, 2008 Free Software Foundation, Inc.
|
|
||||||
Written by Ian Lance Taylor <ian@cygnus.com>
|
Written by Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
This file is part of the GNU Binutils.
|
This file is part of the GNU Binutils.
|
||||||
@ -446,7 +445,21 @@ output_one_cref (FILE *fp, struct cref_hash_entry *h)
|
|||||||
|
|
||||||
for (r = h->refs; r != NULL; r = r->next)
|
for (r = h->refs; r != NULL; r = r->next)
|
||||||
{
|
{
|
||||||
if (! r->def)
|
if (r->common)
|
||||||
|
{
|
||||||
|
while (len < FILECOL)
|
||||||
|
{
|
||||||
|
putc (' ', fp);
|
||||||
|
++len;
|
||||||
|
}
|
||||||
|
lfinfo (fp, "%B\n", r->abfd);
|
||||||
|
len = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (r = h->refs; r != NULL; r = r->next)
|
||||||
|
{
|
||||||
|
if (! r->def && ! r->common)
|
||||||
{
|
{
|
||||||
while (len < FILECOL)
|
while (len < FILECOL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user