diff options
| author | Mark Wielaard <[email protected]> | 2017-05-31 17:24:14 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-05-31 18:10:22 +0200 |
| commit | 13c3e00ba629586ae42c316ae4ed6c3f04282a82 (patch) | |
| tree | c71ef64f8ce1f72151044e69e7f01bb29d3ca235 /libebl | |
| parent | 8581fde6f7401a5db1e9a4757d748c5ad7bd2142 (diff) | |
| parent | 6358858c4d65e8fb12a112198ee1d4bcab0be876 (diff) | |
Merge tag 'elfutils-0.169' into mjw/RH-DTSdts-0.169
elfutils 0.169 release
Conflicts:
ChangeLog
tests/run-elflint-test.sh
tests/run-readelf-A.sh
Diffstat (limited to 'libebl')
| -rw-r--r-- | libebl/ChangeLog | 9 | ||||
| -rw-r--r-- | libebl/eblmachineflagname.c | 1 | ||||
| -rw-r--r-- | libebl/eblopenbackend.c | 1 | ||||
| -rw-r--r-- | libebl/libebl.h | 6 |
4 files changed, 14 insertions, 3 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog index 0560c6ac..506915ba 100644 --- a/libebl/ChangeLog +++ b/libebl/ChangeLog @@ -1,3 +1,12 @@ +2017-04-20 Ulf Hermann <[email protected]> + + * libebl.h: Use __pure_attribute__. + +2017-02-15 Ulf Hermann <[email protected]> + + * eblmachineflagname.c: Include system.h. + * eblopenbackend.c: Likewise. + 2016-07-08 Mark Wielaard <[email protected]> * Makefile.am (gen_SOURCES): Remove eblstrtab.c. diff --git a/libebl/eblmachineflagname.c b/libebl/eblmachineflagname.c index 6079a613..5f440776 100644 --- a/libebl/eblmachineflagname.c +++ b/libebl/eblmachineflagname.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <string.h> +#include <system.h> #include <libeblP.h> diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c index 4259dbe5..8630053e 100644 --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@ -39,6 +39,7 @@ #include <string.h> #include <stdio.h> +#include <system.h> #include <libeblP.h> const char *i386_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); diff --git a/libebl/libebl.h b/libebl/libebl.h index c8e01fe9..87896e4a 100644 --- a/libebl/libebl.h +++ b/libebl/libebl.h @@ -73,13 +73,13 @@ extern void ebl_closebackend (Ebl *bh); /* Information about the descriptor. */ /* Get ELF machine. */ -extern int ebl_get_elfmachine (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfmachine (Ebl *ebl) __pure_attribute__; /* Get ELF class. */ -extern int ebl_get_elfclass (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfclass (Ebl *ebl) __pure_attribute__; /* Get ELF data encoding. */ -extern int ebl_get_elfdata (Ebl *ebl) __attribute__ ((__pure__)); +extern int ebl_get_elfdata (Ebl *ebl) __pure_attribute__; /* Function to call the callback functions including default ELF |
