OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* config/mep/mep.c (mep_encode_section_info): Copy weakness
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
mep
/
mep.c
diff --git
a/gcc/config/mep/mep.c
b/gcc/config/mep/mep.c
index
efed4b6
..
80d3995
100644
(file)
--- a/
gcc/config/mep/mep.c
+++ b/
gcc/config/mep/mep.c
@@
-4564,6
+4564,8
@@
mep_encode_section_info (tree decl, rtx rtl, int first)
idp = get_identifier (newname);
XEXP (rtl, 0) =
gen_rtx_SYMBOL_REF (Pmode, IDENTIFIER_POINTER (idp));
+ SYMBOL_REF_WEAK (XEXP (rtl, 0)) = DECL_WEAK (decl);
+ SET_SYMBOL_REF_DECL (XEXP (rtl, 0), decl);
switch (encoding)
{