Re: [PATCH] Fix for PR26702: Emit .size for BSS variables on arm-eabi

2015-04-30 Thread Kwok Cheung Yeung
Hello The target of the pr26702.c testcase was changed while committing from: { target arm*-*-eabi* } in my original patch to: { target arm_eabi } The check_effective_target_arm_eabi test (in gcc/testsuite/lib/target-supports.exp) checks for the presence of the __ARM_EABI__ preprocessor def

Re: [PATCH] Fix for PR26702: Emit .size for BSS variables on arm-eabi

2015-04-30 Thread Bin.Cheng
On Thu, Apr 23, 2015 at 10:51 PM, Ramana Radhakrishnan wrote: > On Mon, Mar 30, 2015 at 9:25 PM, Kwok Cheung Yeung > wrote: >> This is a simple patch that ensures that a .size directive is emitted when >> space is allocated for a static variable in the BSS on bare-metal ARM >> targets. This allo

Re: [PATCH] Fix for PR26702: Emit .size for BSS variables on arm-eabi

2015-04-23 Thread Ramana Radhakrishnan
On Mon, Mar 30, 2015 at 9:25 PM, Kwok Cheung Yeung wrote: > This is a simple patch that ensures that a .size directive is emitted when > space is allocated for a static variable in the BSS on bare-metal ARM > targets. This allows other tools such as GDB to look up the size of the > object correct

[PATCH] Fix for PR26702: Emit .size for BSS variables on arm-eabi

2015-03-30 Thread Kwok Cheung Yeung
This is a simple patch that ensures that a .size directive is emitted when space is allocated for a static variable in the BSS on bare-metal ARM targets. This allows other tools such as GDB to look up the size of the object correctly. Before: $ readelf -s pr26702.o Symbol table '.symtab' con