[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error: unknown pseudo-op: `.section'
From: |
Robert Millan |
Subject: |
Re: Error: unknown pseudo-op: `.section' |
Date: |
Fri, 13 Jun 2003 03:55:41 +0200 |
User-agent: |
Mutt/1.5.4i |
On Wed, Jun 11, 2003 at 05:01:42PM +0100, Nick Clifton wrote:
> Hi Robert,
Hi Nick!
> I built a toolchain using today's FSF gcc and binutils sources.
> Configured as "--target=i386-netbsd-gnu". GCC failed to build, giving
> me this error message:/dev/shm/ccOFH658.s: Assembler messages:
>
> /dev/shm/ccOFH658.s:12: Error: alignment not a power of 2
> make[2]: *** [libgcc/./_clz.o] Error 1
> make[2]: Leaving directory `/builds/FSF/i386-netbsd-gnu/gcc'
>
> The compiler was built however, so I was able to compile and assemble
> your test case. This was on an x86 host running Red Hat 9.
I haven't had time to debug my assembler errors, but i guess it's
something completely unrelated to the GNU/NetBSD patch.
After speaking with RMS, it seems we're finaly going to use the
"i386-netbsd-gnu" triplet for GNU/NetBSD (independently of the libc),
so i think the patch [1] is ok to apply.
[1] http://www.geocities.com/velcok/binutils.diff.gz
furthermore, this hunk seems to be fixing a problem with the dynamic
linker getting confused by ABI tags i had on GNU/FreeBSD:
--- include/elf/common.h 17 Jul 2002 14:18:37 -0000 1.49
+++ include/elf/common.h 24 Nov 2002 18:56:39 -0000
@@ -381,6 +381,8 @@ Foundation, Inc., 59 Temple Place - Suit
#define GNU_ABI_TAG_LINUX 0
#define GNU_ABI_TAG_HURD 1
#define GNU_ABI_TAG_SOLARIS 2
+#define GNU_ABI_TAG_FREEBSD 3
+#define GNU_ABI_TAG_NETBSD 4
--
Robert Millan
- Error: unknown pseudo-op: `.section', Robert Millan, 2003/06/09
- Re: Error: unknown pseudo-op: `.section', LLeweLLyn Reese, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Nick Clifton, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Robert Millan, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Nick Clifton, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Robert Millan, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Nick Clifton, 2003/06/11
- Re: Error: unknown pseudo-op: `.section', Robert Millan, 2003/06/11
- Re: Error: unknown pseudo-op: `.section',
Robert Millan <=
- Re: Error: unknown pseudo-op: `.section', Nick Clifton, 2003/06/13
- Re: Error: unknown pseudo-op: `.section', Robert Millan, 2003/06/13