X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Fobj-coff.c;h=d54c6846e6b2f0b822cd624083d53a80a1d58755;hb=ebe372c1dd2797172ffa80b15c8ea5d6285b24fa;hp=69b53ffeee7375ba774d6195e72283dfb98d74b5;hpb=610ad19b95f405554f34d1048a1ce334f6d3e33f;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 69b53ffeee..d54c6846e6 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -1607,7 +1607,7 @@ obj_coff_section (ignore) case 'b': flags |= SEC_ALLOC; flags &=~ SEC_LOAD; break; case 'n': flags &=~ SEC_LOAD; flags |= SEC_NEVER_LOAD; break; - case 's': flags |= SEC_SHARED; /* fall through */ + case 's': flags |= SEC_COFF_SHARED; /* fall through */ case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */ case 'w': flags &=~ SEC_READONLY; break; @@ -1662,7 +1662,7 @@ obj_coff_section (ignore) /* This section's attributes have already been set. Warn if the attributes don't match. */ flagword matchflags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE - | SEC_DATA | SEC_SHARED | SEC_NEVER_LOAD); + | SEC_DATA | SEC_COFF_SHARED | SEC_NEVER_LOAD); if ((flags ^ oldflags) & matchflags) as_warn (_("Ignoring changed section attributes for %s"), name); }