old-cross-binutils/gas/testsuite/gas
Dominik Vogt 8d3842cd15 gas: Fix left shift of negative value.
This patch fixes all occurences of left-shifting negative constants in C cod
which is undefined by the C standard.

gas/ChangeLog:

        * read.c (parse_bitfield_cons): Fix left shift of negative value.
        * config/tc-xstormy16.c (md_section_align): Likewise.
        * config/tc-xgate.c (md_section_align): Likewise.
        * config/tc-visium.c (md_section_align): Likewise.
        * config/tc-v850.c (md_section_align): Likewise.
        * config/tc-tic6x.c (md_section_align): Likewise.
        * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
        (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
        * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
        * config/tc-score.c (s3_section_align): Likewise.
        * config/tc-score7.c (s7_section_align): Likewise.
        * config/tc-s390.c (md_section_align): Likewise.
        * config/tc-rx.c (md_section_align): Likewise.
        * config/tc-rl78.c (md_section_align): Likewise.
        * config/tc-ppc.c (md_section_align): Likewise.
        * config/tc-or1k.c (md_section_align): Likewise.
        * config/tc-nds32.c (md_section_align): Likewise.
        * config/tc-mt.c (md_section_align): Likewise.
        * config/tc-msp430.c (md_section_align): Likewise.
        * config/tc-mn10300.c (md_section_align): Likewise.
        * config/tc-mn10200.c (md_section_align): Likewise.
        * config/tc-mips.c (md_section_align): Likewise.
        * config/tc-microblaze.c (parse_imm): Likewise.
        * config/tc-mep.c (md_section_align): Likewise.
        * config/tc-m68k.c (md_section_align): Likewise.
        * config/tc-m68hc11.c (md_section_align): Likewise.
        * config/tc-m32r.c (md_section_align): Likewise.
        * config/tc-m32c.c (md_section_align): Likewise.
        * config/tc-lm32.c (md_section_align): Likewise.
        * config/tc-iq2000.c (md_section_align): Likewise.
        * config/tc-ip2k.c (md_section_align): Likewise.
        * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
        * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
        * config/tc-i386.c (md_section_align): Likewise.
        * config/tc-i370.c (md_section_align): Likewise.
        * config/tc-frv.c (md_section_align): Likewise.
        * config/tc-fr30.c (md_section_align): Likewise.
        * config/tc-epiphany.c (md_section_align): Likewise.
        * config/tc-d30v.c (md_section_align): Likewise.
        * config/tc-d10v.c (md_section_align): Likewise.
        * config/tc-cr16.c (l_cons): Likewise.
        * config/tc-bfin.c (md_section_align): Likewise.
        * config/tc-arm.c (md_section_align): Likewise.
        * config/tc-arc.c (md_section_align): Likewise.
        * config/bfin-parse.y (expr_1): Likewise.

gas/testsuite/ChangeLog:

        * gas/all/test-gen.c (random_order_16s, random_order_24s)
        (random_order_32s): Fix left shift of negative value.
2015-11-09 17:12:57 +01:00
..
aarch64 [GAS][AARCH64]Add TLSDESC large memory model support. 2015-10-02 17:56:09 +01:00
all gas: Fix left shift of negative value. 2015-11-09 17:12:57 +01:00
alpha ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
arc New ARC implementation. 2015-10-07 14:20:19 +01:00
arm Add tests for 16-bit versions of ARM teq, tst, cmp and cmn instructions. 2015-10-28 15:30:05 +00:00
avr avr: Fix bugs in org/align tracking. 2015-10-12 09:43:11 +01:00
bfin ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cfi gas: allow labeling of CFI instructions 2015-01-12 15:24:20 +01:00
cr16 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cris ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
crx ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
d10v ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
d30v ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dlx ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf New ARC implementation. 2015-10-07 14:20:19 +01:00
epiphany ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
fr30 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
frv ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ft32 FT32 initial support 2015-01-28 16:25:18 +10:30
h8300 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
hppa ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386 Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
i860 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ia64 Allow symbol and label names to be enclosed in double quotes. 2015-08-21 16:42:14 +01:00
ieee-fp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
iq2000 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
lm32 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
lns Adds support to the RL78 port for linker relaxation affecting .debug sections. 2015-04-14 16:23:33 +01:00
m32r ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68hc11 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68k ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68k-coff ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mach-o ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
macros Fix the evaluation of RL78 complex relocs, by making immediate values be computed relative to a new absolute symbol. 2015-07-24 16:44:27 +01:00
mcore ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mep ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
metag ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
microblaze ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mips Move copy_u.w to MSA64 ASE, remove copy_u.d. 2015-11-09 08:49:10 +00:00
mmix Update .strtab section sizes in mmix tests 2015-06-25 10:07:53 -07:00
mn10200 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mn10300 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mri ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
msp430 Add support for MSP430 silicon errata to the assembler. 2015-10-22 16:25:46 +01:00
mt ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nds32 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2 Assembler tests for Nios II R2 2015-07-01 16:11:47 -07:00
or1k Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
pdp11 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pe ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pj ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ppc Revise new e500 invalid opcode test 2015-09-30 18:32:32 +09:30
rl78 Fix RL78 disassembly of DE+offset addressing to always show the offset, even when zero. 2015-10-27 15:24:40 +00:00
rx Disassemble RX NOP instructions as such. 2015-11-02 14:37:33 +00:00
s390 S/390: Fix instruction type of troo, trot, trto, and trtt. 2015-10-14 10:58:41 +02:00
score ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sh [SH] Fix clrs, sets, pref insn arch memberships. 2015-02-25 21:26:59 +01:00
sparc Support for the sparc %pmcdper privileged register. 2015-08-25 17:16:34 +02:00
sparc-solaris ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sun4 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
symver ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic4x ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic6x Don't hardcode offset of .shstrtab section 2015-04-20 09:55:47 -07:00
tic54x ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tilegx ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tilepro ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
v850 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vax ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
visium ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
xc16x ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
xgate ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
xstormy16 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
xtensa xtensa: add --auto-litpools option 2015-08-12 20:19:58 +03:00
z8k ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z80 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
template