summaryrefslogtreecommitdiff
path: root/tests/update3.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch from numerical to defined constants for permissions.Érico Rolim2020-11-031-1/+2
| | | | | | | | | | | Use defined constants for permission values. Also add fallback definitions for them in system.h, to allow for compatibility with systems that don't provide these macros. Include system.h in all tests/ files that required it. Signed-off-by: Érico Rolim <erico.erc@gmail.com> Signed-off-by: Mark Wielaard <mark@klomp.org>
* dwelf: Add string table functions from ebl.Mark Wielaard2016-08-031-9/+9
| | | | | | | | | | | | | | | | Move the strtab functions from libebl to libdw. Programs often want to create ELF/DWARF string tables. We don't want (static) linking against ebl since those are internal functions that might change. This introduces dwelf_strtab_init, dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize, dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free. Documentation for each has been added to libdwelf.h. The add fucntion got a variant that takes the length explicitly and finalize was changed to return NULL on out of memory instead of aborting. All code and tests now uses the new functions. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* tests: All update tests should use unique temporary file names and cleanup.Mark Wielaard2013-04-281-1/+4
| | | | | | | | All update tests used the same temporary file name xxx. And only update4 would clean up this file. Now that tests can run in parallel make sure all temporary names are unique and every test cleans up their own files. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Update name, license and contributor policy.Mark Wielaard2012-06-051-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <rfontana@redhat.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
* Fix FSF address. No exception for libdwarf.Ulrich Drepper2006-04-041-1/+1
|
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2006-04-041-9/+21
| | | | | | 4f8fc821345feef58624f0aa5b470d4827577d8c) to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
* 2005-11-16 Roland McGrath <roland@redhat.com>Roland McGrath2005-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Define HAVE_LIBASM and STANDALONE conditionals. In config.h, define ELFUTILS_HEADER macro. tests/ 2005-11-16 Roland McGrath <roland@redhat.com> * configure.ac: New file, for standalone build/dist of test suite. * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. (asm_TESTS): New variable, broken out of ... (TESTS): ... here. Also remove msg_tst. [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. (installed_TESTS_ENVIRONMENT): New variable. [STANDALONE] (TESTS_ENVIRONMENT): Use that. [!STANDALONE] (installcheck-local): Likewise. [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. * addrscopes.c: Include <config.h>. Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. * allfcts.c: Likewise. * asm-tst1.c: Likewise. * asm-tst2.c: Likewise. * asm-tst3.c: Likewise. * asm-tst4.c: Likewise. * asm-tst5.c: Likewise. * asm-tst6.c: Likewise. * asm-tst7.c: Likewise. * asm-tst8.c: Likewise. * asm-tst9.c: Likewise. * dwflmodtest.c: Likewise. * find-prologues.c: Likewise. * funcscopes.c: Likewise. * get-aranges.c: Likewise. * get-files.c: Likewise. * get-lines.c: Likewise. * get-pubnames.c: Likewise. * line2addr.c: Likewise. * newscn.c: Likewise. * show-abbrev.c: Likewise. * show-die-info.c: Likewise. * update3.c: Likewise. * update4.c: Likewise. * dwflmodtest.c (print_instance): Don't use INTUSE. (options): Don't use N_ macro.
* Adjust for monotone.Ulrich Drepper2005-07-261-0/+198