This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Fix gas/1948 -- Duplicate .comm symbols
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 5 Dec 2005 10:52:11 +1030
- Subject: Re: [patch] Fix gas/1948 -- Duplicate .comm symbols
- References: <200512041826.jB4IQ8wf026418@hiauly1.hia.nrc.ca>
On Sun, Dec 04, 2005 at 01:21:58PM -0500, John David Anglin wrote:
> --- symbols.c 17 Nov 2005 07:29:28 -0000 1.71
> +++ symbols.c 3 Dec 2005 22:18:09 -0000
> @@ -376,6 +376,9 @@ colon (/* Just seen "x:" - rattle symbol
> && S_IS_EXTERNAL (symbolP))
> || S_GET_SEGMENT (symbolP) == bss_section)
> && (now_seg == data_section
> +#if defined (TC_HPPA) && !(defined (OBJ_ELF) && (defined (TE_LINUX) || defined (TE_NetBSD)))
> + || now_seg == bss_section
> +#endif
> || now_seg == S_GET_SEGMENT (symbolP)))
> {
> /* Select which of the 2 cases this is. */
I don't think you need the #if.
--
Alan Modra
IBM OzLabs - Linux Technology Centre