Re: Proper Place for builtin_define(__ELF__)

2021-07-23 Thread Jeff Law via Gcc
On 7/22/2021 8:12 AM, Joel Sherrill wrote: On Wed, Jul 21, 2021 at 10:08 PM Jeff Law wrote: On 7/21/2021 6:31 PM, Michael Eager wrote: On 7/21/21 5:22 PM, Joel Sherrill wrote: On Wed, Jul 21, 2021, 7:12 PM Michael Eager mailto:ea...@eagercon.com>> wrote: On 7/21/21 2:28 PM, Joel

Re: Proper Place for builtin_define(__ELF__)

2021-07-22 Thread David Edelsohn via Gcc
On Wed, Jul 21, 2021 at 11:09 PM Jeff Law via Gcc wrote: > > > > On 7/21/2021 6:31 PM, Michael Eager wrote: > > > > > > On 7/21/21 5:22 PM, Joel Sherrill wrote: > >> > >> > >> On Wed, Jul 21, 2021, 7:12 PM Michael Eager >> > wrote: > >> > >> On 7/21/21 2:28 PM, Joel

Re: Proper Place for builtin_define(__ELF__)

2021-07-22 Thread Joel Sherrill
On Wed, Jul 21, 2021 at 10:08 PM Jeff Law wrote: > > > > On 7/21/2021 6:31 PM, Michael Eager wrote: > > > > > > On 7/21/21 5:22 PM, Joel Sherrill wrote: > >> > >> > >> On Wed, Jul 21, 2021, 7:12 PM Michael Eager >> > wrote: > >> > >> On 7/21/21 2:28 PM, Joel Sherril

Re: Proper Place for builtin_define(__ELF__)

2021-07-21 Thread Jeff Law via Gcc
On 7/21/2021 6:31 PM, Michael Eager wrote: On 7/21/21 5:22 PM, Joel Sherrill wrote: On Wed, Jul 21, 2021, 7:12 PM Michael Eager > wrote:     On 7/21/21 2:28 PM, Joel Sherrill wrote: > Hi > > We are in the process of porting RTEMS to the Microbla

Re: Proper Place for builtin_define(__ELF__)

2021-07-21 Thread Michael Eager
On 7/21/21 5:22 PM, Joel Sherrill wrote: On Wed, Jul 21, 2021, 7:12 PM Michael Eager > wrote: On 7/21/21 2:28 PM, Joel Sherrill wrote: > Hi > > We are in the process of porting RTEMS to the Microblaze and gcc does > not have __ELF__ as a p

Re: Proper Place for builtin_define(__ELF__)

2021-07-21 Thread Joel Sherrill
On Wed, Jul 21, 2021, 7:12 PM Michael Eager wrote: > On 7/21/21 2:28 PM, Joel Sherrill wrote: > > Hi > > > > We are in the process of porting RTEMS to the Microblaze and gcc does > > not have __ELF__ as a predefine. In looking around at where to add it, > > it looks like there are multiple ways t

Re: Proper Place for builtin_define(__ELF__)

2021-07-21 Thread Michael Eager
On 7/21/21 2:28 PM, Joel Sherrill wrote: Hi We are in the process of porting RTEMS to the Microblaze and gcc does not have __ELF__ as a predefine. In looking around at where to add it, it looks like there are multiple ways to do it. We see variations on the following patterns: + dbxelf.h + OS s

Proper Place for builtin_define(__ELF__)

2021-07-21 Thread Joel Sherrill
Hi We are in the process of porting RTEMS to the Microblaze and gcc does not have __ELF__ as a predefine. In looking around at where to add it, it looks like there are multiple ways to do it. We see variations on the following patterns: + dbxelf.h + OS specific header in config/ + Arch/OS specifi