diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-02 15:30:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-02 15:30:09 +0000 |
commit | 10a14e3639d6b655afd296809ec4102e1ba26b7f (patch) | |
tree | 4f99701c893f1ab9b1c2086153898b9f74b7bffe /gas/config | |
parent | 470a679caf7ebfc56a4aefb0fe2ea76bc4401a86 (diff) | |
download | gdb-10a14e3639d6b655afd296809ec4102e1ba26b7f.zip gdb-10a14e3639d6b655afd296809ec4102e1ba26b7f.tar.gz gdb-10a14e3639d6b655afd296809ec4102e1ba26b7f.tar.bz2 |
* config/tc-mips.c (md_section_align): Don't change addr if
OBJ_ELF.
PR 10181.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 1f7e256..f9b6045 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -7393,9 +7393,13 @@ md_section_align (seg, addr) asection *seg; valueT addr; { +#ifndef OBJ_ELF int align = bfd_get_section_alignment (stdoutput, seg); return ((addr + (1 << align) - 1) & (-1 << align)); +#else + return addr; +#endif } /* Utility routine, called from above as well. If called while the |