Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 20 May 2013 02:17:05 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Broken silent glibc-specific assumptions uncovered by musl

* Rich Felker <dalias@...ifal.cx> [2013-05-19 18:08:32 -0400]:
> On Sun, May 19, 2013 at 12:51:47AM +0200, Szabolcs Nagy wrote:
> > CHARSET (toutf8)
> 
> What is toutf8? (Just curious)
> 

it is in libidn
"toutf8.c --- Convert strings from system locale into UTF-8."

> > here (i386) constructors are put into .ctors.* sections
> > which get sorted by the linker
> 
> How does this work for dynamic linking? Is priority only respected
> within a single DSO, and not between multiple DSOs?
> 

i think ordering is only guaranteed within a single dso
and this is not clearly documented

ld -verbose

shows the actual linker script that merges the
relevant sections

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.