This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: Miscellaneous fixes for testsuite failures on hppa64-hp-hpux11.00


 In message <200206060605.g5665NmJ021745@hiauly1.hia.nrc.ca>, "John David 
Anglin" writes:
 > With gcc, the NULL pointer causes a segmentation fault but with the HP
 > compiler this appears not to be the default behavior.  The first assertion
 > failure is caused by trying to get the section pointer for the ".hash"
 > section.  In the output abfd, there are 7 sections but only
[ ... ]
Yes, by default, GCC will arrange to pass the right magic flags to ld to
get segfaults on a null pointer dereference.  HP's compiler's by default
allow the null pointer dereference.

Jeff



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