This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dlltool fix - do not munge padding entries in .reloc section


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]