projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8ce7c
)
If -mrelocatable{,-lib} make read/write sections, not read-only
author
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 20 Aug 1996 22:54:13 +0000
(22:54 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 20 Aug 1996 22:54:13 +0000
(22:54 +0000)
From-SVN: r12665
gcc/config/rs6000/sysv4.h
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/sysv4.h
b/gcc/config/rs6000/sysv4.h
index 940da5a4823d41a3d1687ad478b5384cb0c79033..17da1c81e74b0a3d7a5e2961a7f955753800473a 100644
(file)
--- a/
gcc/config/rs6000/sysv4.h
+++ b/
gcc/config/rs6000/sysv4.h
@@
-874,7
+874,7
@@
do { \
\
if (DECL && TREE_CODE (DECL) == FUNCTION_DECL) \
type = SECT_EXEC, mode = "ax"; \
- else if (DECL && TREE_READONLY (DECL)
)
\
+ else if (DECL && TREE_READONLY (DECL)
&& !TARGET_RELOCATABLE)
\
type = SECT_RO, mode = "a"; \
else \
type = SECT_RW, mode = "aw"; \