Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2016-09-17 Thread Richard Biener
On September 17, 2016 11:48:37 AM GMT+02:00, Andreas Schwab wrote: > * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast. > * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise. OK. Richard. >diff --git a/gcc/config/i386/cygming.h

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2016-09-17 Thread Andreas Schwab
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast. * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise. diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index faf8fa4..60e11b4 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2016-09-16 Thread Richard Biener
On Fri, 16 Sep 2016, Andreas Schwab wrote: > * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter > OFFSET, not offset. > * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise. Oops. Ok (counts as obvious). Thanks, Richard. > diff --git

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2016-09-16 Thread Andreas Schwab
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Use parameter OFFSET, not offset. * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise. diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 228d6a2..faf8fa4 100644 --- a/gcc/config/i386/cygming.h

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2016-09-15 Thread Richard Biener
On Wed, Aug 19, 2015 at 4:25 PM, Richard Biener wrote: > > This is needed so that we can output references to $early-debug-symbol + > constant offset where $early-debug-symbol is the beginning of a > .debug_info section containing early debug info from the compile-stage. >

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2015-08-20 Thread Richard Biener
On Wed, 19 Aug 2015, Mike Stump wrote: On Aug 19, 2015, at 7:25 AM, Richard Biener rguent...@suse.de wrote: This is needed so that we can output references to $early-debug-symbol + constant offset where $early-debug-symbol is the beginning of a .debug_info section containing early

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2015-08-20 Thread Mike Stump
On Aug 20, 2015, at 12:29 AM, Richard Biener rguent...@suse.de wrote: where the references always use positive offset and are based on the next previous lable (so Ldebug_info_from_t1.c is not refering to an entity at Ldebug_info_from_t2.c or beyond). So that seems to follow the restrictions

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2015-08-20 Thread Richard Biener
On Thu, 20 Aug 2015, Mike Stump wrote: On Aug 20, 2015, at 12:29 AM, Richard Biener rguent...@suse.de wrote: where the references always use positive offset and are based on the next previous lable (so Ldebug_info_from_t1.c is not refering to an entity at Ldebug_info_from_t2.c or

[PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2015-08-19 Thread Richard Biener
This is needed so that we can output references to $early-debug-symbol + constant offset where $early-debug-symbol is the beginning of a .debug_info section containing early debug info from the compile-stage. Constant offsets are always fine for any object formats I know, I tested ia64-linux

Re: [PATCH][2/n] Change dw2_asm_output_offset to allow assembling extra offset

2015-08-19 Thread Mike Stump
On Aug 19, 2015, at 7:25 AM, Richard Biener rguent...@suse.de wrote: This is needed so that we can output references to $early-debug-symbol + constant offset where $early-debug-symbol is the beginning of a .debug_info section containing early debug info from the compile-stage. Constant