From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Daeyoung Kim Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] removing .sdata and .sbss Date: Wed, 06 Oct 1999 13:10:00 -0000 Message-id: <37FBACC4.D3B21FB4@cygnus.co.uk> References: <37FB9CAF.EAF7A026@cise.ufl.edu> X-SW-Source: 1999-10/msg00035.html Daeyoung Kim wrote: > > Hi, > > I need to remove .sdata and .sbss section from memory layout of eCos > application. > In stead I will put all variables in .data and .bss section. > > So, I tried to use -mno-sdata and -msdata=none while compiling eCos and > application, > but I failed. I am using powerpc-eabi-gcc. I would definitely have thought -msdata=none would work. Are you saying that it doesn't seem to make any difference, or does something also go wrong? Jifl -- Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762 "I used to have an open mind but || Get yer free open source RTOS's here... my brains kept falling out." || http://sourceware.cygnus.com/ecos Help fight spam! http://spam.abuse.net/ These opinions are all my own fault