diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-06-02 22:48:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-06-02 22:48:59 +0000 |
commit | d032ad1910fc148a4e10c642f80fcadf8e213e2b (patch) | |
tree | a61474040a405e7c316c30c628b8b6d2e0f8bc9d /gas/dw2gencfi.c | |
parent | 72d0302f29347bf926c89066500e0687c6bac7bb (diff) | |
download | binutils-redhat-d032ad1910fc148a4e10c642f80fcadf8e213e2b.tar.gz |
* read.c (emit_expr): Set dot_value.
* dw2gencfi.c (output_fde): Remove pcrel reloc hack.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r-- | gas/dw2gencfi.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index ee67027ec5..a632cd1acc 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -666,17 +666,9 @@ output_fde (struct fde_entry *fde, struct cie_entry *cie, exp.X_op_symbol = cie->start_address; emit_expr (&exp, 4); /* CIE offset */ - /* ??? Unsure why this works and the following doesn't. - Symptom was incorrect addends to the relocation. */ -#if 1 - memset (frag_more (4), 0, 4); /* Code offset */ - fix_new (frag_now, frag_now_fix () - 4, 4, - fde->start_address, 0, 1, BFD_RELOC_32); -#else exp.X_add_symbol = fde->start_address; exp.X_op_symbol = symbol_temp_new_now (); - emit_expr (&exp, 4); -#endif + emit_expr (&exp, 4); /* Code offset */ exp.X_add_symbol = fde->end_address; exp.X_op_symbol = fde->start_address; /* Code length */ |