| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Fri, 4 Jan 2002 09:22:52 -0500 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | Robert Collins <robert DOT collins AT itdomain DOT com DOT au> |
| Cc: | Cygwin <cygwin AT sources DOT redhat DOT com> |
| Subject: | Re: rebase addon - Bas and Size listing of dll's without rebasing |
| Message-ID: | <20020104142252.GH2008@dothill.com> |
| Mail-Followup-To: | Robert Collins <robert DOT collins AT itdomain DOT com DOT au>, |
| Cygwin <cygwin AT sources DOT redhat DOT com> | |
| References: | <004701c1947b$42c48c30$865c07d5 AT BRAMSCHE> <0b2a01c1949f$8da6e300$0200a8c0 AT lifelesswks> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <0b2a01c1949f$8da6e300$0200a8c0@lifelesswks> |
| User-Agent: | Mutt/1.3.24i |
Rob,
On Fri, Jan 04, 2002 at 08:42:32AM +1100, Robert Collins wrote:
> Jason, heres a thought: what if MS's rebase is trashing the non-standard
> auto-export address offset information...
I don't think so -- at least for the following example:
$ gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.3.6-i686-2.2/_cursesmodule.o -L/usr/local/lib -L. -lncurses -lpython2.2 -o build/lib.cygwin-1.3.6-i686-2.2/_curses.dll
Warning: resolving _stdscr by linking to __imp__stdscr (auto-import)
Warning: resolving _LINES by linking to __imp__LINES (auto-import)
Warning: resolving _COLS by linking to __imp__COLS (auto-import)
Warning: resolving _newscr by linking to __imp__newscr (auto-import)
Warning: resolving _COLORS by linking to __imp__COLORS (auto-import)
Warning: resolving _COLOR_PAIRS by linking to __imp__COLOR_PAIRS (auto-import)
$ cd build/lib.cygwin-1.3.6-i686-2.2
$ objdump -p _curses.dll | fgrep ImageBase
ImageBase 6ba40000
$ rebase -d -b 0x68000000 -o 0x10000 _curses.dll
_curses.dll: new base = 67fc0000, new size = 40000
$ objdump -p _curses.dll | fgrep ImageBase
ImageBase 67fc0000
So, it appears that cygcurl-2.dll is not tolerating a rebase for other
reasons.
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |