aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-25 01:59:43 +0000
committerAlan Modra <amodra@gmail.com>2001-05-25 01:59:43 +0000
commitce34c3732aa131c4796f9bfdd397e6a7bd5aa50b (patch)
tree26ed2e4ff7f7b25dd2c336c4772a5a040cf032ff /gas/expr.c
parentac55707e4a23c79aaea24d86c515af136af8092d (diff)
downloadgdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.zip
gdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.tar.gz
gdb-ce34c3732aa131c4796f9bfdd397e6a7bd5aa50b.tar.bz2
Revert last patch.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 7e6ad90..f79e31c 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1862,19 +1862,6 @@ expr (rankarg, resultP)
resultP->X_add_number += right.X_add_number;
else if (op_left == O_subtract)
resultP->X_add_number -= right.X_add_number;
- if (retval == rightseg
- && (op_left == O_subtract
- || op_left == O_eq
- || op_left == O_ne
- || op_left == O_lt
- || op_left == O_le
- || op_left == O_ge
- || op_left == O_gt))
- {
- /* For subtractive operations on symbols within a
- segment, the result will absolute. */
- retval = absolute_section;
- }
}
else
{