Lines Matching refs:opts
456 set opts(addr2line) {}
457 set opts(as) {}
458 set opts(objdump) {}
459 set opts(nm) {}
460 set opts(objcopy) {}
461 set opts(readelf) {}
462 set opts(name) {}
463 set opts(PROG) {}
464 set opts(source) {}
465 set opts(dump) {}
466 set opts(stderr) {}
467 set opts(error) {}
468 set opts(error-output) {}
469 set opts(warning) {}
470 set opts(target) {}
471 set opts(not-target) {}
472 set opts(skip) {}
473 set opts(not-skip) {}
474 set opts(section-subst) {}
479 if ![info exists opts($opt_name)] {
484 if [string length $opts($opt_name)] {
492 set opts($opt_name) $opt_val
498 if ![info exists opts($opt_name)] {
505 if [string length $opts($opt_name)] {
506 append opts($opt_name) " "
508 append opts($opt_name) $opt_val
511 if { $opts(name) == "" } {
514 set testname $opts(name)
518 if { (($opts(warning) != "") && ($opts(error) != "")) \
519 || (($opts(warning) != "") && ($opts(stderr) != "")) \
520 || (($opts(error-output) != "") && ($opts(stderr) != "")) \
521 || (($opts(error-output) != "") && ($opts(error) != "")) \
522 || (($opts(error-output) != "") && ($opts(warning) != "")) } {
527 if { $opts(error-output) != "" } then {
528 set opts(stderr) $opts(error-output)
534 if { $opts(error) == "" && $opts(error-output) == "" } {
535 if {$opts(PROG) != ""} {
536 switch -- $opts(PROG) {
543 perror "unrecognized program option $opts(PROG) in $file.d"
550 if {$opts($p) != ""} {
561 if { $program == "" && $opts(warning) == "" } {
571 if { $opts(skip) != "" } then {
572 if { $opts(not-skip) != "" } then {
577 foreach glob $opts(skip) {
581 if { $opts(not-skip) != "" } then {
583 foreach glob $opts(not-skip) {
591 if { $opts(target) != "" } then {
592 if { $opts(not-target) != "" } then {
598 foreach glob $opts(target) {
609 if { $opts(not-target) != "" } then {
610 foreach glob $opts(not-target) {
618 if { [string match "*--compress-debug-sections*" $opts(as)] \
625 if { $opts(source) == "" } {
628 set sourcefile $srcdir/$subdir/$opts(source)
631 if { $opts(dump) == "" } {
634 set dumpfile $srcdir/$subdir/$opts(dump)
637 set cmd "$AS $ASFLAGS $opts(as) -o dump.o $sourcefile"
643 set expmsg $opts(error)
644 if { $opts(warning) != "" } {
645 set expmsg $opts(warning)
664 if { $opts(stderr) == "" } then {
666 && (($cmdret == 0) == ($opts(warning) != "")) } {
669 if { $opts(error) != "" || $program == "" } {
689 set stderrfile $srcdir/$subdir/$opts(stderr)
692 if { $opts(error) != "" } {
693 verbose -log "$exitstat with: <$comp_output>, expected: <$opts(error)>"
694 if [regexp $opts(error) $comp_output] {
702 } elseif { $opts(error-output) != "" } then {
708 if { $opts(error) != "" || $opts(error-output) != "" } {
716 set progopts1 $opts($program)
728 if { $sect_names != "" && $program == "objdump" && $opts(section-subst) == ""} {
803 proc objdump { opts } {
808 set status [gas_host_run "$OBJDUMP $opts" ""]
813 proc objdump_start_no_subdir { prog opts } {
818 verbose "Starting $OBJDUMP $opts $prog" 2
819 set status [gas_host_run "$OBJDUMP $opts $prog" ">&gas.out"]
882 # run_list_test NAME (optional): OPTS TESTNAME
884 # Assemble the file "NAME.s" with command line options OPTS and
889 proc run_list_test { name {opts {}} {testname {}} } {
895 gas_run ${name}.s $opts ">&dump.out"
904 # run_list_test_stdin NAME (optional): OPTS TESTNAME
908 proc run_list_test_stdin { name {opts {}} {testname {}} } {
914 gas_run_stdin ${name}.s $opts ">&dump.out"