Re: [PATCHv2][ARM] -mpure-code option for ARM

2016-10-04 Thread mickael guene
Hi Andre, I can't see new testsuite files in trunk : gcc.target/arm/pure-code/ffunction-sections.c gcc.target/arm/pure-code/no-literal-pool.c gcc.target/arm/pure-code/pure-code.exp It seems you forgot to include them in your patch. Can you post a new one with those files ? Regards Mickael

Re: [PATCH][ARM] -mpure-code option for ARM

2016-07-07 Thread mickael guene
Hi Andre, Another feedback on your purecode patch. You have to disable casesi pattern since then it will generate wrong code with -mpure-code option. Indeed it will generate an 'adr rx, .Lx' (aka 'subs rx, PC, #offset') which will not work in our case since 'Lx' label is put in an .rodata

Re: [PATCH][ARM] -mpure-code option for ARM

2016-07-07 Thread mickael guene
Hi Andre, I think you have a typo in your patch. I need to change : +text_section->unnamed.data = "\t.section .text,\"0x2006\",%%progbits"; into +text_section->unnamed.data = "\t.section .text,\"0x2006\",%progbits"; to make it works. Regards Mickael On 06/30/2016 04:32

Re: [PING] Add new mexecute-only arm option.

2016-02-03 Thread mickael guene
Hi Sandra, Thanks for your feedback. On 02/02/2016 08:57 PM, Sandra Loosemore wrote: > On 02/02/2016 02:06 AM, mickael guene wrote: >> Hi All, >> >>Ping for following thread : >> >> https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01968.html >> htt

[PING] Add new mexecute-only arm option.

2016-02-02 Thread mickael guene
Hi All, Ping for following thread : https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01968.html https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01969.html https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01970.html Thanks Mickael

[PATCH ARM 2/2] Add -mexecute-only option.

2016-01-26 Thread Mickael Guene
gcc/ChangeLog: * config/arm/arm-protos.h (arm_modes_tieable_p): New. * config/arm/arm.c (arm_function_section): New. (arm_section_type_flags): New. (TARGET_ASM_FUNCTION_SECTION): Define. (TARGET_SECTION_TYPE_FLAGS): Define. (arm_option_override):

[PATCH ARM 1/2] Add support for section attribute letter 'y' when available

2016-01-26 Thread Mickael Guene
gcc/ChangeLog: * configure.ac: Add detection of letter y support in assembler. * config.in: Regenerate. * configure: Regenerate. * output.h (SECTION_NOREAD): Add new bit flag. * varasm.c (default_elf_asm_named_section): Set y letter when we detect

[PATCH ARM 0/2] Add new mexecute-only arm option.

2016-01-26 Thread Mickael Guene
for aarch64-none-elf, aarch64-none-linux-gnu, aarch64_be-none-elf, arm-none-eabi, arm-none-linux-gnueabi, arm-none-linux-gnueabihf and armeb-none-linux-gnueabihf. Mickael Guene (2): Add support for section attribute letter 'y' when available Add -mexecute-only option. gcc/config.in

[PATCH] : Fix negative value in TEST_BIT from mem_overlaps_already_clobbered_arg_p()

2012-03-12 Thread mickael guene
. This patch will ensure that i+k is positive before calling TEST_BIT() macro. 2012-03-12 Mickael Guene mickael.gu...@st.com * calls.c (mem_overlaps_already_clobbered_arg_p): Don't call TEST_BIT for negative value. Regards Mickael --- a/gcc/calls.c 2012-03-12 10:44:27.0