diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-21 03:30:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-21 03:30:01 +0000 |
commit | 8a2e1fdd3c7ab5a441bd5c97b247cb4bf64e3417 (patch) | |
tree | 5f9512c3206d4f7bf7ac5e81d0dbdf2171241147 /gas/config | |
parent | fe6fc35fdb89b493421742b290e86142b910ee85 (diff) | |
download | gdb-8a2e1fdd3c7ab5a441bd5c97b247cb4bf64e3417.zip gdb-8a2e1fdd3c7ab5a441bd5c97b247cb4bf64e3417.tar.gz gdb-8a2e1fdd3c7ab5a441bd5c97b247cb4bf64e3417.tar.bz2 |
* config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
in bss_section.
PR 9044.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-sh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 34e7548..fd242e9 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -1429,7 +1429,8 @@ sh_handle_align (frag) if (sh_relax && frag->fr_type == rs_align && frag->fr_address + frag->fr_fix > 0 - && frag->fr_offset > 1) + && frag->fr_offset > 1 + && now_seg != bss_section) fix_new (frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset, 0, R_SH_ALIGN); } |