* [PATCH] Fix small weak handling omission
@ 2003-03-08 16:30 Franz Sirl
2003-03-09 20:17 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Franz Sirl @ 2003-03-08 16:30 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
Hi,
this small patch somehow got lost during the weak handling revamping before
3.2.
OK to commit to mainline?
Franz.
* varasm.c (make_decl_one_only): Use declare_weak().
[-- Attachment #2: gcc-weaksym-10.patch --]
[-- Type: text/plain, Size: 466 bytes --]
Index: gcc/varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.332
diff -u -p -r1.332 varasm.c
--- gcc/varasm.c 2 Feb 2003 17:30:49 -0000 1.332
+++ gcc/varasm.c 8 Mar 2003 16:24:41 -0000
@@ -4683,7 +4683,7 @@ make_decl_one_only (decl)
DECL_ONE_ONLY (decl) = 1;
}
else if (SUPPORTS_WEAK)
- DECL_WEAK (decl) = 1;
+ declare_weak (decl);
else
abort ();
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix small weak handling omission
2003-03-08 16:30 [PATCH] Fix small weak handling omission Franz Sirl
@ 2003-03-09 20:17 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2003-03-09 20:17 UTC (permalink / raw)
To: Franz Sirl; +Cc: gcc-patches
On Sat, Mar 08, 2003 at 05:30:23PM +0100, Franz Sirl wrote:
> * varasm.c (make_decl_one_only): Use declare_weak().
Ok.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-09 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-08 16:30 [PATCH] Fix small weak handling omission Franz Sirl
2003-03-09 20:17 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).