-# Copyright (C) 1996 Free Software Foundation, Inc.
+# Copyright (C) 1996-2015 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
# Please email any bugs, comments, and/or additions to this file to:
-# DejaGnu@cygnus.com
+# dejagnu@gnu.org
# Written by Cygnus Support.
set testname "reloc.s: Test for proper relocations (part 2)"
set x 0
- if [gas_test_old "reloc.s" "" "Test for proper relocation (part 1)"] then {
+ if [gas_test_old "reloc.s" "-mgcc-abi" "Test for proper relocation (part 1)"] then {
objdump_start_no_subdir "a.out" "-r"
while 1 {
expect {
- -re "^00000002\[^\n\]*R_V850_LO16\[^\n\]*\n"
+ -re "^00000002\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
- -re "^00000006\[^\n\]*R_V850_HI16_S\[^\n\]*\n"
+ -re "^00000006\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
- -re "^0000000a\[^\n\]*R_V850_HI16\[^\n\]*\n"
+ -re "^0000000a\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
- -re "^0000000e\[^\n\]*R_V850_ZDA_OFFSET\[^\n\]*\n"
+ -re "^0000000e\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
- -re "^00000012\[^\n\]*R_V850_TDA_OFFSET\[^\n\]*\n"
+ -re "^00000012\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
- -re "^00000016\[^\n\]*R_V850_SDA_OFFSET\[^\n\]*\n"
+ -re "^00000016\[^\n\]*R_V8\[A-Z0-9_\]+\[^\n\]*\n"
{ set x [expr $x+1] }
-re "\[^\n\]*\n" { }
timeout { perror "timeout\n"; break }
gas_test "hilo2.s" "" "" "hi/lo regression test"
gas_test "fepsw.s" "" "" "eqsw regression test"
+
+ gas_test_error "range.s" "-mwarn-signed-overflow" "Check for range error on byte load/store"
+ run_dump_test "v850e1"
+ run_dump_test "split-lo16"
}