aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-06-02 08:36:10 +0000
committerRichard Henderson <rth@redhat.com>2002-06-02 08:36:10 +0000
commit20e130e9c04ebc2370c28f721832c424b3117eda (patch)
treeb77eb2b287bb0f6f4e3d6da4d31d0e116d390c5c /gas
parent048d873d6955915e73916ff8b17d8ba291d0d288 (diff)
downloadgdb-20e130e9c04ebc2370c28f721832c424b3117eda.zip
gdb-20e130e9c04ebc2370c28f721832c424b3117eda.tar.gz
gdb-20e130e9c04ebc2370c28f721832c424b3117eda.tar.bz2
* config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
with LITERALs without sequence numbers.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-alpha.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 21206ca..ff8d3b9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-02 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
+ with LITERALs without sequence numbers.
+
2002-06-01 Richard Henderson <rth@redhat.com>
* config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index dec4db4..b96eb46 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -1775,8 +1775,9 @@ alpha_adjust_symtab_relocs (abfd, sec, ptr)
break;
case BFD_RELOC_ALPHA_ELF_LITERAL:
- if (fixp->tc_fix_data.info->saw_tlsgd
- || fixp->tc_fix_data.info->saw_tlsldm)
+ if (fixp->tc_fix_data.info
+ && (fixp->tc_fix_data.info->saw_tlsgd
+ || fixp->tc_fix_data.info->saw_tlsldm))
break;
/* FALLTHRU */
@@ -1832,7 +1833,8 @@ alpha_adjust_symtab_relocs (abfd, sec, ptr)
/* FALLTHRU */
case BFD_RELOC_ALPHA_ELF_LITERAL:
- if (fixp->tc_fix_data.info->n_master == 1
+ if (fixp->tc_fix_data.info
+ && fixp->tc_fix_data.info->n_master == 1
&& ! fixp->tc_fix_data.info->multi_section_p)
{
for (slave = fixp->tc_fix_data.info->slaves;