|
Re: SH initfini.awk problems ?: msg#00200lib.uclibc.general
On Thursday 31 October 2002 08:48, you wrote: > Hi Stefan, > > please make sure you avoid the following commands: > omitcrti+=1 > omitcrti-=1 > > Why ? Because you do not test for the proper value before changing it. > If you really want to stick to an addition/substraction, I would suggest > omitcrti=1-omitcrti. This will toggle the value each time. > > BTW, I cannot make anything of your patch. > Patch tells me this: "patch: **** Only garbage was found in the patch > input." > > Rgds, > Christian > Hi Christian, what I want is, to ensure that the omitcrti value is != 0 when I enter the GLB section (at /SH_GLB_BEGINS/) if we haven't found any _GLOBAL_TABLE_OFFSET_ keywords (glb_idx==0). Wenn I leave this section (at /SH_GLB_ENDS/) I have to restore omitcrti to its orginal value, which might be 0 or 1. So I think the addition/substraction is the right way. Remember, the GLB section will, be created by a single macro (==> initfini.c). So there can be only GLB-stuff between the SH_GLB_BEGINS and SH_GLB_ENDS keyword. Bye Stefan -- ---------------------------------- Stefan Allius senior software engineer ATecoM GmbH advanced telecommunication modules Kaiserstrasse 100 D-52134 Herzogenrath Germany Tel: +49/2407/9586-0 Fax: +49/2407/9586-44 eMail: allius@xxxxxxxxxx URL: http://www.atecom.com ----------------------------------
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | New app running : ntpdate version 4.1.0: 00200, Jean-marc Harang |
|---|---|
| Next by Date: | Re: [PATCH] Add more relocs to SH ldso: 00200, Stefan Allius |
| Previous by Thread: | Re: SH initfini.awk problems ?i: 00200, Christian MICHON |
| Next by Thread: | Re: SH initfini.awk problems ?: 00200, Christian MICHON |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |