diff options
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r-- | gdb/solib-frv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index ecc791a..4647b95 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -1109,6 +1109,10 @@ find_canonical_descriptor_in_load_object if (abfd == 0) return 0; + /* Nothing to do if no link map. */ + if (lm == 0) + return 0; + /* We want to scan the dynamic relocs for R_FRV_FUNCDESC relocations. (More about this later.) But in order to fetch the relocs, we need to first fetch the dynamic symbols. These symbols need to |