aboutsummaryrefslogtreecommitdiff
path: root/bfd/cofflink.c
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/cofflink.c
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/cofflink.c')
-rw-r--r--bfd/cofflink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index 123685b..4cc3d50 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -495,7 +495,7 @@ _bfd_coff_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->strip == strip_none
|| info->strip == strip_some)
@@ -1750,7 +1750,7 @@ _bfd_coff_link_input_bfd (finfo, input_bfd)
{
bfd_byte *contents;
- if ((o->flags & SEC_LINKER_MARK) == 0)
+ if (! o->linker_mark)
{
/* This section was omitted from the link. */
continue;