> As you might see in Ian's thoughtful reply, I don't think he > gets the point (maybe my failure to communicate well):
The latter, really, I'm afraid. > Clearly, ld is using the correct formula; the issue is *where* > it gets the constant -4. If it did not try to read this from > the input file, then all object files would be correctly > relocated -- not just the ones that have -4 in them. I argue > that this would be beneficial to Linux (Sun would be forced to > follow on the quality upgrade in OS flag-ship linker). Maybe, but you are 20 years late. The ABI was set in stone "long, long ago" as you write it in your messages and neither you nor us can change it now. > If, as Ian pointed out in his second reply (thank you), this is > a very pervasive problem -- requiring all inputs to have -4 > constants inserted by third party (compiler) programs, and now > you add Sun, too, this is a big, news-worthy story -- involving > issues of the "image" or "appearance" of competence and > integrity in the Linux OS. It's not Linux, it's Solaris, FreeBSD, QNX, Interix... you name it. -- Eric Botcazou _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils