diff options
Diffstat (limited to 'backends/common-reloc.c')
| -rw-r--r-- | backends/common-reloc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/common-reloc.c b/backends/common-reloc.c index b3b75530..9b956557 100644 --- a/backends/common-reloc.c +++ b/backends/common-reloc.c @@ -1,5 +1,5 @@ /* Common code for ebl reloc functions. - Copyright (C) 2005 Red Hat, Inc. + Copyright (C) 2005, 2006 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -115,6 +115,12 @@ EBLHOOK(copy_reloc_p) (int reloc) return reloc == R_TYPE (COPY); } +bool +EBLHOOK(none_reloc_p) (int reloc) +{ + return reloc == R_TYPE (NONE); +} + static void EBLHOOK(init_reloc) (Ebl *ebl) { @@ -122,4 +128,5 @@ EBLHOOK(init_reloc) (Ebl *ebl) ebl->reloc_type_check = EBLHOOK(reloc_type_check); ebl->reloc_valid_use = EBLHOOK(reloc_valid_use); ebl->copy_reloc_p = EBLHOOK(copy_reloc_p); + ebl->none_reloc_p = EBLHOOK(none_reloc_p); } |
