Re: unaligned access using bash on glibc 2.5
"John David Anglin" <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
> Interesting. Why isn't it this patch needed on any other arch? :-) Don't know but there's one additional factor. config/linux.h defines USE_LD_AS_NEEDED if HAVE_LD_AS_NEEDED is defined. This will add "--as-needed -lgcc_s" for eh support. I just checked in and HAVE_LD_AS_NEEDED is defined in my builds, but if binutils is old it might not be defined. However, I would have to dig into to gcc.c to see what happens when -nostdlibs is defined. My first thought is that it shouldn't add "--as-needed -lgcc_s" when -nostdlibs is present. Dave -- J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602)