aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-27 22:23:18 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-27 22:23:18 +0000
commitff0e4a93416510eaac29ab780ab631dbeb81206a (patch)
tree538940f60249f08cc085d9762546aa5708dd4963 /bfd/elflink.h
parent9addd1d4fdf2514723a9d847271cd546a3d0f207 (diff)
downloadgdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.zip
gdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.tar.gz
gdb-ff0e4a93416510eaac29ab780ab631dbeb81206a.tar.bz2
Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
structure instead.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index d613d9d..a27f930 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -1802,7 +1802,7 @@ elf_bfd_final_link (abfd, info)
link. This will normally be every section. We need
to do this so that we can identify any sections which
the linker has decided to not include. */
- sec->flags |= SEC_LINKER_MARK;
+ sec->linker_mark = true;
if (info->relocateable)
o->reloc_count += sec->reloc_count;
@@ -2811,7 +2811,7 @@ elf_link_input_bfd (finfo, input_bfd)
/* Relocate the contents of each section. */
for (o = input_bfd->sections; o != NULL; o = o->next)
{
- if ((o->flags & SEC_LINKER_MARK) == 0)
+ if (! o->linker_mark)
{
/* This section was omitted from the link. */
continue;