OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4822a35
)
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
author
schwab
<schwab>
Tue, 14 Aug 2007 10:44:12 +0000
(10:44 +0000)
committer
schwab
<schwab>
Tue, 14 Aug 2007 10:44:12 +0000
(10:44 +0000)
unrepresentable.
gas/config/tc-ia64.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-ia64.c
b/gas/config/tc-ia64.c
index
b42c336
..
d6fcb2c
100644
(file)
--- a/
gas/config/tc-ia64.c
+++ b/
gas/config/tc-ia64.c
@@
-11678,6
+11678,8
@@
tc_gen_reloc (sec, fixp)
as_bad_where (fixp->fx_file, fixp->fx_line,
"Cannot represent %s relocation in object file",
bfd_get_reloc_code_name (fixp->fx_r_type));
+ free (reloc);
+ return NULL;
}
return reloc;
}