This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Jun 28, 2006 at 09:58:22AM +0200, Stefan Karlsson wrote:Alan Modra wrote:On Tue, Jun 27, 2006 at 04:56:43PM +0200, Stefan Karlsson wrote:No, I want to build a static executable that runs from flash.powerpc-eabi-ld: error: no memory region specified for loadable section `.rela.dyn'.Did you mean to build a shared library or a dynamic executable? If so, you might try adding "-z nocombreloc" to the linker command line.
That's what I expected. So how did the linker think you needed dynamic relocations? I think this can only happen if you pass -shared or -pie to the linker, or link against shared libs.
-- Stefan
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |