summaryrefslogtreecommitdiff
path: root/src/os-qnx.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove PROTECTED visibilityDave Watson2017-12-281-2/+2
| | | | This only works on bfd ld, not lld or gold.
* dwarf: Make binary path calculation os-specific.Konstantin Belousov2017-01-191-0/+10
| | | | /proc/self/exe only works on Linux, move path computation to os-* files
* One time whitespace fixup.Arun Sharma2014-09-271-1/+1
| | | | | | for f in $(find src include -name '*.[ch]'); do expand -t 8 $f > $tmp; mv $tmp $f; done
* Fixup long lines.Arun Sharma2013-05-181-12/+18
|
* Add basic support for the QNX operating systemMatt Fischer2013-05-131-0/+101
This change adds some special cases to allow libunwind to compile for QNX. * QNX's copy of <elf.h> and <link.h> reside in sys/ instead. To deal with this, an AC_CHECK_HEADERS() was added to check for the files in both locations. * Similarly, QNX does not have <endian.h>. In cases where the file is not found, logic was added to refer to QNX-specific macros to determine endianness. * The QCC compiler, which is a wrapper around GCC, cannot handle some standard GCC options. Therefore, logic was added to check for QCC, and when it is found, to suppress the use of -lgcc, and to express the option -nostartfiles as -Wc,-nostartfiles instead, which is correctly passed on to the underlying GCC. * Finally, the support file os-qnx.c was added, patterned after the existing os-*.c files. Only local image lookup is currently supported (see the comments for more information), but this is sufficient for QNX, since ptrace is not supported there anyway, and that is the only case where the function is required to do remote image lookup. Change-Id: Ie7934f94a7317bdde59335f2acd4c3a97c0384c1