aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24Fix the generation of alignment frags in code sections for AArch64.users/linaro/binutils-2_25-branchNick Clifton4-3/+58
PR gas/20364 * config/tc-aarch64.c (s_ltorg): Change the mapping state after aligning the frag. (aarch64_init): Treat rs_align frags in code sections as containing code, not data. * testsuite/gas/aarch64/pr20364.s: New test. * testsuite/gas/aarch64/pr20364.d: New test driver. Cherry-pick of 7ea12e5c3ad54da440c08f32da09534e63e515ca Change-Id: I6bb37f33419cbf54e52c8d54ef0d1c18fdc85878
2017-08-24[AArch64] Fix mapping testcase extra symbol from paddingAdhemerval Zanella3-2/+4
After the backport of 799eafd ([AArch64] Don't tail-pads sections to the alignment), gas will not emit superflous padding and thus the extra '$x' special symbol is not emit anymore for mapping_{5,6} tests. This patch removes then on the expected output. * gas/testsuite/gas/aarch64/mapping_5.d: Remove extra symbol from superflous padding. * gas/testsuite/gas/aarch64/mapping_6.d: Likewise. Change-Id: Id189010b4e6c89025d805eb2a02fa52ae20141ac
2017-08-24[AArch64] Don't tail-pads sections to the alignmentJiong Wang5-0/+49
2015-03-13 Jiong Wang <jiong.wang@arm.com> gas/ * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero. gas/testsuite/ * gas/aarch64/tail_padding.s: New testcase. * gas/aarch64/tail_padding.d: New expectation file. Cherry-pick of bc9706f8235a917f0b534f3790e2ac9981d53e94 Change-Id: Ida2b7a3078716d5cae170b003b91a10b08d5a907
2017-08-24MIPS/GAS: Fix an ISA override not lifting ABI restrictionsMaciej W. Rozycki46-8/+778
Correct a regression introduced with commit 919731affbef ("Add MIPS .module directive") causing code like: .set mips3 dli $2, 0x9000000080000000 to fail assembly with the following error message produced: Error: number (0x9000000080000000) larger than 32 bits if built with `mips3' selected as the global ISA (e.g. `-march=mips3'). This is because a `.set' directive doing an ISA override does not lift the ABI restriction on register sizes if the ISA remains unchanged. Previously the directive always set register sizes from the ISA chosen, which is what some code expects. Restore the old semantics then. gas/ * config/tc-mips.c (code_option_type): New enum. (parse_code_option): Return status indicating option type. (s_mipsset): Update `parse_code_option' call site accordingly. Always set register sizes from the ISA with ISA overrides. (s_module): Update `parse_code_option' call site. * testsuite/gas/mips/isa-override-1.d: New test. * testsuite/gas/mips/micromips@isa-override-1.d: New test. * testsuite/gas/mips/mips1@isa-override-1.d: New test. * testsuite/gas/mips/mips2@isa-override-1.d: New test. * testsuite/gas/mips/mips32@isa-override-1.d: New test. * testsuite/gas/mips/mips32r2@isa-override-1.d: New test. * testsuite/gas/mips/mips32r3@isa-override-1.d: New test. * testsuite/gas/mips/mips32r5@isa-override-1.d: New test. * testsuite/gas/mips/mips32r6@isa-override-1.d: New test. * testsuite/gas/mips/mips64r2@isa-override-1.d: New test. * testsuite/gas/mips/mips64r3@isa-override-1.d: New test. * testsuite/gas/mips/mips64r5@isa-override-1.d: New test. * testsuite/gas/mips/mips64r6@isa-override-1.d: New test. * testsuite/gas/mips/r3000@isa-override-1.d: New test. * testsuite/gas/mips/r3900@isa-override-1.d: New test. * testsuite/gas/mips/r5900@isa-override-1.d: New test. * testsuite/gas/mips/octeon@isa-override-1.d: New test. * testsuite/gas/mips/octeon3@isa-override-1.d: New test. * testsuite/gas/mips/isa-override-2.l: New list test. * testsuite/gas/mips/mips1@isa-override-2.l: New list test. * testsuite/gas/mips/mips2@isa-override-2.l: New list test. * testsuite/gas/mips/mips32@isa-override-2.l: New list test. * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test. * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test. * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test. * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test. * testsuite/gas/mips/r3000@isa-override-2.l: New list test. * testsuite/gas/mips/r3900@isa-override-2.l: New list test. * testsuite/gas/mips/octeon3@isa-override-2.l: New list test. * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr output. * testsuite/gas/mips/isa-override-1.s: New test source. * testsuite/gas/mips/r5900@isa-override-1.s: New test source. * testsuite/gas/mips/isa-override-2.s: New test source. * testsuite/gas/mips/mips1@isa-override-2.s: New test source. * testsuite/gas/mips/mips2@isa-override-2.s: New test source. * testsuite/gas/mips/mips32@isa-override-2.s: New test source. * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source. * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source. * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source. * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source. * testsuite/gas/mips/r3000@isa-override-2.s: New test source. * testsuite/gas/mips/r3900@isa-override-2.s: New test source. * testsuite/gas/mips/octeon3@isa-override-2.s: New test source. * testsuite/gas/mips/mips.exp: Run the new tests. (cherry picked from commit 5475e3249a6ab15afa0fe00456ada988d940a302)
2017-08-24[Testsuite] treate -specs as both cflags & ldflagsJiong Wang2-1/+17
Backport from master 2014-11-11 Jiong Wang <jiong.wang@arm.com> ld/testsuite/ * lib/ld-lib.exp (run_ld_link_exec_tests): Append board_cflags if gcc driver used as link tool. (run_cc_link_exec_tests): Likewise.
2017-08-24[Testsuite] Fix running unique tests on ARMJiong Wang4-3/+13
Backport from master: 2014-10-30 Will Newton <will.newton@linaro.org> ld/testsuite/ChangeLog: * ld-unique/unique.exp: Use a wider glob for matching ARM targets. * ld-unique/unique.s: Use % instead of @ in .type directive. * ld-unique/unique_shared.s: Likewise.
2017-08-24PR gold/17473: Fix gold build with system C++ headers that use <ctype.h>.Roland McGrath2-1/+12
gold/ PR gold/17473 * binary.cc: Move #include "safe-ctype.h" to be last #include. (cherry picked from commit 95c29a83ebadd0038fd304539a83c5e90798c1b9)
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1
2017-08-24Automatic date update in version.inGDB Administrator1-1/+1