* coff-mips.c, coffcode.h: Peter Schauer's patch to kludge in

nonstandard MIPS sections (.rdata, .sdata, etc).
This commit is contained in:
John Gilmore
1991-11-22 23:02:29 +00:00
parent 2dd074f421
commit 853f0a7030
3 changed files with 13 additions and 2 deletions

View File

@ -369,6 +369,10 @@ DEFUN(styp_to_sec_flags, (styp_flags),
if ((styp_flags & STYP_LIT) == STYP_LIT)
sec_flags = (SEC_LOAD | SEC_ALLOC | SEC_READONLY);
#endif /* STYP_LIT */
#ifdef STYP_OTHER_LOAD /* Other loaded sections */
if (styp_flags & STYP_OTHER_LOAD)
sec_flags = (SEC_LOAD | SEC_ALLOC);
#endif /* STYP_SDATA */
return(sec_flags);
}