This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: HP debugger/emulator and objcopy


Hello

Lucu Manai wrote:

> I'm trying to port gradually a design:
> - from an HP cross compiler/linker/debugger/emulator environment,
> - to an egcs cross compiler/linker - HP debugger/emulator environment.
> 
> I generate an IEEE file linking together some object files.
> 
>   - some of them are is produced with an HP m68k compiler
>     (one of them is 'foo');
> 
>   - only one is produced with egcs-1.1.2 ( m68k-coff-gcc )
>     and converted with m68k-coff-objcopy
>     (let's call it 'goofy');
> 
> The used linker is an HP cross linker and gave no errors.
> 
> When I tried to download the code with an HP B1473B 
> Debugger/Emulator I
> received the following error message:
> 
>   "ERROR (28D28) in module 'foo' code mismatch section definition: -9"
> 
> The object 'foo' is produced with the HP m68k compiler.
> 
> The Debugger/Emulator gives no error message, if I use the HP cross
> compiler to compile 'goofy'.
> 
> The error message is not documented and I'm getting confused.
> 
> Does anyone have suggestions?

As far as I remember it is very much the same problem we had. The problem
was that a wrong section definition was made for the *globals* section.

The attached patch solved the problem in our case. Excuse the extra
debugging code in the patch.

Regards

Hans Peter

ieee-patch.tgz

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]