This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem facing while upgrading from v2.13 to v2.16 of binutils


On Thu, Mar 16, 2006 at 09:00:15AM +0000, Nick Clifton wrote:
> Hi Inder,
> 
> >-------------------------------- TEST SOURCE (test.s)
> >        .section        .text.__GLOBAL__D__dummyconstructor,"ax",%progbits
> >        .align  2
> >       .ascii  "__GLOBAL__D__dummyconstructor\000"
> >       .align  2
> >       .word   -16777172
> >        .type  __GLOBAL__D__dummyconstructor, %function
> >__GLOBAL__D__dummyconstructor:
> >        mov r0, r0
> >        mov r0, r0
> >        mov r0, r0
> >        mov r0, r0
> 
> The problem, I suspect is that you are missing a ".global" directive in 
> the above assembler source.  so if you add:
> 
>           .global __GLOBAL__D__dummyconstructor
> 
> jut after the ".type" line, I think that you might see the disassembly 
> that you are expecting.

Shouldn't it show up in the obdump output even if it's a local symbol?

-- 
Daniel Jacobowitz
CodeSourcery


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