Label to FEC Binding

I ve a doubt regarding who will do the Label to FEC bindnig.. Is it done by LDP or by FEC...

I m in an assumption that LDP (or any signalling prtocol in that matter) will only distribute the labels for the prefixes in the routing table to its neighbor and Global MPLS process does the Label to FEC binding.. But i ve read in some documents the Binding for Labels to FEC is done by LDP..

There is no relation between LDP and FEC as to how the binding occurs.

FEC as you might be knowing stands for Forwarding Equivalence Class which is nothing but a "group" of packets to be handled in a similar way, in most MPLS networks this is packets assigned to a particular destination or Destination based forwarding.

Once the routes are learnt by the routing table via an IGP, LDP will assign labels and create a binding between routes and label i.e. a label table showing which label is assigned to which route.