static inline bool isReadOnly(Kind K) {
return (K == SectionKind::ROData ||
+ K == SectionKind::DataRelRO ||
+ K == SectionKind::DataRelROLocal ||
K == SectionKind::RODataMergeConst ||
K == SectionKind::RODataMergeStr);
}
-
- static inline bool isBSS(Kind K) {
- return K == SectionKind::BSS;
- }
}
namespace SectionFlags {
/// getSpecialCasedSectionGlobals - Allow the target to completely override
/// section assignment of a global.
- /// FIXME: ELIMINATE
+ /// FIXME: ELIMINATE this by making PIC16 implement ADDRESS with
+ /// getFlagsForNamedSection.
virtual const Section *
getSpecialCasedSectionGlobals(const GlobalValue *GV,
SectionKind::Kind Kind) const{