| ... | @@ -95,7 +95,7 @@ void OutputSection::addSection(InputSection *IS) { | ... | @@ -95,7 +95,7 @@ void OutputSection::addSection(InputSection *IS) { |
| 95 | Flags = IS->Flags; | 95 | Flags = IS->Flags; |
| 96 | } else { | 96 | } else { |
| 97 | // Otherwise, check if new type or flags are compatible with existing ones. | 97 | // Otherwise, check if new type or flags are compatible with existing ones. |
| 98 | unsigned Mask = SHF_ALLOC | SHF_TLS | SHF_LINK_ORDER; | 98 | unsigned Mask = SHF_TLS | SHF_LINK_ORDER; |
| 99 | if ((Flags & Mask) != (IS->Flags & Mask)) | 99 | if ((Flags & Mask) != (IS->Flags & Mask)) |
| 100 | error("incompatible section flags for " + Name + "\n>>> " + toString(IS) + | 100 | error("incompatible section flags for " + Name + "\n>>> " + toString(IS) + |
| 101 | ": 0x" + utohexstr(IS->Flags) + "\n>>> output section " + Name + | 101 | ": 0x" + utohexstr(IS->Flags) + "\n>>> output section " + Name + |