aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-ieee.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-28 00:21:03 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-28 00:21:03 +0000
commitc1b625be7bf25b69a96a3771705aab84fc764773 (patch)
treeaf00c9e187f85a00b71c906f404c974bd7eb710f /gas/config/obj-ieee.c
parenteec0de3f43237b21c220b253740d8eec012f6217 (diff)
downloadgdb-c1b625be7bf25b69a96a3771705aab84fc764773.zip
gdb-c1b625be7bf25b69a96a3771705aab84fc764773.tar.gz
gdb-c1b625be7bf25b69a96a3771705aab84fc764773.tar.bz2
whitespace/comment changes
Diffstat (limited to 'gas/config/obj-ieee.c')
-rw-r--r--gas/config/obj-ieee.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/gas/config/obj-ieee.c b/gas/config/obj-ieee.c
index 7d70f48..a99ced2 100644
--- a/gas/config/obj-ieee.c
+++ b/gas/config/obj-ieee.c
@@ -194,24 +194,22 @@ DEFUN (do_relocs_for, (idx),
reloc_ptr_vector[i] = to;
to->howto = (reloc_howto_type *) (from->fx_r_type);
- /* We can't represent complicated things in a reloc yet */
- /* if (from->fx_addsy == 0 ||
- from->fx_subsy != 0) abort();
- */
+#if 0 /* We can't represent complicated things in a reloc yet */
+ if (from->fx_addsy == 0 || from->fx_subsy != 0) abort();
+#endif
+
s = &(from->fx_addsy->sy_symbol.sy);
to->address = ((char *) (from->fx_frag->fr_address +
from->fx_where))
- ((char *) (&(from->fx_frag->fr_literal)));
to->addend = from->fx_offset;
- /* If we know the symbol which we want to relocate to, turn this
- reloaction into a section relative.
-
- If this relocation is pcrelative, and we know the
- destination, we still want to keep the relocation - since
- the linker might relax some of the bytes, but it stops
- being pc relative and turns into an absolute relocation.
-
- */
+ /* If we know the symbol which we want to relocate to, turn
+ this reloaction into a section relative.
+
+ If this relocation is pcrelative, and we know the
+ destination, we still want to keep the relocation - since
+ the linker might relax some of the bytes, but it stops
+ being pc relative and turns into an absolute relocation. */
if (s)
{
if ((s->flags & BSF_UNDEFINED) == 0)