This is the mail archive of the
mailing list for the binutils project.
Re: Static linking on 64-bit PowerPC ELFv2
On 11/08/17 13:37, Alan Modra wrote:
On Fri, Aug 11, 2017 at 08:55:03PM +0930, Alan Modra wrote:
I made a bad assumption. It seems that must be a complete line after
all, but one where ld has lost the referencing object for some
Maybe you've managed to break your compiler? I'm thinking you might
have ELFv2 with some weird ELFv1 things thrown in, dot-symbols for
Thank you very much for this hint. It saved me a lot of time.
It had something to do with the dot-symbols. I added
+/* Simplified copy and paste from linux64.h and freebsd64.h */
+#define DOT_SYMBOLS 0
to the GCC configuration and now this strange linker behaviour is gone.
Unfortunately, it didn't fix the issue with -mcmodel=medium:
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : email@example.com
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.