* ldlang.c (section_already_linked): Call bfd_link_just_syms.
(lang_place_orphans): Abort if just_syms_flag.
This commit is contained in:
parent
2d653fc760
commit
c2c01aa78c
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.c (section_already_linked): Call bfd_link_just_syms.
|
||||||
|
(lang_place_orphans): Abort if just_syms_flag.
|
||||||
|
|
||||||
2002-05-10 Tom Rix <trix@redhat.com>
|
2002-05-10 Tom Rix <trix@redhat.com>
|
||||||
|
|
||||||
* emultempl/aix.em: (gld*_set_output_arch): New function. Use
|
* emultempl/aix.em: (gld*_set_output_arch): New function. Use
|
||||||
|
|
|
@ -959,8 +959,7 @@ section_already_linked (abfd, sec, data)
|
||||||
discard all sections. */
|
discard all sections. */
|
||||||
if (entry->just_syms_flag)
|
if (entry->just_syms_flag)
|
||||||
{
|
{
|
||||||
sec->output_section = bfd_abs_section_ptr;
|
bfd_link_just_syms (sec, &link_info);
|
||||||
sec->output_offset = sec->vma;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3803,11 +3802,7 @@ lang_place_orphans ()
|
||||||
|
|
||||||
if (file->just_syms_flag)
|
if (file->just_syms_flag)
|
||||||
{
|
{
|
||||||
/* We are only retrieving symbol values from this
|
abort ();
|
||||||
file. We want the symbols to act as though the
|
|
||||||
values in the file are absolute. */
|
|
||||||
s->output_section = bfd_abs_section_ptr;
|
|
||||||
s->output_offset = s->vma;
|
|
||||||
}
|
}
|
||||||
else if (strcmp (s->name, "COMMON") == 0)
|
else if (strcmp (s->name, "COMMON") == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue