Mercurial > hg > CbC > CbC_gcc
comparison gcc/acinclude.m4 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 dnl Copyright (C) 2005-2018 Free Software Foundation, Inc. | 1 dnl Copyright (C) 2005-2020 Free Software Foundation, Inc. |
2 dnl | 2 dnl |
3 dnl This file is part of GCC. | 3 dnl This file is part of GCC. |
4 dnl | 4 dnl |
5 dnl GCC is free software; you can redistribute it and/or modify | 5 dnl GCC is free software; you can redistribute it and/or modify |
6 dnl it under the terms of the GNU General Public License as published by | 6 dnl it under the terms of the GNU General Public License as published by |
372 # .init_array/.fini_array, while gld merges them into | 372 # .init_array/.fini_array, while gld merges them into |
373 # .init_array/.fini_array. | 373 # .init_array/.fini_array. |
374 cat > conftest.s <<EOF | 374 cat > conftest.s <<EOF |
375 .section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type | 375 .section $sh_quote.fini_array.65530$sh_quote,$sh_flags,$sh_type |
376 .align 4 | 376 .align 4 |
377 .byte 'C', 'C', 'C', 'C' | 377 .byte 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C' |
378 .section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type | 378 .section $sh_quote.init_array.65530$sh_quote,$sh_flags,$sh_type |
379 .align 4 | 379 .align 4 |
380 .byte 'D', 'D', 'D', 'D' | 380 .byte 'D', 'D', 'D', 'D', 'D', 'D', 'D', 'D' |
381 .section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type | 381 .section $sh_quote.fini_array.01005$sh_quote,$sh_flags,$sh_type |
382 .align 4 | 382 .align 4 |
383 .byte 'G', 'G', 'G', 'G' | 383 .byte 'G', 'G', 'G', 'G', 'G', 'G', 'G', 'G' |
384 .section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type | 384 .section $sh_quote.init_array.01005$sh_quote,$sh_flags,$sh_type |
385 .align 4 | 385 .align 4 |
386 .byte 'H', 'H', 'H', 'H' | 386 .byte 'H', 'H', 'H', 'H', 'H', 'H', 'H', 'H' |
387 .text | 387 .text |
388 .globl _start | 388 .globl _start |
389 _start: | 389 _start: |
390 EOF | 390 EOF |
391 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ | 391 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1 \ |
392 && $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \ | 392 && $gcc_cv_ld -o conftest conftest.o > /dev/null 2>&1 \ |
393 && $gcc_cv_objdump -s -j .init_array conftest \ | 393 && $gcc_cv_objdump -s -j .init_array conftest \ |
394 | grep HHHHDDDD > /dev/null 2>&1 \ | 394 | grep HHHHHHHHDDDDDDDD > /dev/null 2>&1 \ |
395 && $gcc_cv_objdump -s -j .fini_array conftest \ | 395 && $gcc_cv_objdump -s -j .fini_array conftest \ |
396 | grep GGGGCCCC > /dev/null 2>&1; then | 396 | grep GGGGGGGGCCCCCCCC > /dev/null 2>&1; then |
397 gcc_cv_initfini_array=yes | 397 gcc_cv_initfini_array=yes |
398 fi | 398 fi |
399 ;; | 399 ;; |
400 esac | 400 esac |
401 changequote(,)dnl | 401 changequote(,)dnl |