]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Print an error when unable to align a section
authorPalmer Dabbelt <palmer@dabbelt.com>
Fri, 16 Jun 2017 21:19:55 +0000 (14:19 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 7 Sep 2017 16:45:35 +0000 (09:45 -0700)
commit9eb7b0acb54e18e7cbca196a8bdb320844a858b3
tree53396822ffe02b99e6572c7b7eed89c4e92f21b0
parentb1308d2c3749cc454f00b70768ee33724d919527
RISC-V: Print an error when unable to align a section

This used to just print "can't relax section: Success", which is a silly
error message.

bfd/ChangeLog

2017-09-07  Palmer Dabbelt  <palmer@dabbelt.com>

        * elfnn-riscv.c (_bfd_riscv_relax_align): Call bfd_set_error and
        print an error message when unable to relax a .align directive.
bfd/ChangeLog
bfd/elfnn-riscv.c