This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] ELF loader


Hi -

brolley wrote:
> [...]
> I used xrealloc to allocate loadAreas and textSections. It used to be an 
> unchecked hard coded limit of 100 elements each. [...]

The code doesn't have to be modified to avoid libiberty.
(If I were to write the code though, I might have opted to
move stuff away from the old elfload.c module, and into C++
file where one can use std::vector<> etc. for such data.)

- FChE

Attachment: pgp00000.pgp
Description: PGP signature


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