summaryrefslogtreecommitdiff
path: root/Source/cmELF.cxx
Commit message (Collapse)AuthorAgeFilesLines
* OpenBSD: Enable ELF parsing and editing (#14241)David Coppa2013-06-211-1/+6
| | | | | | | | | OpenBSD provides ELF ABI declarations in #include <stdint.h> #include <elf_abi.h> Teach the platform check and cmELF implementation to use these.
* Fix line-too-long style errorsBrad King2010-09-101-1/+2
|
* Fix or cast integer conversions in cmakeBrad King2010-06-251-1/+1
| | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* Try to remove some warnings.Bill Hoffman2010-05-121-1/+1
|
* Use explicit conversion to avoid warnings in cmELFBrad King2009-10-061-2/+2
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: Fix operator precedence error in cmELFBrad King2008-08-041-4/+4
| | | | | | When attempting to load the RPATH out of a non-ELF file cmELF would crash because the check for a valid file was done with in correct operator precedence. See bug#7392.
* BUG: When byte order is not known at compile time make sure NeedSwap in ↵Brad King2008-05-131-0/+2
| | | | cmELF is still initialized.
* ENH: In cmELF it is okay if the byte order is not known at compile time.Brad King2008-05-131-0/+1
| | | | - We perform a runtime check of the input file anyway.
* COMP: Fix signed/unsigned comparison warning in cmELF.Brad King2008-04-151-1/+1
|
* ENH: Added cmELF methods to get information about DYNAMIC section entries.Brad King2008-04-141-0/+88
|
* COMP: Fix cmELF to build when ET_LOOS, ET_HIOS, ET_LOPROC, ET_HIPROC may not ↵Brad King2008-03-031-19/+39
| | | | be defined.
* BUG: Fix bug introduced by workaround to warning.Brad King2008-03-021-0/+1
|
* BUG: A few more corrections for cmELFBrad King2008-03-021-10/+71
| | | | | | - Add os-specific and processor-specific file types - Add more error strings for invalid files. - Byte order of header fields does not always match encoding
* ENH: Add Size member to cmELF::StringEntry to return the amount of space in ↵Brad King2008-03-011-7/+33
| | | | the string entry.
* ENH: Make cmELF parser more general and powerfulBrad King2008-02-291-28/+135
| | | | | | - Add support to get RPATH and RUNPATH entries. - Add support to get file offsets to strings. - Add more DT_* tags to byte swapping.
* COMP: cmELF needs to include sys/link.h to get dynamic section structures on ↵Brad King2008-02-281-0/+3
| | | | the Sun.
* COMP: Fix warnings in cmELF.Brad King2008-02-281-1/+4
|
* ENH: Add ELF file parsingBrad King2008-02-271-0/+612
- Enabled when system provides elf.h - Introduce cmELF class to parse ELF files - Use in cmSystemTools::GuessLibrarySOName to really get soname