This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Dlltool fix - do not munge padding entries in .reloc section
- To: dj at delorie dot com
- Subject: Re: Dlltool fix - do not munge padding entries in .reloc section
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Thu, 18 Nov 1999 20:14:33 GMT
- CC: binutils at sourceware dot cygnus dot com
- Reply-to: nickc at cygnus dot co dot uk
Hi DJ,
: Looks OK to me. I know it's not likely, but what if a reloc really
: does happen at address zero?
Well, it would have to be a reloc at address 0 on page 0. And there
is a comment in gen_exp_file() which says:
/* 0x0000 is an absolute relocation that should be ignored. */
need[on_page++] = 0x0000;
So I assume that is it OK not to munge such a reloc.
Cheers
Nick