This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: avoid NULL pointer ambiguity in mn10300 sim


Alexandre Oliva wrote:
On Jun 2, 2004, Jeff Johnston <jjohnstn@redhat.com> wrote:


Should that offset be aligned (i.e. 4 or 8)?


It could, but it would just increase the waste.  If any of the other
sections needs alignment, it shall require alignment itself.


I don't think 3 more bytes is that much of a burden. There may be missing alignment requirements and everything just works in the current model. I prefer to be safe than sorry. I'll check in the change.


Thanks,

-- Jeff J.


Alexandre Oliva wrote:

GDB gets thoroughly confused if the address of the start symbol looks
like a NULL pointer.  ISO C requires no other pointer to compare equal
to the NULL pointer as well, so make sure we don't have any objects at
address zero.
Ok to install?
------------------------------------------------------------------------






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