diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e1bd6ae..5197abf 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2015-08-19 Alan Modra <amodra@gmail.com> + + * bfdlink.h (bfd_link_pde): Define. + 2015-08-18 H.J. Lu <hongjiu.lu@intel.com> * include/bfdlink.h (output_type): New enum. diff --git a/include/bfdlink.h b/include/bfdlink.h index 797a465..62309a5 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -274,6 +274,8 @@ enum output_type #define bfd_link_pic(info) (info)->pic #define bfd_link_pie(info) (bfd_link_executable (info) \ && bfd_link_pic (info)) +#define bfd_link_pde(info) (bfd_link_executable (info) \ + && !bfd_link_pic (info)) /* This structure holds all the information needed to communicate between BFD and the linker when doing a link. */ |