summaryrefslogtreecommitdiff
path: root/arch/sh/src
AgeCommit message (Collapse)AuthorFilesLines
2014-03-18fix typo in filename used in sh portRich Felker1-0/+0
2014-03-16superh: fix dynamic linking of __fpscr_valuesBobby Bingham1-1/+4
Applications ended up with copy relocations for this array, which resulted in libc's references to this array pointing to the application's copy. The dynamic linker, however, can require this array before the application is relocated, and therefore before the application's copy of this array is initialized. This resulted in garbage being loaded into FPSCR before executing main, which violated the ABI. We fix this by putting the array in crt1 and making the libc copy private. This prevents libc's reference to the array from pointing to an uninitialized copy in the application.
2014-02-27rename superh port to "sh" for consistencyRich Felker2-0/+148
linux, gcc, etc. all use "sh" as the name for the superh arch. there was already some inconsistency internally in musl: the dynamic linker was searching for "ld-musl-sh.path" as its path file despite its own name being "ld-musl-superh.so.1". there was some sentiment in both directions as to how to resolve the inconsistency, but overall "sh" was favored.