aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/ChangeLog5
-rw-r--r--gas/config/obj-coffbfd.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/ChangeLog b/gas/config/ChangeLog
index fe982fd..d334c74 100644
--- a/gas/config/ChangeLog
+++ b/gas/config/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com)
+
+ * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
+
+
Tue Jun 9 07:50:46 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 25115fb..1d5b50b 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -471,6 +471,9 @@ static void DEFUN(fill_section,(abfd, filehdr, file_cursor),
s->s_flags |= STYP_DATA;
else if (strcmp(s->s_name,".bss")==0)
s->s_flags |= STYP_BSS | STYP_NOLOAD;
+ else if (strcmp(s->s_name,".lit")==0)
+ s->s_flags = STYP_LIT | STYP_TEXT;
+
while (frag) {
unsigned int fill_size;