Commit 85333688 by Bob Wilson

xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.

	* config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.
	(TRAMPOLINE_SIZE): Round up to 60.
	* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Likewise.

From-SVN: r106336
parent f415efe3
2005-11-01 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.
(TRAMPOLINE_SIZE): Round up to 60.
* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Likewise.
2005-10-31 James E. Wilson <wilson@specifix.com> 2005-10-31 James E. Wilson <wilson@specifix.com>
PR debug/24444 PR debug/24444
...@@ -6405,7 +6411,7 @@ ...@@ -6405,7 +6411,7 @@
* gcc.c (main): Compare language[0] with '*' when iterating over * gcc.c (main): Compare language[0] with '*' when iterating over
the infiles. the infiles.
2005-07-13 Adrian Straetling <straetling@de.ibm.com> 2005-07-13 Adrian Strae½tling <straetling@de.ibm.com>
* config/s390/s390.c: (s390_cc_modes_compatible): Move before * config/s390/s390.c: (s390_cc_modes_compatible): Move before
"s390_emit_compare". Add handling of CCZ1mode. "s390_emit_compare". Add handling of CCZ1mode.
...@@ -6418,7 +6424,7 @@ ...@@ -6418,7 +6424,7 @@
Use CCZ1mode instead of CCZmode. Use CCZ1mode instead of CCZmode.
* config/s390/s390-modes.def: Add CCZ1mode. Comment new mode. * config/s390/s390-modes.def: Add CCZ1mode. Comment new mode.
2006-07-13 Adrian Straetling <straetling@de.ibm.com> 2006-07-13 Adrian Strae½tling <straetling@de.ibm.com>
* config/s390/s390.md: ("cmpstrsi", "*cmpstr<mode>"): New * config/s390/s390.md: ("cmpstrsi", "*cmpstr<mode>"): New
pattern. pattern.
......
...@@ -151,7 +151,7 @@ __xtensa_nonlocal_goto: ...@@ -151,7 +151,7 @@ __xtensa_nonlocal_goto:
make sure that the modified instructions are loaded into the instruction make sure that the modified instructions are loaded into the instruction
fetch buffer. */ fetch buffer. */
#define TRAMPOLINE_SIZE 59 #define TRAMPOLINE_SIZE 60
.text .text
.align 4 .align 4
......
...@@ -831,11 +831,13 @@ typedef struct xtensa_args ...@@ -831,11 +831,13 @@ typedef struct xtensa_args
/* jump to the instruction following the entry */ \ /* jump to the instruction following the entry */ \
fprintf (STREAM, "\taddi\ta8, a8, 3\n"); \ fprintf (STREAM, "\taddi\ta8, a8, 3\n"); \
fprintf (STREAM, "\tjx\ta8\n"); \ fprintf (STREAM, "\tjx\ta8\n"); \
fprintf (STREAM, "\t.byte\t0\n"); \
fprintf (STREAM, "\t.end no-transform\n"); \ fprintf (STREAM, "\t.end no-transform\n"); \
} while (0) } while (0)
/* Size in bytes of the trampoline, as an integer. */ /* Size in bytes of the trampoline, as an integer. Make sure this is
#define TRAMPOLINE_SIZE 59 a multiple of TRAMPOLINE_ALIGNMENT to avoid -Wpadded warnings. */
#define TRAMPOLINE_SIZE 60
/* Alignment required for trampolines, in bits. */ /* Alignment required for trampolines, in bits. */
#define TRAMPOLINE_ALIGNMENT (32) #define TRAMPOLINE_ALIGNMENT (32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment