[Patch] sh64: Fix DT_INIT and DT_FINI values

Clarke, Stephen stephen.clarke@superh.com
Wed Aug 21 11:12:00 GMT 2002


The attached file contains a patch for sh64 to set the lsb bit in
the dynamic section DT_INIT and DT_FINI values when
the init and fini functions are SHmedia functions.

I've taken the opportunity to add the run_dump_test framework
to the sh64 tests, as suggested by Hans-Peter Nilsson a couple
of weeks ago.   The patch includes this, as well as a couple
of regression tests for the DT_INIT/DT_FINI change.

Tested on sh64-elf, and also sh-elf to make sure I didn't
accidentally break anything.

Steve.
--
Stephen Clarke, Principal Engineer, SuperH Inc.
Phone:1-408-273-3146, Fax:1-408-273-3199, mailto:Stephen.Clarke@superh.com
Mail:  SuperH Inc., 405 River Oaks Pkwy, San Jose, CA 95134, USA.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.patch
Type: application/octet-stream
Size: 8280 bytes
Desc: init.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20020821/3654391b/attachment.obj>


More information about the Binutils mailing list