Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-14 Thread Alexandre Julliard
Tijl Coosemans writes: > Loading a library at a specific address not only depends on the > compile-time linker, but also on the run-time loader, so it's > probably best to implement -image-base only on PLATFORM_* where > the loader supports it. Since a target platform would then have > to choose

Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-13 Thread Tijl Coosemans
On 2013-03-06 12:25, Alexandre Julliard wrote: > Alexandre Julliard writes: >> Tijl Coosemans writes: >>> On 03-03-2013 17:44, André Hentschel wrote: You would rather call it PLATFORM_FREEBSD >>> >>> Well, the flag isn't FreeBSD specific. It works on all ELF targets >>> (including Linux whic

Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-06 Thread Alexandre Julliard
Alexandre Julliard writes: > Tijl Coosemans writes: > >> On 03-03-2013 17:44, André Hentschel wrote: >>> You would rather call it PLATFORM_FREEBSD >> >> Well, the flag isn't FreeBSD specific. It works on all ELF targets >> (including Linux which then wouldn't need prelink). > > Then it should be

Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-06 Thread Alexandre Julliard
Tijl Coosemans writes: > On 03-03-2013 17:44, André Hentschel wrote: >> You would rather call it PLATFORM_FREEBSD > > Well, the flag isn't FreeBSD specific. It works on all ELF targets > (including Linux which then wouldn't need prelink). Then it should be used by default, and you don't need to

Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-03 Thread Tijl Coosemans
On 03-03-2013 17:44, André Hentschel wrote: > Am 03.03.2013 16:58, schrieb Tijl Coosemans: >> --- >> README | 3 +++ >> tools/winegcc/utils.h | 3 ++- >> tools/winegcc/winegcc.c | 11 ++- >> 3 files changed, 15 insertions(+), 2 deletions(-) >> >> diff --git a/README b/

Re: winegcc: Add support for -Ttext-segment linker flag to set image base of a dll. (try 2)

2013-03-03 Thread André Hentschel
Am 03.03.2013 16:58, schrieb Tijl Coosemans: > --- > README | 3 +++ > tools/winegcc/utils.h | 3 ++- > tools/winegcc/winegcc.c | 11 ++- > 3 files changed, 15 insertions(+), 2 deletions(-) > > diff --git a/README b/README > index 783e798..75aff5a 100644 > --- a/READM