[uClibc] anyone using ARM shared libraries?
David Meggy
dmeggy at techsol.ca
Mon May 10 21:39:18 UTC 2004
On Mon, 2004-05-10 at 14:29, David Poole wrote:
> Hey, no fair! You have a TEXTREL in your .dynamic section!
>
> DT_TEXTREL "This member's absence signifies that no relocation entry
> should cause a modification to a non-writable segment, as specified by
> the segment permissions in the program header table. If this member
> is present, one or more relocation entries might request modifications
> to a non-writable segment, and the dynamic linker can prepare
> accordingly."
> -- Tool Interface Standard (TIS) Executable and Linking Format (ELF)
> Specification Version 1.2
>
> None of my .dynamic sections have a TEXTREL.
Mine do :)
> What's the complete binutils version you're using? I think the linker
> is responsible for putting these sections together.
$ arm-linux-ld --version
GNU ld version 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
> % arm-linux-ld --version
> GNU assembler 2.14.90.0.7 20031029
How come your linker thinks it's an assembler?
I also apply this from my Makefile
-perl -i -p -e "s,link_info.combreloc = false,link_info.combreloc = true,g;" \
$(BINUTILS_PATH)/ld/ldmain.c
(cd ${BINUTILS_PATH}; perl -i -p -e "s,#.*define.*ELF_DYNAMIC_INTERPRETER.*\".*\"\
,#define ELF_DYNAMIC_INTERPRETER \"/lib/ld-uClibc.so.0\",;" \
`grep -lr "#.*define.*ELF_DYNAMIC_INTERPRETER.*\".*\"" ${BINUTILS_PATH}`);
David
--
~~~~~~~~~~~~~~~~~~~~~~~~
David Meggy
Engineering
Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
www.techsol.ca
eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~
More information about the uClibc
mailing list