aboutsummaryrefslogtreecommitdiff
path: root/bfd/xcofflink.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/xcofflink.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/xcofflink.c')
-rw-r--r--bfd/xcofflink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index ddb9cad..681e1e2 100644
--- a/bfd/xcofflink.c
+++ b/bfd/xcofflink.c
@@ -3221,7 +3221,7 @@ _bfd_xcoff_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->strip == strip_none
|| info->strip == strip_some)
@@ -4577,7 +4577,7 @@ xcoff_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;